returnjdbcTemplate.query("select unid,person_unid,channel_serialnum,body_pic,countdate,counttime,direction,gate_id from d_face_recognition where countdate=? and mall_id=?",newBeanPropertyRowMapper<>(FaceRecognition.class),date,mallId);
//不需要横穿数据
if(needOutSide==0){
returnjdbcTemplate.query("select unid,person_unid,channel_serialnum,body_pic,countdate,counttime,direction,gate_id from d_face_recognition where countdate=? and mall_id=? and direction != 0",newBeanPropertyRowMapper<>(FaceRecognition.class),date,mallId);
}else{
returnjdbcTemplate.query("select unid,person_unid,channel_serialnum,body_pic,countdate,counttime,direction,gate_id from d_face_recognition where countdate=? and mall_id=?",newBeanPropertyRowMapper<>(FaceRecognition.class),date,mallId);