diff --git a/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustmentIdentificationMaterialServiceImpl.java b/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustmentIdentificationMaterialServiceImpl.java index 85b20d8..84378e2 100644 --- a/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustmentIdentificationMaterialServiceImpl.java +++ b/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustmentIdentificationMaterialServiceImpl.java @@ -540,7 +540,7 @@ public class EntrustmentIdentificationMaterialServiceImpl extends ServiceImpl updateWrapper = new UpdateWrapper(); - updateWrapper.eq("id", im.getId()); // 查询条件是 id 相等 + updateWrapper.eq("entrustment_id", im.getEntrustmentId()); // 查询条件是 id 相等 updateWrapper.set("check_passed", im.getCheckPassed()); updateWrapper.set("check_time", im.getCheckTime());