From 338f2f5afc7762dabf2409f296d5d023462ed4b5 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 28 八月 2025 17:18:25 +0800 Subject: [PATCH] 部分新功能 --- multi-system/src/main/java/com/gkhy/exam/system/service/impl/WarehousingRecordServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/WarehousingRecordServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/WarehousingRecordServiceImpl.java index 609f1fb..89f254b 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/WarehousingRecordServiceImpl.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/WarehousingRecordServiceImpl.java @@ -82,7 +82,7 @@ item.setUpdateBy(SecurityUtils.getUsername()); warehousingRecordDetailsMapper.updateById(item); }); - if (delDetails != null){ + if (ObjectUtil.isNotEmpty(delDetails)){ warehousingRecordDetailsMapper.update(new WarehousingRecordDetails(), new LambdaUpdateWrapper<WarehousingRecordDetails>().in(WarehousingRecordDetails::getId, delDetails) .set(WarehousingRecordDetails::getDelFlag, UserConstant.DEPT_DISABLE) -- Gitblit v1.9.2