| | |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.StringUtil; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | |
| | | @ApiOperation(value = "水库特征水位-编辑", notes = "水库特征水位-编辑") |
| | | @PostMapping(value = "/edit") |
| | | public R edit(@RequestBody AttResStagChar attResStagChar) { |
| | | if (StringUtil.isBlank(attResStagChar.getResGuid())) { |
| | | return R.fail("参数不正确"); |
| | | } |
| | | return R.data(attResStagCharService.customizeUpdateByGuid(attResStagChar)); |
| | | // return R.data(attResStagCharService.updateById(attResStagChar)); |
| | | } |