Compare commits

...

2 Commits

1 changed files with 11 additions and 11 deletions

View File

@ -93,15 +93,15 @@ public class OmsPurchaseOrderServiceImpl implements IOmsPurchaseOrderService, To
@Value("${sip.nex.owner-name:徐心钰}") @Value("${sip.nex.owner-name:徐心钰}")
private String nexOwnerName; private String nexOwnerName;
// 12,汇智虚拟仓 // // 12,汇智虚拟仓
@Value("${sip.nex.warehouse-id:12}") // @Value("${sip.nex.warehouse-id:12}")
private Long nexWarehouseId; // private Long nexWarehouseId;
//
@Value("${sip.nex.pay-method:1}") // @Value("${sip.nex.pay-method:1}")
private String nexPayMethod; // private String nexPayMethod;
//
@Value("${sip.nex.total-amount:1000}") // @Value("${sip.nex.total-amount:1000}")
private String nexTotalAmount; // private String nexTotalAmount;
/** /**
* *
* *
@ -669,8 +669,8 @@ public class OmsPurchaseOrderServiceImpl implements IOmsPurchaseOrderService, To
omsPurchaseOrder.setPurchaserMobile(user.getPhonenumber()); omsPurchaseOrder.setPurchaserMobile(user.getPhonenumber());
omsPurchaseOrder.setPurchaserEmail(user.getEmail()); omsPurchaseOrder.setPurchaserEmail(user.getEmail());
// 入库仓id // 入库仓id
omsPurchaseOrder.setWarehouseId(nexWarehouseId); omsPurchaseOrder.setWarehouseId(Long.valueOf(vendorInfo.getWarehouseId()));
omsPurchaseOrder.setPayMethod(nexPayMethod); omsPurchaseOrder.setPayMethod(String.valueOf(vendorInfo.getPayType()));
omsPurchaseOrder.setOwnerId(nexOwnerId); omsPurchaseOrder.setOwnerId(nexOwnerId);
omsPurchaseOrder.setOwnerName(nexOwnerName); omsPurchaseOrder.setOwnerName(nexOwnerName);
// omsPurchaseOrder.setTotalAmount(new BigDecimal(nexTotalAmount)); // omsPurchaseOrder.setTotalAmount(new BigDecimal(nexTotalAmount));