管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-11 24776e7ffb4815202fbe0035da4198103469e706
src/main/java/com/lf/server/controller/sys/OperateController.java
@@ -106,7 +106,7 @@
    }
    @SysLog()
    @ApiOperation(value = "插入字典")
    @ApiOperation(value = "插入一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "字典实体类", dataType = "com.lf.server.entity.sys.OperateEntity", paramType = "body", example = "")
    })
@@ -127,9 +127,9 @@
    }
    @SysLog()
    @ApiOperation(value = "插入多条字典")
    @ApiOperation(value = "插入多条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "list", value = "字典实体类集合", dataType = "List<OperateEntity>", paramType = "body", example = "")
            @ApiImplicitParam(name = "list", value = "实体类集合", dataType = "List<OperateEntity>", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertOperates", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> insertOperates(@RequestBody List<OperateEntity> list, HttpServletRequest req) {
@@ -150,9 +150,9 @@
    }
    @SysLog()
    @ApiOperation(value = "删除一条字典")
    @ApiOperation(value = "删除一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "字典ID", dataType = "Integer", paramType = "query", example = "1")
            @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1")
    })
    @GetMapping(value = "/deleteOperate")
    public ResponseMsg<Integer> deleteOperate(int id) {
@@ -166,9 +166,9 @@
    }
    @SysLog()
    @ApiOperation(value = "删除多条字典")
    @ApiOperation(value = "删除多条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "ids", value = "字典ID集合", dataType = "List<Integer>", paramType = "query", example = "1,2")
            @ApiImplicitParam(name = "ids", value = "ID集合", dataType = "List<Integer>", paramType = "query", example = "1,2")
    })
    @GetMapping(value = "/deleteOperates")
    public ResponseMsg<Integer> deleteOperates(@RequestParam List<Integer> ids) {
@@ -184,7 +184,7 @@
    }
    @SysLog()
    @ApiOperation(value = "更新一条字典")
    @ApiOperation(value = "更新一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "实体类", dataType = "OperateEntity", paramType = "body", example = "")
    })
@@ -206,9 +206,9 @@
    }
    @SysLog()
    @ApiOperation(value = "根据ID查询字典")
    @ApiOperation(value = "根据ID查询")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "字典ID", dataType = "Integer", paramType = "query", example = "1")
            @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1")
    })
    @GetMapping(value = "/selectOperate")
    public ResponseMsg<OperateEntity> selectOperate(int id) {
@@ -222,7 +222,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询所有字典")
    @ApiOperation(value = "查询所有")
    @GetMapping(value = "/selectOperateAll")
    public ResponseMsg<List<OperateEntity>> selectOperateAll() {
        try {