|
@@ -65,6 +65,8 @@ public class AmstruckInwardRequirementServiceImpl extends BaseServiceImpl<Amstru
|
|
|
String requirementWorkEnvironment = (String) mapValue.get("requirementWorkEnvironment");
|
|
|
String requirementEstimatedDuration = (String) mapValue.get("requirementEstimatedDuration");
|
|
|
String requirementOverlimit = (String) mapValue.get("requirementOverlimit");
|
|
|
+ //提取车型
|
|
|
+ BigDecimal capacityTypeId=DataChange.dataToBigDecimal(mapValue.get("capacityTypeId"));
|
|
|
String InsertUpdateRemark = (String) mapValue.get("remark");
|
|
|
Long dueTime =(Long) mapValue.get("DueTime");
|
|
|
AmstruckInwardRequirement amstruckInwardRequirement = new AmstruckInwardRequirement();
|
|
@@ -73,6 +75,8 @@ public class AmstruckInwardRequirementServiceImpl extends BaseServiceImpl<Amstru
|
|
|
amstruckInwardRequirement.setRequirementId(requirementId);
|
|
|
amstruckInwardRequirement.setRequirementNumber(DataChange.generateEightDigitsNumber("YSXQ",amstruckInwardRequirementMapper.selectOtherId().intValue()));
|
|
|
amstruckInwardRequirement.setRequirementStatus(new BigDecimal(0));
|
|
|
+ //新增车型
|
|
|
+ amstruckInwardRequirement.setCapacityTypeId(capacityTypeId);
|
|
|
if(purchaseOrderId != null){
|
|
|
amstruckInwardRequirement.setPurchaseOrderId(new BigDecimal(purchaseOrderId));
|
|
|
}
|