|
|
@@ -129,7 +129,8 @@ public class TmColdStorageServiceImpl extends ServiceImpl<ITmColdStorageMapper,
|
|
|
for (String num :param.getNumList()) {
|
|
|
List<TmColdStorage> tmColdStorages = this.getByNum(num);
|
|
|
if(!tmColdStorages.isEmpty()){
|
|
|
- throw new BusinessException(ResultCode.SCENE_COLD_STORAGE);
|
|
|
+ //throw new BusinessException(ResultCode.SCENE_COLD_STORAGE);
|
|
|
+ continue;
|
|
|
}
|
|
|
ScenePlus scenePlus = scenePlusService.getByNum(num);
|
|
|
ScenePro scenePro = sceneProService.getByNum(num);
|
|
|
@@ -263,4 +264,11 @@ public class TmColdStorageServiceImpl extends ServiceImpl<ITmColdStorageMapper,
|
|
|
}
|
|
|
return map;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void delByNum(String num) {
|
|
|
+ LambdaQueryWrapper<TmColdStorage> wrapper = new LambdaQueryWrapper<>();
|
|
|
+ wrapper.eq(TmColdStorage::getSceneNum,num);
|
|
|
+ this.remove(wrapper);
|
|
|
+ }
|
|
|
}
|