Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c5376284
Commit
c5376284
authored
Jul 08, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计划审核通过后 修改任务生成时间
parent
c2e09d4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
PlanAuditServiceImpl.java
...pervision/business/service/impl/PlanAuditServiceImpl.java
+3
-0
PlanServiceImpl.java
...os/supervision/business/service/impl/PlanServiceImpl.java
+5
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/PlanAuditServiceImpl.java
View file @
c5376284
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.supervision.business.service.impl;
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.supervision.business.service.impl;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.service.IWorkflowExcuteService
;
import
com.yeejoin.amos.boot.biz.common.service.IWorkflowExcuteService
;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.workflow.feign.WorkflowFeignService
;
import
com.yeejoin.amos.boot.biz.common.workflow.feign.WorkflowFeignService
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.supervision.business.dao.repository.IPlanAuditDao
;
import
com.yeejoin.amos.supervision.business.dao.repository.IPlanAuditDao
;
...
@@ -77,6 +78,8 @@ public class PlanAuditServiceImpl implements IPlanAuditService {
...
@@ -77,6 +78,8 @@ public class PlanAuditServiceImpl implements IPlanAuditService {
workflowExcuteService
.
CompleteTask
(
instanceId
,
conditionValue
,
reginParams
);
workflowExcuteService
.
CompleteTask
(
instanceId
,
conditionValue
,
reginParams
);
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
String
userId
=
reginParams
.
getUserModel
().
getUserId
();
String
userId
=
reginParams
.
getUserModel
().
getUserId
();
plan
.
setNextGenDate
(
DateUtils
.
dateTimeToDate
(
new
Date
()));
planService
.
updateGenDate
(
plan
);
// 更新计划状态,指定执行人
// 更新计划状态,指定执行人
updatePlanStatus
(
condition
,
plan
,
instanceId
,
conditionValue
);
updatePlanStatus
(
condition
,
plan
,
instanceId
,
conditionValue
);
// 更新流水表
// 更新流水表
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/PlanServiceImpl.java
View file @
c5376284
...
@@ -242,6 +242,11 @@ public class PlanServiceImpl implements IPlanService {
...
@@ -242,6 +242,11 @@ public class PlanServiceImpl implements IPlanService {
}
}
}
}
public
void
updateGenDate
(
Plan
plan
){
planMapper
.
updateById
(
plan
);
}
/**
/**
* 根据工作流获取下一审核人角色下的所有用户ID =》规则推送消息
* 根据工作流获取下一审核人角色下的所有用户ID =》规则推送消息
* @return
* @return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment