lyhzzz 3 kuukautta sitten
vanhempi
commit
d46422c69f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/main/resources/mapper/fusion/DictFileMapper.xml

+ 2 - 2
src/main/resources/mapper/fusion/DictFileMapper.xml

@@ -8,10 +8,10 @@
         left join tm_user u on df.sys_user_id = u.id
         where df.rec_status = 'A'
         <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 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 test="param.name != null and param.name !=''">
             and df.name like concat('%',#{param.name}, '%')