|
@@ -14,9 +14,9 @@
|
|
select count(1) from iden_face_image where DATE_FORMAT(photograph_time,'%Y-%m-%d') = DATE_FORMAT(now(),'%Y-%m-%d') and type like '%1%'
|
|
select count(1) from iden_face_image where DATE_FORMAT(photograph_time,'%Y-%m-%d') = DATE_FORMAT(now(),'%Y-%m-%d') and type like '%1%'
|
|
) todayKeynoteFaceImageTotal,
|
|
) todayKeynoteFaceImageTotal,
|
|
(
|
|
(
|
|
- select IFNULL(sum(a.evening_come_count),0) + IFNULL(sum(a.keynote_count),0) + IFNULL(sum(a.permanent_count),0) + IFNULL(sum(a.stranger_count),0)
|
|
|
|
- from iden_warning_sta a
|
|
|
|
- where a.data_date = DATE_FORMAT(now(),'%Y-%m-%d')
|
|
|
|
|
|
+ select IFNULL(count(1),0)
|
|
|
|
+ from iden_warning_event a
|
|
|
|
+ where DATE_FORMAT(a.data_time,'%Y-%m-%d') = DATE_FORMAT(now(),'%Y-%m-%d')
|
|
) warningEventTotal,
|
|
) warningEventTotal,
|
|
(
|
|
(
|
|
select count(1) from iden_camera
|
|
select count(1) from iden_camera
|