Commit d66b8aae authored by Rensq's avatar Rensq

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

parent 48ebc0fa
......@@ -24,8 +24,9 @@ public class LicenseCheckUsersListener implements TaskListener {
String bizId = delegateTask.getVariable("bizKeyId").toString();
String submitter = delegateTask.getVariable("submitter").toString();
String isReject = delegateTask.getVariable("rejected").toString();
//审批通过
if ("0".equals(isReject)) {
String isOnSiteConfirmation = delegateTask.getVariable("isOnSiteConfirmation").toString();
//审批通过且不为现场确认
if ("0".equals(isReject) && "0".equals(isOnSiteConfirmation)) {
THazardWorkPlan byId = tHazardWorkPlanService.getById(bizId);
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