Scripts-InOutPG.sql新增表、视图、存储过程脚本 后台运行两个Spring task 1、getAllMac 每月获取更新一次入廊设备信息,存储在数据库 2、overtimeInPG 入廊超时报警监测,出廊结果更新本地数据,默认执行间隔20分钟,可配置。 task 配置文件taskConfig-applicationContext.xml 外部接口相关配置application.properties httpClientUtil段 配置访问用户名密码、接口地址、超时时间。 web.xml配置 servlet spring中<param-value>增加classpath*:spring/taskConfig-applicationContext.xml 项目中默认 人员进出廊记录查询,目前接口InOutPGrec/query 参数dtFrom,dtTo时间参数,required = true 返回视图pg_InOutPG_record结果