|
@@ -552,7 +552,8 @@
|
|
or (a.is_dept_audit = 1 and a.audit_dept_managerid = #{auditorId}))
|
|
or (a.is_dept_audit = 1 and a.audit_dept_managerid = #{auditorId}))
|
|
</if>
|
|
</if>
|
|
<if test="auditUserId != null and auditUserId !=''">
|
|
<if test="auditUserId != null and auditUserId !=''">
|
|
- AND FIND_IN_SET(auditUserId,a.executor_id)
|
|
|
|
|
|
+ AND ((a.is_dept_audit = 0 and a.project_auditor_id = #{auditUserId} and a.project_audit_state = 0)
|
|
|
|
+ or (a.is_dept_audit = 1 and a.audit_dept_managerid = #{auditUserId}))
|
|
</if>
|
|
</if>
|
|
<if test="isEngeering == 1">
|
|
<if test="isEngeering == 1">
|
|
AND a.department_audit_state = 1
|
|
AND a.department_audit_state = 1
|