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);
}
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd");
// if (packageDO.getDeliveryDate() != null && StringUtils.isEmpty(requestNumber)) {
// purchasePrintVO.setStoolTime(packageDO.getDeliveryDate().format(formatter) + "-" + packageDO.getStoolTime());
// }
if (packageDO.getDeliveryDate() != null) {
packageoverDetailPageReqVO.setDeliveryDateView(packageDO.getDeliveryDate().format(formatter));
}
if (packageDO.getStoolTime() != null) {
if(packageDO.getStoolTime().length() == 1){
packageoverDetailPageReqVO.setStoolTime("- "+"0"+packageDO.getStoolTime());
}else {
packageoverDetailPageReqVO.setStoolTime("- "+packageDO.getStoolTime());
if (packageoverDetailPageReqVO.getStoolTime() != null) {
if (packageDO.getStoolTime() != null) {
if(packageDO.getStoolTime().length() == 1){
packageoverDetailPageReqVO.setStoolTime("- "+"0"+packageDO.getStoolTime());
}else {
packageoverDetailPageReqVO.setStoolTime("- "+packageDO.getStoolTime());
}
}
}
packageoverDetailPageReqVO.setRelateNumber(packageDO.getNumber().substring(packageDO.getNumber().length() - 5));
packageoverDetailPageReqVOList.add(packageoverDetailPageReqVO);
}
return success(packageoverDetailPageReqVOList);

Loading…
Cancel
Save