瀏覽代碼

优化代码

java110 5 年之前
父節點
當前提交
a863c45c93
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      java110-db/src/main/resources/mapper/user/OrgStaffRelServiceDaoImplMapper.xml

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

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