Przeglądaj źródła

优化查关系错误

java110 5 lat temu
rodzic
commit
d3b87d2d7c

+ 1 - 1
java110-db/src/main/resources/mapper/user/OrgStaffRelServiceDaoImplMapper.xml

@@ -81,7 +81,7 @@
         from u_org_staff_rel t,u_org uo,u_user uu
         where t.org_id = uo.org_id
         and t.staff_id = uu.user_id
-        <if test="statusCd ==null or relId != '1'">
+        <if test="statusCd ==null or statusCd != '1'">
             and uu.status_cd = '0'
             and uo.status_cd = '0'
         </if>