|
|
@@ -14,7 +14,7 @@
|
|
|
LEFT JOIN xjr_user t1 ON (t1.id = t.applicant_user_id)
|
|
|
LEFT JOIN cadre_dept t2 ON (t2.id = t.cadre_dept_id)
|
|
|
LEFT JOIN xjr_user t3 ON (t3.id = t.instructor_user_id)
|
|
|
- left join xjr_workflow_form_relation t4 on t1.id = CAST(t4.form_key_value AS SIGNED)
|
|
|
+ left join xjr_workflow_form_relation t4 on t.id = CAST(t4.form_key_value AS SIGNED)
|
|
|
WHERE t.delete_mark = 0 and t4.current_state = 'COMPLETED'
|
|
|
<if test="dto.cadreDeptId != null and dto.cadreDeptId > 0">
|
|
|
and t.cadre_dept_id = #{dto.cadreDeptId}
|