Browse Source

拆标签修改纳入便次的取值

intex
叶佳兴 5 days ago
parent
commit
21759e73bb
  1. 16
      win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/packagesplitmain/PackagesplitMainController.java

16
win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/packagesplitmain/PackagesplitMainController.java

@ -216,19 +216,19 @@ public class PackagesplitMainController {
packageoverDetailPageReqVO.setProductionLine(productionLine); packageoverDetailPageReqVO.setProductionLine(productionLine);
} }
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd"); DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd");
// if (packageDO.getDeliveryDate() != null && StringUtils.isEmpty(requestNumber)) {
// purchasePrintVO.setStoolTime(packageDO.getDeliveryDate().format(formatter) + "-" + packageDO.getStoolTime());
// }
if (packageDO.getDeliveryDate() != null) { if (packageDO.getDeliveryDate() != null) {
packageoverDetailPageReqVO.setDeliveryDateView(packageDO.getDeliveryDate().format(formatter)); packageoverDetailPageReqVO.setDeliveryDateView(packageDO.getDeliveryDate().format(formatter));
} }
if (packageDO.getStoolTime() != null) { if (packageoverDetailPageReqVO.getStoolTime() != null) {
if(packageDO.getStoolTime().length() == 1){ if (packageDO.getStoolTime() != null) {
packageoverDetailPageReqVO.setStoolTime("- "+"0"+packageDO.getStoolTime()); if(packageDO.getStoolTime().length() == 1){
}else { packageoverDetailPageReqVO.setStoolTime("- "+"0"+packageDO.getStoolTime());
packageoverDetailPageReqVO.setStoolTime("- "+packageDO.getStoolTime()); }else {
packageoverDetailPageReqVO.setStoolTime("- "+packageDO.getStoolTime());
}
} }
} }
packageoverDetailPageReqVO.setRelateNumber(packageDO.getNumber().substring(packageDO.getNumber().length() - 5));
packageoverDetailPageReqVOList.add(packageoverDetailPageReqVO); packageoverDetailPageReqVOList.add(packageoverDetailPageReqVO);
} }
return success(packageoverDetailPageReqVOList); return success(packageoverDetailPageReqVOList);

Loading…
Cancel
Save