Forráskód Böngészése

发送通知bug修复

songxinlu 3 éve
szülő
commit
788d5d0df4

+ 1 - 1
dblayer-mbg/src/main/resources/mapper/DeptUserMapper.xml

@@ -13,7 +13,7 @@
           du.is_deleted = 'N'
         AND d.is_deleted = 'N'
         AND	d.id = du.dept_id
-        <if test="depts !=null and depts!=0">
+        <if test="depts !=null and depts.size!=0">
             AND du.dept_id IN
             <foreach collection="depts" item="id" open="(" close=")" separator=",">
                 #{id}