fix(触发全检/抽检):回滚代码

This commit is contained in:
leiqiaozhen 2024-12-13 09:54:58 +08:00
parent fe17f3ee6d
commit ac148f7230
2 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ public class QmsInspecJobServiceImpl extends ServiceImpl<QmsInspecJobMapper, Qms
} }
if (CollectionUtils.isNotEmpty(lotStateList)) { if (CollectionUtils.isNotEmpty(lotStateList)) {
// 调用批量保存生产批现况接口,更新 LOT_STATE 表质检状态 INSPECTION_LEVEL 为空; // 调用批量保存生产批现况接口,更新 LOT_STATE 表质检状态 INSPECTION_LEVEL 为空;
remoteWipService.remoteSaveOrUpdateBatchLotState(lotStateList); remoteWipService.remoteSaveOrUpdateBatchLotState(lotStateList, SecurityConstants.FROM_IN);
} }
} }
// 更新仓库相关表 // 更新仓库相关表

View File

@ -281,7 +281,7 @@ public class QmsProcessInspectionServiceImpl extends ServiceImpl<QmsProcessInspe
// } // }
} }
if (CollectionUtils.isNotEmpty(lotStateList)) { if (CollectionUtils.isNotEmpty(lotStateList)) {
remoteWipService.remoteSaveOrUpdateBatchLotState(lotStateList); remoteWipService.remoteSaveOrUpdateBatchLotState(lotStateList, SecurityConstants.FROM_IN);
} }
if (CollectionUtils.isNotEmpty(lotLogList)) { if (CollectionUtils.isNotEmpty(lotLogList)) {
remoteWipService.remoteSaveOrUpdateBatchLotLog(lotLogList, SecurityConstants.FROM_IN); remoteWipService.remoteSaveOrUpdateBatchLotLog(lotLogList, SecurityConstants.FROM_IN);