Browse Source

opt:修改正式环境相关

test-20240527
gongbx 7 months ago
parent
commit
df4f65afb1
  1. 4
      nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillDetailMapper.xml
  2. 2
      nlsso-server/src/main/java/org/nl/wms/database/eas/service/impl/EasOutInBillDetailServiceImpl.java

4
nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillDetailMapper.xml

@ -107,7 +107,7 @@
SELECT SELECT
djid, djid,
flxh as seq, flxh as seq,
flxh as entryId, flid as entryId,
czsl as qty, czsl as qty,
ckbm as warehouseNo, ckbm as warehouseNo,
kwbm as locationNo, kwbm as locationNo,
@ -128,7 +128,7 @@
update_name as nWhUser, update_name as nWhUser,
djly, djly,
flxh as seq, flxh as seq,
flxh as entryId, flid as entryId,
czsl as qty, czsl as qty,
ckbm as warehouseNo, ckbm as warehouseNo,
kwbm as locationNo, kwbm as locationNo,

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

@ -193,7 +193,7 @@ public class EasOutInBillDetailServiceImpl extends ServiceImpl<EasOutInBillDetai
if (CollectionUtils.isNotEmpty(entityList)) { if (CollectionUtils.isNotEmpty(entityList)) {
List<EasOutInBillDetailVO> entityLists = entityList.stream().filter(r -> StringUtils.isNotEmpty(r.getKwbm())).collect(Collectors.toList()); List<EasOutInBillDetailVO> entityLists = entityList.stream().filter(r -> StringUtils.isNotEmpty(r.getKwbm())).collect(Collectors.toList());
Set<String> ids = entityLists.stream().map(EasOutInBillDetailVO::getFlid).collect(Collectors.toSet()); Set<String> ids = entityLists.stream().map(EasOutInBillDetailVO::getFlid).collect(Collectors.toSet());
ieasOutInBillService.audit(ids,false); //ieasOutInBillService.audit(ids,false);
if (ids.size() == entityList.size() && ids.size() > 1) { if (ids.size() == entityList.size() && ids.size() > 1) {
entityList.forEach(r -> { entityList.forEach(r -> {
UpdateWrapper<EasOutInBillDetail> updateWrapper = new UpdateWrapper<>(); UpdateWrapper<EasOutInBillDetail> updateWrapper = new UpdateWrapper<>();

Loading…
Cancel
Save