java110-db/src/main/resources/mapper/user/OrgStaffRelServiceDaoImplMapper.xml
@@ -81,13 +81,14 @@ 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 and uu.status_cd = '0' and uo.status_cd = '0' <if test='statusCd ==null or statusCd != "1"'> and uu.status_cd = '0' and uo.status_cd = '0' and t.status_cd= '0' </if> <if test="relId !=null and relId != ''"> and t.rel_id= #{relId} </if> <if test="statusCd !=null and statusCd != ''"> and t.status_cd= #{statusCd} </if> <if test="storeId !=null and storeId != ''"> and t.store_id= #{storeId}