|
|
|
@ -120,6 +120,7 @@ |
|
|
|
|
LEFT JOIN sys_dept t3 ON t2.dept_id = t3.dept_id |
|
|
|
|
LEFT JOIN ec_grouping_config t4 ON t1.grouping_id = t4.id and t2.organ_code = t4.organ_code AND t4.del_flag!=2 |
|
|
|
|
LEFT JOIN ti_enterprise_info t5 ON t2.organ_code = t5.organ_code |
|
|
|
|
and t5.del_flag != 2 |
|
|
|
|
<where> |
|
|
|
|
<if test="groupingId != null ">and t1.grouping_id = #{groupingId}</if> |
|
|
|
|
<if test="userName != null ">and t2.nick_name like concat('%',#{userName},'%')</if> |
|
|
|
|