Browse Source

获取指定社区下面的 以网格分组的已检测和未检测的核酸人数

master
Jackwang 3 years ago
parent
commit
723d912711
  1. 2
      epdc-cloud-analysis-pc/src/main/resources/mapper/screen/EpdcScreenDao.xml

2
epdc-cloud-analysis-pc/src/main/resources/mapper/screen/EpdcScreenDao.xml

@ -885,7 +885,7 @@
SELECT DEPT_NAME,
count(CHECK_STATE='0' or null) as finishedCount,
count(CHECK_STATE='1' or null) as unfinishedCount
FROM `epidemic_user_info`
FROM esua_epdc_custom.`epidemic_user_info`
where DEL_FLAG='0'
and FIND_IN_SET(#{communityId},PARENT_DEPT_IDS)
group by DEPT_ID

Loading…
Cancel
Save