Browse Source

#批量填报功能

zhongwei
yang_shj 11 months ago
parent
commit
e7825e4044
  1. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/fill/controller/RainfallController.java

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/fill/controller/RainfallController.java

@ -51,7 +51,7 @@ public class RainfallController extends BladeController {
* 批量新增
*/
@PostMapping("/batchSave")
@ApiOperationSupport(order = 1)
@ApiOperationSupport(order = 2)
@ApiOperation(value = "新增", notes = "传入RainfallEntity对象集合")
public R batchSave(@RequestBody List<RainfallEntity> rains) {
return R.status(service.batchSave(rains));
@ -62,7 +62,7 @@ public class RainfallController extends BladeController {
* 删除
*/
@PostMapping("/remove")
@ApiOperationSupport(order = 2)
@ApiOperationSupport(order = 3)
@ApiOperation(value = "逻辑删除", notes = "传入id字符串以逗号分隔")
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
return R.status(service.deleteLogic(Func.toLongList(ids)));

Loading…
Cancel
Save