no message

main
huojin\hj 2025-08-01 15:33:33 +08:00
parent 43c444c1f5
commit ce55905eec
3 changed files with 6 additions and 6 deletions

View File

@ -145,7 +145,7 @@ public class ImportAsnServiceImpl implements ImportAsnService {
String po = data.getPoNo();//订单号
String itemCode = data.getPartNo();//品番
String remark = data.getDescription();//描述
Double orderQty = data.getQty();//数量
String orderQty = data.getQty();//数量
String code = data.getCNo();//托盘号
//品番
@ -154,7 +154,7 @@ public class ImportAsnServiceImpl implements ImportAsnService {
Asn asn;
if (asnMap.containsKey(code)) {
asn = asnMap.get(code);
asn.setOrderQuantity(asn.getOrderQuantity() + orderQty);
asn.setOrderQuantity(asn.getOrderQuantity() +Double.parseDouble(orderQty));
} else {
asn = Asn.builder()
.relatedBill1(relatedBill1)
@ -162,7 +162,7 @@ public class ImportAsnServiceImpl implements ImportAsnService {
.area(area)
.status(BizStatus.OPEN)
.orderDate(new Timestamp(new Date().getTime()))
.orderQuantity(orderQty)
.orderQuantity(Double.parseDouble(orderQty))
.billType(billType)
.receivedQuantity(0d)
.putawayQuantity(0d)
@ -176,7 +176,7 @@ public class ImportAsnServiceImpl implements ImportAsnService {
.po(po)
.item(item)
.remark(remark)
.orderQty(orderQty)
.orderQty(Double.parseDouble(orderQty))
.asn(asn)
.status(BizStatus.OPEN)
.receivedQty(0d)

View File

@ -32,7 +32,7 @@ public class BaseImport {
private String description;
@ExcelProperty("Q'TY \n" +"(PCS)")
private Double qty;
private String qty;
@ExcelProperty("C/NO.")
private String cNo;

View File

@ -34,7 +34,7 @@ public class invoicePackingImport {
private String description;
@ExcelProperty("Q'TY")
private Double qty;
private String qty;
@ExcelProperty("A-PROS\n" + "CASE NO")
private String cNo;