新增单个任务派送,缺少报功模式
This commit is contained in:
@@ -41,9 +41,18 @@ public class SysOaClaimController extends BaseController {
|
||||
* 查询差旅费报销列表
|
||||
*/
|
||||
@SaCheckPermission("system:oaClaim:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<SysOaClaimVo> list(SysOaClaimBo bo, PageQuery pageQuery) {
|
||||
return iSysOaClaimService.queryPageList(bo, pageQuery);
|
||||
@GetMapping("/list-claim")
|
||||
public TableDataInfo<SysOaClaimVo> listClaim(SysOaClaimBo bo, PageQuery pageQuery) {
|
||||
return iSysOaClaimService.queryPageListByClaim(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询差旅费报销列表
|
||||
*/
|
||||
@SaCheckPermission("system:oaClaim:list")
|
||||
@GetMapping("/list-money")
|
||||
public TableDataInfo<SysOaClaimVo> listMoney(SysOaClaimBo bo, PageQuery pageQuery) {
|
||||
return iSysOaClaimService.queryPageListByMoney(bo, pageQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -223,7 +223,19 @@ public class WfProcessController extends BaseController {
|
||||
@PostMapping("/startClaim")
|
||||
public R<String> startClaim() {
|
||||
Map<String, Object> variables = new HashMap<String, Object>();
|
||||
String procInsId = processService.startClaim(variables);
|
||||
String procInsId = processService.commonStart("claim");
|
||||
return R.ok("流程启动成功",procInsId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据流程定义id启动流程实例
|
||||
*
|
||||
*/
|
||||
@SaCheckPermission("workflow:process:start")
|
||||
@PostMapping("/startMoney")
|
||||
public R<String> startMoney() {
|
||||
Map<String, Object> variables = new HashMap<String, Object>();
|
||||
String procInsId = processService.commonStart("money");
|
||||
return R.ok("流程启动成功",procInsId);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ ruoyi:
|
||||
# 缓存懒加载
|
||||
cacheLazy: false
|
||||
# 文件路径
|
||||
profile: /home/wy/oa/uploadPath
|
||||
profile: /home/wangyu/oa/uploadPath
|
||||
# profile: F:\work\fad_oa系统\fad_oa\temp
|
||||
|
||||
captcha:
|
||||
|
||||
Reference in New Issue
Block a user