Commit c62b561a by zhiwj

配置审批

parent 71f4a87b
......@@ -32,7 +32,7 @@ public class AuditLogServiceImpl implements AuditLogService {
auditLogDTO.setEnterpriseId(enterpriseId);
auditLogDTO.setApplyUserId(applyUserId);
auditLogDTO.setProjectItemId(projectItemId);
auditLogDTO.setAuditExpireTime(new Date());
// auditLogDTO.setAuditExpireTime(new Date());
return tabAuditLogMapper.getLastWaitAuditByApplyUser(auditLogDTO);
}
......
......@@ -114,6 +114,12 @@ public class AuditLogApiServiceImpl implements AuditLogApiService {
return EnterpriseServiceResponse.success();
}
if (Constants.NORMAL_STATUS.equals(projectItem.getIsPlatform())) {
// todo 如果是平台审批项, 同一个平台审批项 如果24小时内有审核成功的,就拒绝提交
// sendWxMessage();
}
// 判断有没有审核员, 没有审核员就返回错误
ServiceResponse<List<AuditorDTO>> auditorResponse = auditorApiService.listAuditorByProject(auditLogDTO.getProjectItemId(), auditLogDTO.getApplyUserId(), auditLogDTO.getEnterpriseId());
......
......@@ -264,7 +264,8 @@
<include refid="Base_Column_List" />
from tab_audit_log
where status = 1
and audit_expire_time &lt; #{auditExpireTime}
and audit_result = 0
-- and audit_expire_time &lt; #{auditExpireTime}
<if test="enterpriseId != null ">
and enterprise_id = #{enterpriseId}
</if>
......
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