Browse Source

opt: 新增筛选条件;

test-20240527
龚宝雄 7 months ago
parent
commit
8a80ac147b
  1. 2
      nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBillDetail.java
  2. 2
      nlsso-server/src/main/java/org/nl/wms/database/eas/service/impl/EasOutInBillServiceImpl.java

2
nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBillDetail.java

@ -259,7 +259,7 @@ public class EasOutInBillDetail extends Model<EasOutInBillDetail> {
/** /**
* 单据来源 * 单据来源 1EAS 2SRM
*/ */
private String djly; private String djly;

2
nlsso-server/src/main/java/org/nl/wms/database/eas/service/impl/EasOutInBillServiceImpl.java

@ -213,12 +213,12 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas
bill.setSl(bill.getSl().abs()); bill.setSl(bill.getSl().abs());
} }
bill.setSysl(bill.getSl()); bill.setSysl(bill.getSl());
bill.setCjsj(LocalDateTime.parse(bill.getCjsj(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")).toLocalDate().toString());
if (bill.getDjly() == null) { if (bill.getDjly() == null) {
bill.setDjly("1"); bill.setDjly("1");
} else { } else {
//srm的未入库改为提交 //srm的未入库改为提交
bill.setDjzt("提交"); bill.setDjzt("提交");
bill.setCjsj(LocalDateTime.parse(bill.getCjsj(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")).toLocalDate().toString());
bill.setYwrq(LocalDateTime.parse(bill.getYwrq(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")).toLocalDate().toString()); bill.setYwrq(LocalDateTime.parse(bill.getYwrq(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")).toLocalDate().toString());
} }
}) })

Loading…
Cancel
Save