|
@@ -12,6 +12,7 @@ import com.fdkankan.fusion.request.ModelPram;
|
|
|
import com.fdkankan.fusion.request.ScenePram;
|
|
|
import com.fdkankan.fusion.service.ICaseFusionService;
|
|
|
import com.fdkankan.fusion.service.ICaseNumService;
|
|
|
+import com.fdkankan.fusion.service.IFusionMeterService;
|
|
|
import com.fdkankan.fusion.service.IModelService;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -33,6 +34,8 @@ public class ModelController {
|
|
|
|
|
|
@Autowired
|
|
|
IModelService modelService;
|
|
|
+ @Autowired
|
|
|
+ IFusionMeterService fusionMeterService;
|
|
|
|
|
|
|
|
|
@PostMapping("/uploadObj")
|
|
@@ -59,6 +62,7 @@ public class ModelController {
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
modelService.delete(param.getModelId());
|
|
|
+ fusionMeterService.deleteByModelId(param.getModelId());
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
|