文件分类标记
This commit is contained in:
parent
ba82f41114
commit
c8a57bdb07
|
|
@ -7,7 +7,9 @@ import com.bonus.common.core.domain.R;
|
|||
import com.bonus.common.core.page.TableDataInfo;
|
||||
import com.bonus.common.enums.OperaType;
|
||||
import com.bonus.web.domain.DaKyProFilesContentsDto;
|
||||
import com.bonus.web.domain.ProjectDto;
|
||||
import com.bonus.web.service.FileManageService;
|
||||
import com.bonus.web.service.ProjectService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -29,6 +31,24 @@ public class FileManagementController extends BaseController {
|
|||
@Autowired
|
||||
private FileManageService fileManageService;
|
||||
|
||||
|
||||
@Autowired
|
||||
private ProjectService service;
|
||||
|
||||
@ApiOperation(value = "项目管理")
|
||||
@GetMapping("getProjectList")
|
||||
@SysLog(title = "项目管理列表", module = "档案管理->项目管理", businessType = OperaType.QUERY, details = "项目管理列表", logType = 1)
|
||||
@RequiresPermissions("project:manage:list")
|
||||
public TableDataInfo getProjectList(ProjectDto dto) {
|
||||
try {
|
||||
startPage();
|
||||
List<ProjectDto> list = service.list(dto);
|
||||
return getDataTable(list);
|
||||
} catch (Exception e) {
|
||||
log.error(e.toString(), e);
|
||||
return getDataTable(new ArrayList<>());
|
||||
}
|
||||
}
|
||||
@ApiOperation(value = "档案管理")
|
||||
@GetMapping("getFileManageTree")
|
||||
@SysLog(title = "档案管理列表", module = "档案管理->档案左侧树", businessType = OperaType.QUERY, details = "档案管理列表", logType = 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue