diff --git a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/app/service/impl/BackReceiveServiceImpl.java b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/app/service/impl/BackReceiveServiceImpl.java index 8eff3a2..619cdcc 100644 --- a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/app/service/impl/BackReceiveServiceImpl.java +++ b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/app/service/impl/BackReceiveServiceImpl.java @@ -223,14 +223,14 @@ public class BackReceiveServiceImpl implements BackReceiveService { throw new RuntimeException("input_apply_details"); } // 如果是成套的机具,成套机具的库存也要添加 - List ctList = backReceiveMapper.getCtList(record); - if (ctList.size() > 0) { - for (BackApplyInfo backApplyInfo : ctList) { - if ("2".equals(backApplyInfo.getManageType())) { - backReceiveMapper.updateMt(backApplyInfo); - } - } - } +// List ctList = backReceiveMapper.getCtList(record); +// if (ctList.size() > 0) { +// for (BackApplyInfo backApplyInfo : ctList) { +// if ("2".equals(backApplyInfo.getManageType())) { +// backReceiveMapper.updateMt(backApplyInfo); +// } +// } +// } res = updateMt(hgList); if (res == 0) { throw new RuntimeException("ma_type");