@@ -65,12 +64,19 @@ public class FaceRecognitionDao {
...
@@ -65,12 +64,19 @@ public class FaceRecognitionDao {
Stringsql="select account_id,mall_id,gate_id,person_unid,direction,track_time,countdate as countDate,person_type,age,gender,"+
Stringsql="select account_id,mall_id,gate_id,person_unid,direction,track_time,countdate as countDate,person_type,age,gender,"+
"counttime as countTime from d_face_recognition where mall_id = :mallId and countdate between :startDate and :endDate and counttime >= :startTime and counttime < :endTime "+
"counttime as countTime from d_face_recognition where mall_id = :mallId and countdate between :startDate and :endDate and counttime >= :startTime and counttime < :endTime "+
"and direction in(-1,1,6) and person_type = 0 order by person_unid asc, counttime asc;";
"and direction in(-1,1,6) and person_type = 0 order by person_unid asc, counttime asc;";
StringsqlNoMultipleDay="select account_id,mall_id,gate_id,person_unid,direction,track_time,countdate as countDate,person_type,age,gender,"+
"counttime as countTime from d_face_recognition where mall_id = :mallId and countdate = :startDate and counttime >= :startTime and counttime < :endTime "+
"and direction in(-1,1,6) and person_type = 0 order by person_unid asc, counttime asc;";