| | |
| | | import com.iailab.framework.common.pojo.CommonResult; |
| | | import com.iailab.framework.common.pojo.PageResult; |
| | | import com.iailab.framework.common.util.object.BeanUtils; |
| | | import com.iailab.module.model.api.mcs.dto.StScheduleModelOutDTO; |
| | | import com.iailab.module.model.mcs.sche.entity.StScheduleModelEntity; |
| | | import com.iailab.module.model.mcs.sche.entity.StScheduleModelOutEntity; |
| | | import com.iailab.module.model.mcs.sche.entity.StScheduleModelParamEntity; |
| | | import com.iailab.module.model.mcs.sche.entity.StScheduleModelSettingEntity; |
| | | import com.iailab.module.model.mcs.sche.service.StScheduleModelOutService; |
| | | import com.iailab.module.model.mcs.sche.service.StScheduleModelParamService; |
| | | import com.iailab.module.model.mcs.sche.service.StScheduleModelService; |
| | | import com.iailab.module.model.mcs.sche.service.StScheduleModelSettingService; |
| | |
| | | |
| | | @Autowired |
| | | private StScheduleModelSettingService stScheduleModelSettingService; |
| | | @Autowired |
| | | private StScheduleModelOutService stScheduleModelOutService; |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获得分页") |
| | |
| | | result.setParamList(BeanUtils.toBean(paramList, StScheduleModelParamRespVO.class)); |
| | | List<StScheduleModelSettingEntity> settingList = stScheduleModelSettingService.getByModelId(data.getId()); |
| | | result.setSettingList(BeanUtils.toBean(settingList, StScheduleModelSettingRespVO.class)); |
| | | List<StScheduleModelOutDTO> outList = stScheduleModelOutService.list(data.getId()); |
| | | result.setModelOut(outList); |
| | | return success(result); |
| | | } |
| | | |