管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-11 24776e7ffb4815202fbe0035da4198103469e706
src/main/java/com/lf/server/controller/sys/ResController.java
@@ -97,7 +97,7 @@
    }
    @SysLog()
    @ApiOperation(value = "插入字典")
    @ApiOperation(value = "插入一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "字典实体类", dataType = "com.lf.server.entity.sys.ResEntity", paramType = "body", example = "")
    })
@@ -118,9 +118,9 @@
    }
    @SysLog()
    @ApiOperation(value = "插入多条字典")
    @ApiOperation(value = "插入多条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "list", value = "字典实体类集合", dataType = "List<ResEntity>", paramType = "body", example = "")
            @ApiImplicitParam(name = "list", value = "实体类集合", dataType = "List<ResEntity>", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertRess", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> insertRess(@RequestBody List<ResEntity> list, HttpServletRequest req) {
@@ -141,9 +141,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 = "/deleteRes")
    public ResponseMsg<Integer> deleteRes(int id) {
@@ -157,9 +157,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 = "/deleteRess")
    public ResponseMsg<Integer> deleteRess(@RequestParam List<Integer> ids) {
@@ -175,9 +175,9 @@
    }
    @SysLog()
    @ApiOperation(value = "更新一条字典")
    @ApiOperation(value = "更新一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "字典ID集合", dataType = "ResEntity", paramType = "body", example = "")
            @ApiImplicitParam(name = "entity", value = "ID集合", dataType = "ResEntity", paramType = "body", example = "")
    })
    @ResponseBody
    @PostMapping(value = "/updateRes", produces = "application/json; charset=UTF-8")
@@ -197,9 +197,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 = "/selectRes")
    public ResponseMsg<ResEntity> selectRes(int id) {
@@ -213,7 +213,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询所有字典")
    @ApiOperation(value = "查询所有")
    @GetMapping(value = "/selectResAll")
    public ResponseMsg<List<ResEntity>> selectResAll() {
        try {