| | |
| | | @Autowired |
| | | private SimulatAssessService simulatAssessService; |
| | | |
| | | |
| | | /* @GetMapping("page") |
| | | @ApiOperation("分页") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = Constant.Q.PAGE, value = Constant.QV.PAGE, required = true, dataType = Constant.QT.INT), |
| | | @ApiImplicitParam(name = Constant.Q.LIMIT, value = Constant.QV.LIMIT, required = true, dataType = Constant.QT.INT), |
| | | @ApiImplicitParam(name = Constant.Q.ORDER_FIELD, value = Constant.QV.ORDER_FIELD, dataType = Constant.QT.STRING), |
| | | @ApiImplicitParam(name = Constant.Q.ORDER, value = Constant.QV.ORDER, dataType = Constant.QT.STRING), |
| | | }) |
| | | public PageResult<SimulatAssess> page(@ApiIgnore @QueryParam QueryFilter queryFilter) { |
| | | |
| | | return PageResult.ok(simulatAssessService.page(queryFilter)); |
| | | }*/ |
| | | |
| | | @GetMapping("{id}") |
| | | @ApiOperation("信息") |
| | | public Result<SimulatAssess> get(@PathVariable("id") Long id) { |
| | |
| | | } |
| | | |
| | | @GetMapping("getStatus") |
| | | public Result<String> getTimeDiagram(Long productId, Long taskId, Long fzId) { |
| | | String data = simulatAssessService.getTimeDiagram(productId, taskId, fzId); |
| | | public Result<TimeDiagramDto> getTimeDiagram(Long productId, Long taskId, Long fzId, double smallWidth,double minPointNum) { |
| | | TimeDiagramDto data = simulatAssessService.getTimeDiagram(productId, taskId, fzId, smallWidth,minPointNum); |
| | | return Result.ok(data); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @GetMapping("SchemeCompar") |
| | | public Result<SchemeComparDto> SchemeCompar(@RequestParam("taskList[]") String[] taskList) { |
| | | SchemeComparDto data = simulatAssessService.SchemeCompar(taskList); |
| | | public Result<SchemeComparDto> SchemeCompar(@RequestParam("taskList[]") String[] taskList,Long showProductId) { |
| | | SchemeComparDto data = simulatAssessService.SchemeCompar(taskList,showProductId); |
| | | return Result.ok(data); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @PutMapping |
| | | @ApiOperation("修改") |
| | | @LogOperation("修改") |