|
@@ -83,26 +83,32 @@ public class DeputyOrderServiceImpl implements DeputyOrderService {
|
|
|
info.setProdspec(row.getCell(2).getStringCellValue().trim());
|
|
info.setProdspec(row.getCell(2).getStringCellValue().trim());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 数量
|
|
|
|
|
|
|
+ // 品牌
|
|
|
if (row.getCell(3) != null) {
|
|
if (row.getCell(3) != null) {
|
|
|
row.getCell(3).setCellType(Cell.CELL_TYPE_STRING);
|
|
row.getCell(3).setCellType(Cell.CELL_TYPE_STRING);
|
|
|
- info.setAmount(Integer.valueOf(row.getCell(3).getStringCellValue()));
|
|
|
|
|
|
|
+ info.setProdbrand(row.getCell(3).getStringCellValue());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 单价
|
|
|
|
|
|
|
+ // 数量
|
|
|
if (row.getCell(4) != null) {
|
|
if (row.getCell(4) != null) {
|
|
|
row.getCell(4).setCellType(Cell.CELL_TYPE_STRING);
|
|
row.getCell(4).setCellType(Cell.CELL_TYPE_STRING);
|
|
|
- info.setUnitprice(Double.valueOf(row.getCell(4).getStringCellValue()));
|
|
|
|
|
|
|
+ info.setAmount(Integer.valueOf(row.getCell(4).getStringCellValue()));
|
|
|
}
|
|
}
|
|
|
- // 总价
|
|
|
|
|
|
|
+
|
|
|
|
|
+ // 单价
|
|
|
if (row.getCell(5) != null) {
|
|
if (row.getCell(5) != null) {
|
|
|
row.getCell(5).setCellType(Cell.CELL_TYPE_STRING);
|
|
row.getCell(5).setCellType(Cell.CELL_TYPE_STRING);
|
|
|
- info.setTotalprice(Double.valueOf(row.getCell(5).getStringCellValue()));
|
|
|
|
|
|
|
+ info.setUnitprice(Double.valueOf(row.getCell(5).getStringCellValue()));
|
|
|
}
|
|
}
|
|
|
- // 备注
|
|
|
|
|
|
|
+ // 总价
|
|
|
if (row.getCell(6) != null) {
|
|
if (row.getCell(6) != null) {
|
|
|
row.getCell(6).setCellType(Cell.CELL_TYPE_STRING);
|
|
row.getCell(6).setCellType(Cell.CELL_TYPE_STRING);
|
|
|
- info.setRemark(row.getCell(6).getStringCellValue().trim());
|
|
|
|
|
|
|
+ info.setTotalprice(Double.valueOf(row.getCell(6).getStringCellValue()));
|
|
|
|
|
+ }
|
|
|
|
|
+ // 备注
|
|
|
|
|
+ if (row.getCell(7) != null) {
|
|
|
|
|
+ row.getCell(7).setCellType(Cell.CELL_TYPE_STRING);
|
|
|
|
|
+ info.setRemark(row.getCell(7).getStringCellValue().trim());
|
|
|
}
|
|
}
|
|
|
if (alters.size() > 0) {
|
|
if (alters.size() > 0) {
|
|
|
modelMap.put("alters", alters);
|
|
modelMap.put("alters", alters);
|
|
@@ -164,6 +170,8 @@ public class DeputyOrderServiceImpl implements DeputyOrderService {
|
|
|
order.setRiskmethod(deorder.getRiskmethod());
|
|
order.setRiskmethod(deorder.getRiskmethod());
|
|
|
order.setShipdate(deorder.getShipdate());
|
|
order.setShipdate(deorder.getShipdate());
|
|
|
order.setDownloadstatus("未下载");
|
|
order.setDownloadstatus("未下载");
|
|
|
|
|
+ order.setSalecode(deorder.getSalecode());
|
|
|
|
|
+ order.setSalepocode(deorder.getSalepocode());
|
|
|
if (deorder.getStatus().equals("在录入")) {
|
|
if (deorder.getStatus().equals("在录入")) {
|
|
|
order.setStatus(Status.UNAUDIT.getPhrase());
|
|
order.setStatus(Status.UNAUDIT.getPhrase());
|
|
|
order.setStatuscode(Status.UNAUDIT.value());
|
|
order.setStatuscode(Status.UNAUDIT.value());
|