|
@ -202,11 +202,17 @@ public class YCLCKTask extends AbstractTask { |
|
|
one.setMove_way(one.getMove_way() == null ? "" : (one.getMove_way() + " -> ") + endPointObj.getPoint_code()); |
|
|
one.setMove_way(one.getMove_way() == null ? "" : (one.getMove_way() + " -> ") + endPointObj.getPoint_code()); |
|
|
one.setGroup_bind_material_status(GroupBindMaterialStatusEnum.BOUND.getValue()); |
|
|
one.setGroup_bind_material_status(GroupBindMaterialStatusEnum.BOUND.getValue()); |
|
|
one.setInstorage_time(DateUtil.now()); |
|
|
one.setInstorage_time(DateUtil.now()); |
|
|
|
|
|
if(ObjectUtil.isEmpty(extGroupData.getString("time"))){ |
|
|
|
|
|
one.setStanding_time(1); |
|
|
|
|
|
}else{ |
|
|
one.setStanding_time(Integer.valueOf(extGroupData.getString("time"))); |
|
|
one.setStanding_time(Integer.valueOf(extGroupData.getString("time"))); |
|
|
|
|
|
} |
|
|
one.setUpdate_id(GeneralDefinition.ACS_ID); |
|
|
one.setUpdate_id(GeneralDefinition.ACS_ID); |
|
|
one.setUpdate_name(GeneralDefinition.ACS_NAME); |
|
|
one.setUpdate_name(GeneralDefinition.ACS_NAME); |
|
|
one.setUpdate_time(DateUtil.now()); |
|
|
one.setUpdate_time(DateUtil.now()); |
|
|
|
|
|
if(ObjectUtil.isNotEmpty(extGroupData.getString("batch"))){ |
|
|
one.setPcsn(extGroupData.getString("batch")); |
|
|
one.setPcsn(extGroupData.getString("batch")); |
|
|
|
|
|
} |
|
|
vehiclematerialgroupService.updateById(one); |
|
|
vehiclematerialgroupService.updateById(one); |
|
|
} |
|
|
} |
|
|
// 终点解锁
|
|
|
// 终点解锁
|
|
@ -215,8 +221,14 @@ public class YCLCKTask extends AbstractTask { |
|
|
endPointObj.setVehicle_code2(taskObj.getVehicle_code2()); |
|
|
endPointObj.setVehicle_code2(taskObj.getVehicle_code2()); |
|
|
endPointObj.setVehicle_qty(1); |
|
|
endPointObj.setVehicle_qty(1); |
|
|
endPointObj.setUpdate_time(DateUtil.now()); |
|
|
endPointObj.setUpdate_time(DateUtil.now()); |
|
|
|
|
|
if(ObjectUtil.isEmpty(extGroupData.getString("time"))){ |
|
|
|
|
|
endPointObj.setStanding_time(1); |
|
|
|
|
|
}else{ |
|
|
endPointObj.setStanding_time(Integer.valueOf(extGroupData.getString("time"))); |
|
|
endPointObj.setStanding_time(Integer.valueOf(extGroupData.getString("time"))); |
|
|
|
|
|
} |
|
|
|
|
|
if(ObjectUtil.isNotEmpty(extGroupData.getString("batch"))){ |
|
|
endPointObj.setPcsn(extGroupData.getString("batch")); |
|
|
endPointObj.setPcsn(extGroupData.getString("batch")); |
|
|
|
|
|
} |
|
|
endPointObj.setInstorage_time(DateUtil.now()); |
|
|
endPointObj.setInstorage_time(DateUtil.now()); |
|
|
pointService.update(endPointObj); |
|
|
pointService.update(endPointObj); |
|
|
// 起点清空
|
|
|
// 起点清空
|
|
@ -292,7 +304,9 @@ public class YCLCKTask extends AbstractTask { |
|
|
materialDataDto.setSupplierName(material.getSupplierName()); |
|
|
materialDataDto.setSupplierName(material.getSupplierName()); |
|
|
materialDataDto.setProductName(material.getProductName()); |
|
|
materialDataDto.setProductName(material.getProductName()); |
|
|
materialDataDto.setSpecification(material.getSpecification()); |
|
|
materialDataDto.setSpecification(material.getSpecification()); |
|
|
|
|
|
if(ObjectUtil.isNotEmpty(extGroupData.getString("batch"))){ |
|
|
materialDataDto.setPickingBatch(extGroupData.getString("batch")); |
|
|
materialDataDto.setPickingBatch(extGroupData.getString("batch")); |
|
|
|
|
|
} |
|
|
materialDataDto.setLength(BigDecimal.valueOf(length)); |
|
|
materialDataDto.setLength(BigDecimal.valueOf(length)); |
|
|
materialDataDto.setWeight(BigDecimal.valueOf(weight)); |
|
|
materialDataDto.setWeight(BigDecimal.valueOf(weight)); |
|
|
materialDataDto.setCreateTime(new DateTime().toTimestamp()); |
|
|
materialDataDto.setCreateTime(new DateTime().toTimestamp()); |
|
|