Stringsql="select mall_id, config_key, config_value from s_config_params where (mall_id = ? or mall_id is null) and config_key = ? order by mall_id asc limit 1;";
Stringsql="select mall_id, config_key, config_value from s_config_params where (mall_id = ? or mall_id is null) and config_key = ? order by mall_id asc limit 1;";
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) order by person_unid asc, counttime asc;";
"and direction in(-1,1,6) and person_type = 0 order by person_unid asc, counttime asc;";