Commit 2b902308 by zhu.zewen

修复更新关联数据状态为“已销毁”

parent 0d3ad02a
......@@ -215,8 +215,10 @@ public class PhysicDestroyCheckServiceImpl extends BaseServiceImpl<PhysicDestroy
// 2.3)更新关联数据状态为“已销毁”
LocalDateTime checkCreateTime = physicDestroyCheck.getCreateTime();
Long checkDeptId = physicDestroyCheck.getApplyDeptId();
for (PhysicDestroyCheckDetail detail : list) {
LambdaUpdateWrapper<PhysicStorageAmpoule> updateWrapper = Wrappers.lambdaUpdate(PhysicStorageAmpoule.class)
.eq(PhysicStorageAmpoule::getAcceptDeptId, checkDeptId)
.eq(PhysicStorageAmpoule::getPhysicName, detail.getPhysicName())
.eq(PhysicStorageAmpoule::getPhysicSpec, detail.getPhysicSpec())
.eq(PhysicStorageAmpoule::getFactoryName, detail.getFactoryName())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment