lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/controller/DocInfoController.java
@@ -1,6 +1,5 @@
package org.jeecg.modules.dnc.controller;
import cn.hutool.core.util.StrUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
@@ -56,9 +55,9 @@
    @AutoLog(value = "文档表-删除文档信息")
    @ApiOperation(value = "文档表-删除文档信息", notes = "文档表-删除文档信息")
    @DeleteMapping("/delete")
    public ResponseResult deleteDocInfo(@RequestParam("id") String id) {
        boolean b = docInfoService.deleteDocInfo(id);
    @DeleteMapping("/delete/{id}/{attrType}/{attrId}")
    public ResponseResult deleteDocInfo(@PathVariable("id") String id, @PathVariable("attrType") String attrType, @PathVariable("attrId") String attrId) {
        boolean b = docInfoService.deleteDocInfo(id,attrType,attrId);
        if(!b)
            return new ResponseResult(CommonCode.FAIL);
        return new ResponseResult(CommonCode.SUCCESS);
@@ -182,9 +181,9 @@
    @AutoLog(value = "文件表-批量删除文档接口")
    @ApiOperation(value = "文件表-批量删除文档接口", notes = "文件表-批量删除文档接口")
    @PostMapping("/batch/remove")
    public ResponseResult batchRemoveDocInfo(@RequestBody String[] docIds) {
        boolean b = docInfoService.batchRemoveDocInfo(docIds);
    @PostMapping("/batch/remove/{docIds}/{attrType}/{attrId}")
    public ResponseResult batchRemoveDocInfo(@PathVariable("docIds") String[] docIds, @PathVariable("attrType") String attrType, @PathVariable("attrId") String attrId) {
        boolean b = docInfoService.batchRemoveDocInfo(docIds,attrType,attrId);
        if(!b)
            return new ResponseResult(CommonCode.FAIL);
        return new ResponseResult(CommonCode.SUCCESS);