无用代码优化

This commit is contained in:
liang.chao 2024-10-14 13:56:52 +08:00
parent b2fa4dedc2
commit b7f298d834
1 changed files with 8 additions and 8 deletions

View File

@ -223,14 +223,14 @@ public class BackReceiveServiceImpl implements BackReceiveService {
throw new RuntimeException("input_apply_details");
}
// 如果是成套的机具成套机具的库存也要添加
List<BackApplyInfo> ctList = backReceiveMapper.getCtList(record);
if (ctList.size() > 0) {
for (BackApplyInfo backApplyInfo : ctList) {
if ("2".equals(backApplyInfo.getManageType())) {
backReceiveMapper.updateMt(backApplyInfo);
}
}
}
// List<BackApplyInfo> 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");