| | |
| | | import org.springblade.core.tool.utils.StringUtil; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * @ClassName TbAttResRsbSpillwayController |
| | |
| | | @ApiOperation(value = "中台水库-查询水库填报详情信息", notes = "中台水库-查询水库填报详情信息") |
| | | @GetMapping(value = "/getDetailByGuid") |
| | | public R getDetailByCode(String resGuid) { |
| | | TbAttResRsbSpillway attResBase = tbAttResRsbSpillwayService.getDetailByGuid(resGuid); |
| | | List<TbAttResRsbSpillway> attResBase = tbAttResRsbSpillwayService.getDetailByGuid(resGuid); |
| | | return R.data(attResBase); |
| | | } |
| | | |
| | |
| | | */ |
| | | @ApiOperation(value = "水库信息-编辑", notes = "水库信息-编辑") |
| | | @PostMapping(value = "/edit") |
| | | public R edit(@RequestBody TbAttResRsbSpillway tbAttResRsbSpillway) { |
| | | public R edit(@RequestBody List<TbAttResRsbSpillway> tbAttResRsbSpillway) { |
| | | return R.status(tbAttResRsbSpillwayService.updateByGuid(tbAttResRsbSpillway)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @ApiOperation(value = "水库信息-审核", notes = "水库信息-审核") |
| | | @PostMapping(value = "/audit") |
| | | public R audit(@RequestBody TbAttResRsbSpillway tbAttResRsbSpillway) { |
| | | public R audit(@RequestBody List<TbAttResRsbSpillway> tbAttResRsbSpillway) { |
| | | return R.status(tbAttResRsbSpillwayService.auditByGuid(tbAttResRsbSpillway)); |
| | | } |
| | | |