mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-15 06:02:06 +08:00
贴皮优化数据源校验修复
This commit is contained in:
+2
-1
@@ -107,7 +107,8 @@ public class VeneerOptimizePlanServiceImpl implements VeneerOptimizePlanService
|
||||
// 首次优化加载全部正常贴皮;再次优化只加载新增未优化贴皮,并合并多加工组重复记录。
|
||||
List<VeneerOptimizePlateRespVO> plates = mergePlateDetails(
|
||||
veneerOptimizePlanMapper.selectPlateList(planId, optimized));
|
||||
if (CollUtil.isEmpty(plates) && CollUtil.isEmpty(pendingDeleteVeneerNos)) {
|
||||
// 首次优化必须存在源贴皮;再次进入时允许既无新增也无待删除,表示排版无需变更。
|
||||
if (!optimized && CollUtil.isEmpty(plates)) {
|
||||
throw new ServiceException(VENEER_OPTIMIZE_PLATE_EMPTY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user