新增文件预览列表修复了任务显示ossId但是无法现在的情况
新增项目编号索引
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.ruoyi.oa.controller;
|
||||
|
||||
|
||||
import com.ruoyi.oa.service.CodeGeneratorService;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@RequestMapping("/code")
|
||||
public class CodeGeneratorController {
|
||||
|
||||
private final CodeGeneratorService gen;
|
||||
|
||||
@GetMapping("/code/{prefix}")
|
||||
public String genCode(@PathVariable String prefix) {
|
||||
return gen.nextCode(prefix);
|
||||
}
|
||||
}
|
||||
@@ -43,6 +43,9 @@ public class SysOaProjectController extends BaseController {
|
||||
|
||||
private final SysOaTaskMapper sysOaTaskMapper;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询项目管理列表
|
||||
*/
|
||||
@@ -51,6 +54,15 @@ public class SysOaProjectController extends BaseController {
|
||||
return iSysOaProjectService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询项目管理列表
|
||||
*/
|
||||
@GetMapping("/ware-list")
|
||||
public TableDataInfo<SysOaProjectVo> listWareProject(SysOaProjectBo bo, PageQuery pageQuery) {
|
||||
return iSysOaProjectService.listWareProject(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出项目管理列表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user