Commit d66b8aae authored by Rensq's avatar Rensq

优化安全许可证审批逻辑,增加现场确认条件

parent 48ebc0fa
...@@ -24,8 +24,9 @@ public class LicenseCheckUsersListener implements TaskListener { ...@@ -24,8 +24,9 @@ public class LicenseCheckUsersListener implements TaskListener {
String bizId = delegateTask.getVariable("bizKeyId").toString(); String bizId = delegateTask.getVariable("bizKeyId").toString();
String submitter = delegateTask.getVariable("submitter").toString(); String submitter = delegateTask.getVariable("submitter").toString();
String isReject = delegateTask.getVariable("rejected").toString(); String isReject = delegateTask.getVariable("rejected").toString();
//审批通过 String isOnSiteConfirmation = delegateTask.getVariable("isOnSiteConfirmation").toString();
if ("0".equals(isReject)) { //审批通过且不为现场确认
if ("0".equals(isReject) && "0".equals(isOnSiteConfirmation)) {
THazardWorkPlan byId = tHazardWorkPlanService.getById(bizId); THazardWorkPlan byId = tHazardWorkPlanService.getById(bizId);
if (byId != null) { if (byId != null) {
//修改审批人 //修改审批人
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment