feat: 维保发货
parent
ad7aa82afc
commit
5e157cec17
|
|
@ -1545,7 +1545,8 @@ public class InventoryDeliveryServiceImpl implements IInventoryDeliveryService,
|
|||
|
||||
private Date updateStartTimeAndAddList(DeliveryInfoVo deliveryInfoVo, ProjectProductInfo productInfo, Date startTime, List<DeliveryInfoVo.ServiceInfo> serviceInfoList) {
|
||||
int year = productInfo.getValue() == null ? 0 : Integer.parseInt(productInfo.getValue());
|
||||
// year = Math.toIntExact(year * (productInfo.getQuantity() == null ? 1 : productInfo.getQuantity()));
|
||||
//维保年限*购买数量 才是正确的维保
|
||||
year = Math.toIntExact(year * (productInfo.getQuantity() == null ? 1 : productInfo.getQuantity()));
|
||||
DeliveryInfoVo.ServiceInfo serviceInfo = deliveryInfoVo.new ServiceInfo();
|
||||
serviceInfo.setServiceLevel(productInfo.getProductBomCode());
|
||||
serviceInfo.setServiceDescribe(productInfo.getProductDesc());
|
||||
|
|
|
|||
Loading…
Reference in New Issue