dev-tmp1
luotaiqian 2026-08-10 13:48:45 +08:00
parent ef8e8a5450
commit 43808739d1
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@
AND p.user_name LIKE CONCAT('%', #{query.personName}, '%') AND p.user_name LIKE CONCAT('%', #{query.personName}, '%')
</if> </if>
<if test="query.managementFlag != null and query.managementFlag == true"> <if test="query.managementFlag != null and query.managementFlag == true">
AND (p.personnel_position_type =1 or p.process_control_leader_flag =1) AND (p.technical_director_flag =1 or p.process_control_leader_flag =1)
</if> </if>
<if test="query.managementFlag != null and query.managementFlag == false"> <if test="query.managementFlag != null and query.managementFlag == false">
AND (p.technical_director_flag =0 and p.process_control_leader_flag =0) AND (p.technical_director_flag =0 and p.process_control_leader_flag =0)