|
|
|
@ -693,7 +693,8 @@ |
|
|
|
point.CONTACTS, |
|
|
|
point.TEL, |
|
|
|
point.INTRODUCE, |
|
|
|
COUNT(person.ID) testNum |
|
|
|
COUNT(person.ID) testNum, |
|
|
|
COUNT(IF(DATE_FORMAT(person.CREATED_TIME, '%Y-%m-%d') = DATE_FORMAT(NOW(), '%Y-%m-%d') , TRUE, NULL)) todayTestNum |
|
|
|
FROM esua_epdc_custom.epdc_testing_point point |
|
|
|
LEFT JOIN esua_epdc_custom.epdc_person_testing person ON point.ID = person.TESTING_POINT_ID AND person.DEL_FLAG ='0' |
|
|
|
WHERE point.DEL_FLAG = '0' |
|
|
|
|