|
@@ -69,10 +69,8 @@ public class DirectorApproveByJxzyyListener implements TaskListener {
|
|
|
if (tfFlowApprove.getStatus().equals(FlowStatusEnum.AUDITING)
|
|
|
&& tfFlowApprove.getSetup().equals(FlowApproveSetupEnum.PRIMARY_APPROVE.getSetup())) {
|
|
|
basicMessageService.sendNoticeTaskAuditFlow(examTask, sysUserList, MessageEnum.NOTICE_OF_AUDIT_CREATED);
|
|
|
- }
|
|
|
-
|
|
|
- // 驳回短信(驳回给主任)
|
|
|
- if (tfFlowApprove.getStatus().equals(FlowStatusEnum.REJECT)
|
|
|
+ }// 驳回短信(驳回给主任)
|
|
|
+ else if (tfFlowApprove.getStatus().equals(FlowStatusEnum.REJECT)
|
|
|
&& tfFlowApprove.getSetup().equals(FlowApproveSetupEnum.PRIMARY_APPROVE.getSetup())) {
|
|
|
basicMessageService.sendNoticeTaskAuditFlow(examTask, sysUserList, MessageEnum.NOTICE_OF_AUDIT_REJECT);
|
|
|
}
|