| | |
| | | |
| | | @GetMapping("getRZStep") |
| | | @ApiOperation(value = "实验数据",notes = "step参数 1 2 对应实验步骤1、2 ") |
| | | public Response<PageInfo<ExperimentWindingStep1>> getExperimentWindingStep1(@RequestParam int rzLink,@RequestParam int step,@RequestParam int pageNum, @RequestParam int pageSize){ |
| | | public Response<PageInfo<ExperimentWindingStep1>> getExperimentWindingStep1(@ApiParam(value = "试验编号",required = true)@RequestParam String experimentId , |
| | | @ApiParam(value = "各相绕组连接情况: 0 引出; 1 内部连接",required = true)@RequestParam int rzLink, |
| | | @ApiParam(value = "实验步骤: 1 实验步骤1; 2 实验步骤2",required = true)@RequestParam int step, |
| | | @RequestParam int pageNum, @RequestParam int pageSize){ |
| | | |
| | | return service.getExperimentWindingStep1(rzLink,step,pageNum,pageSize); |
| | | return service.getExperimentWindingStep1(experimentId,rzLink,step,pageNum,pageSize); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | @DeleteMapping("delRZExperiment") |
| | | @ApiOperation(value = "删除绕组实验数据",notes = "根据唯一试验编号删除试验数据") |
| | | public Response delExperimentWindingbyId(@ApiParam(value = "试验编号",required = true) @RequestParam String experimentId){ |
| | | public Response delExperimentWindingbyId(@ApiParam(value = "试验编号",required = true) @RequestParam String experimentId,@ApiParam(value = "唯一标识",required = true) @RequestParam String uuid){ |
| | | |
| | | return service.delExperimentWindingbyId(experimentId); |
| | | return service.delExperimentWindingbyId(experimentId,uuid); |
| | | } |
| | | |
| | | @PostMapping("updateRZStep") |
| | |
| | | } |
| | | |
| | | |
| | | @PostMapping("updateFlag") |
| | | @PostMapping("finishRZExperiment") |
| | | @ApiOperation(value = "完成试验") |
| | | public Response updateFlag(@ApiParam(value = "试验编号", required = true) @RequestParam String id) { |
| | | |