月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-11 fee67ca8a0760315047a52fc4101a8f4f80b7a7f
src/main/java/com/moon/server/controller/sys/DepController.java
@@ -18,13 +18,9 @@
import javax.servlet.http.HttpServletRequest;
import java.util.List;
/**
 * 组织机构
 * @author sws
 * @date   2022-09-23
 */
@Api(tags = "运维管理\\单位管理")
@RestController
@SuppressWarnings("ALL")
@RequestMapping("/dep")
public class DepController extends BaseController {
    @Autowired
@@ -36,7 +32,7 @@
    @SysLog()
    @ApiOperation(value = "插入一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "实体类", dataType = "com.lf.server.entity.sys.DepEntity", paramType = "body", example = "")
            @ApiImplicitParam(name = "entity", value = "实体类", dataType = "DepEntity", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertDep", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> insertDep(@RequestBody DepEntity entity, HttpServletRequest req) {
@@ -57,7 +53,7 @@
    @SysLog()
    @ApiOperation(value = "插入多条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "list", value = "实体类集合", dataType = "com.lf.server.entity.sys.DepEntity", paramType = "body", example = "")
            @ApiImplicitParam(name = "list", value = "实体类集合", dataType = "DepEntity", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertDes", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> insertDes(@RequestBody List<DepEntity> list, HttpServletRequest req) {