无用代码优化
This commit is contained in:
parent
b2fa4dedc2
commit
b7f298d834
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue