|
@@ -8,10 +8,10 @@
|
|
left join tm_user u on df.sys_user_id = u.id
|
|
left join tm_user u on df.sys_user_id = u.id
|
|
where df.rec_status = 'A'
|
|
where df.rec_status = 'A'
|
|
<if test="param.sysUserId != null">
|
|
<if test="param.sysUserId != null">
|
|
- and ( df.sys_user_id = #{param.sysUserId} or d.use_type = 'animation')
|
|
|
|
|
|
+ and ( df.sys_user_id = #{param.sysUserId} or df.use_type = 'animation')
|
|
</if>
|
|
</if>
|
|
<if test="param.deptId != null and param.deptId != ''">
|
|
<if test="param.deptId != null and param.deptId != ''">
|
|
- and ( u.dept_id = #{param.deptId} or d.use_type = 'animation')
|
|
|
|
|
|
+ and ( u.dept_id = #{param.deptId} or df.use_type = 'animation')
|
|
</if>
|
|
</if>
|
|
<if test="param.name != null and param.name !=''">
|
|
<if test="param.name != null and param.name !=''">
|
|
and df.name like concat('%',#{param.name}, '%')
|
|
and df.name like concat('%',#{param.name}, '%')
|