|
@@ -21,12 +21,14 @@ import com.fdkankan.fusion.exception.BusinessException;
|
|
|
import com.fdkankan.fusion.mapper.IModelMapper;
|
|
|
import com.fdkankan.fusion.request.ModelPram;
|
|
|
import com.fdkankan.fusion.request.ScenePram;
|
|
|
+import com.fdkankan.fusion.response.SceneVo;
|
|
|
import com.fdkankan.fusion.service.ICaseNumService;
|
|
|
import com.fdkankan.fusion.service.IFusionNumService;
|
|
|
import com.fdkankan.fusion.service.IModelService;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import jdk.nashorn.tools.Shell;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
+import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -207,4 +209,12 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
|
}
|
|
|
return model;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Object getInfo(Integer modelId) {
|
|
|
+ Model model = this.getById(modelId);
|
|
|
+ SceneVo sceneVo = new SceneVo();
|
|
|
+ BeanUtils.copyProperties(model,sceneVo);
|
|
|
+ return sceneVo;
|
|
|
+ }
|
|
|
}
|