|
@@ -136,9 +136,6 @@ public class FusionNumServiceImpl extends ServiceImpl<IFusionNumMapper, FusionNu
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public FusionNumVo add(FusionParam param, ScenePlus scenePlus, Integer isObj ) {
|
|
public FusionNumVo add(FusionParam param, ScenePlus scenePlus, Integer isObj ) {
|
|
|
- if(isObj == 0 && !NumTypeUtils.isLaserBySceneSource(scenePlus.getSceneSource())){
|
|
|
|
|
- throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
|
|
- }
|
|
|
|
|
Integer type = NumTypeUtils.getMeshTypeBySceneSource(scenePlus.getSceneSource(), isObj, null);
|
|
Integer type = NumTypeUtils.getMeshTypeBySceneSource(scenePlus.getSceneSource(), isObj, null);
|
|
|
Model model = modelService.getIsNullNewByNum(scenePlus.getNum(),type, isObj);
|
|
Model model = modelService.getIsNullNewByNum(scenePlus.getNum(),type, isObj);
|
|
|
if(model == null){
|
|
if(model == null){
|