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