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);
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);