Browse Source

【工作端】首页总数统计-待认证居民-近90天的数据-王公峰-2021-06-07

feature/dangjian
wanggongfeng 5 years ago
parent
commit
22b49ead7b
  1. 1
      esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml

1
esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml

@ -337,6 +337,7 @@
FROM
epdc_user u
where u.DEL_FLAG = '0'
and date_format( u.CREATED_TIME, '%Y-%m-%d' ) > date_format( date_add( now( ), INTERVAL - 90 day), '%Y-%m-%d' )
<choose>
<when test="gridId != null and gridId > 0">AND u.DEPT_ID = #{gridId}</when>
<otherwise>

Loading…
Cancel
Save