yinzuomei 2 years ago
parent
commit
9952976aa6
  1. 4
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/StaffLoginLogDao.xml

4
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/StaffLoginLogDao.xml

@ -82,7 +82,7 @@
FROM customer_agency ca FROM customer_agency ca
left join staff_login_log l ON ( ca.ID =l.AGENCY_ID and l.DEL_FLAG = '0') left join staff_login_log l ON ( ca.ID =l.AGENCY_ID and l.DEL_FLAG = '0')
WHERE WHERE
and ca.DEL_FLAG = '0' ca.DEL_FLAG = '0'
and (ca.id=#{orgId} or ca.pids like concat('%',#{orgId},'%') ) and (ca.id=#{orgId} or ca.pids like concat('%',#{orgId},'%') )
AND ca.LEVEL = 'district' AND ca.LEVEL = 'district'
<if test ='null != startDate'> <if test ='null != startDate'>
@ -106,7 +106,7 @@
FROM customer_agency ca FROM customer_agency ca
left join staff_login_log l ON ( ca.ID =l.AGENCY_ID and l.DEL_FLAG = '0') left join staff_login_log l ON ( ca.ID =l.AGENCY_ID and l.DEL_FLAG = '0')
WHERE WHERE
and ca.DEL_FLAG = '0' ca.DEL_FLAG = '0'
and (ca.id = #{orgId} or ca.pids like concat('%',#{orgId},'%') ) and (ca.id = #{orgId} or ca.pids like concat('%',#{orgId},'%') )
AND ca.LEVEL = 'street' AND ca.LEVEL = 'street'
<if test ='null != startDate'> <if test ='null != startDate'>

Loading…
Cancel
Save