application.yml 添加文件上传大小限制的配置
      servlet:
        multipart:
          max-file-size: 10MB
          max-request-size: 100MB

application-dev.properties 添加websocket连接的配置
    #验证图片验证的ws地址
    ws.featureUrl=ws://192.168.9.113:10080

--------------------------------店员标记更新
#添加是否启动店员人脸照片路径修改，true时才会对店员人脸图片表进行更新
system.isStartStaffFaceRunner=true

---------------------------进店率报表更新数据库------------------------------
update s_datadic set value='客流量/店外客流' where id =67;
update s_datadic set value='有效客流/店外客流' where id =68;
delete from s_datadic where id in(69,70);


INSERT INTO "public"."s_datadic" ("id", "type", "value", "value_en", "sort", "modify_time", "create_time", "intro", "key") VALUES ('81', 'passTrafficConfig', '店外客流=店外正客流+店外反向客流', NULL, '0', '2019-03-25 17:25:05.034', '2019-03-25 17:25:05.034', NULL, '0');
INSERT INTO "public"."s_datadic" ("id", "type", "value", "value_en", "sort", "modify_time", "create_time", "intro", "key") VALUES ('82', 'passTrafficConfig', '店外客流=店外正客流+店外反向客流+进店客流', NULL, '1', '2019-03-25 17:25:05.034', '2019-03-25 17:25:05.034', NULL, '1');

INSERT INTO "public"."s_config_params" ( "key", "name", "value", "type", "options", "intro", "modify_time", "create_time", "order") VALUES (  'passTrafficConfig', '店外客流', '0', '2', 'passTrafficConfig', NULL, '2019-03-25 17:22:16.706', '2019-03-25 17:22:16.706', '11');


INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('358', 'singleObjectHourChart', 'line', 'enteringRate', '进店率趋势图', NULL, '100', '2019-03-26 09:51:40.654', '2019-03-26 09:51:40.654', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('359', 'singleObjectHourTable', 'table', 'enteringRate', '进店率详情', NULL, '100', '2019-03-26 09:52:18.08', '2019-03-26 09:52:18.08', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('360', 'singleObjectDayChart', 'line', 'enteringRate', '进店率趋势图', NULL, '100', '2019-03-27 09:52:07.277', '2019-03-27 09:52:07.277', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('361', 'singleObjectDayTable', 'table', 'enteringRate', '进店率详情', NULL, '100', '2019-03-27 09:52:49.645', '2019-03-27 09:52:49.645', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('362', 'multiObjectDayChart', 'bar', 'enteringRate', '进店率趋势图', NULL, '100', '2019-03-28 10:11:26.372', '2019-03-28 10:11:26.372', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('363', 'multiObjectDayTable', 'table', 'enteringRate', '进店率详情', NULL, '100', '2019-03-28 10:12:39.301', '2019-03-28 10:12:39.301', NULL, NULL, NULL);

---------------------------同环比报表更新数据库------------------------------
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('328', '15TrafficTrendLine', 'line', 'DayYoYMoM', '客流量趋势', NULL, '100', '2019-03-06 13:03:36.174', '2019-03-06 13:03:36.174', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('329', '15YOTrendLine', 'line', 'DayYoYMoM', '同环比趋势', NULL, '100', '2019-03-06 13:10:23.516', '2019-03-06 13:10:23.516', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('330', 'realTimeTrafficTrendLine', 'line', 'DayYoYMoM', '客流量趋势', NULL, '100', '2019-03-06 13:16:18.443', '2019-03-06 13:16:18.443', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('331', 'realTimeYOTrendLine', 'line', 'DayYoYMoM', '同环比趋势', NULL, '100', '2019-03-06 13:17:33.168', '2019-03-06 13:17:33.168', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('332', 'totalTrafficTrendLine', 'line', 'DayYoYMoM', '客流量趋势', NULL, '100', '2019-03-06 15:01:16.512', '2019-03-06 15:01:16.512', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('333', 'totalYOTrendLine', 'line', 'DayYoYMoM', '同环比趋势', NULL, '100', '2019-03-06 15:02:03.489', '2019-03-06 15:02:03.489', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('334', '8WeekTrafficTrendLine', 'bar', 'WeekYoYMoM', '客流量趋势', NULL, '100', '2019-03-06 16:48:01.167', '2019-03-06 16:48:01.167', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('335', '8WeekYTrendLine', 'line', 'WeekYoYMoM', '同比趋势', NULL, '100', '2019-03-06 16:57:51.552', '2019-03-06 16:57:51.552', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('336', 'thisWeekTrafficTrend', 'line', 'WeekYoYMoM', '客流量趋势', NULL, '100', '2019-03-07 14:02:56.623', '2019-03-07 14:02:56.623', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('337', 'thisWeekYOTrend', 'line', 'WeekYoYMoM', '同环比趋势', NULL, '100', '2019-03-07 14:04:50.239', '2019-03-07 14:04:50.239', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('338', 'recentMonthTrafficTrend', 'bar', 'MonthYoYMoM', '客流量趋势', NULL, '100', '2019-03-07 14:18:13.547', '2019-03-07 14:18:13.547', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('339', 'recentMonthYTrend', 'line', 'MonthYoYMoM', '同比趋势', NULL, '100', '2019-03-07 14:19:58.46', '2019-03-07 14:19:58.46', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('340', 'thisMonthTrafficTrend', 'line', 'MonthYoYMoM', '客流量趋势', NULL, '100', '2019-03-07 15:27:18.057', '2019-03-07 15:27:18.057', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('341', 'thisMonthYOTrend', 'line', 'MonthYoYMoM', '同环比趋势', NULL, '100', '2019-03-07 15:28:13.784', '2019-03-07 15:28:13.784', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('342', 'thisYearTrafficTrend', 'bar', 'YearYoYMoM', '客流量趋势', NULL, '100', '2019-03-07 16:42:46.297', '2019-03-07 16:42:46.297', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('343', 'thisYearYTrend', 'line', 'YearYoYMoM', '同比趋势', NULL, '100', '2019-03-07 16:45:21.045', '2019-03-07 16:45:21.045', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('344', 'moreObjectTable', 'table', 'DayYoYMoM', '多店铺客流天统计', NULL, '100', '2019-03-11 14:23:37.774', '2019-03-11 14:23:37.774', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('345', 'moreObjectBar', 'bar', 'DayYoYMoM', '多店铺客流天统计', NULL, '100', '2019-03-11 14:25:37.293', '2019-03-11 14:25:37.293', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('346', 'moreObjectTable', 'table', 'WeekYoYMoM', '多店铺客流周统计', NULL, '100', '2019-03-11 14:28:15.154', '2019-03-11 14:28:15.154', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('347', 'moreObjectBar', 'bar', 'WeekYoYMoM', '多店铺客流周统计', NULL, '100', '2019-03-11 14:29:58.393', '2019-03-11 14:29:58.393', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('348', 'moreObjectTable', 'table', 'MonthYoYMoM', '多店铺客流月统计', NULL, '100', '2019-03-11 14:32:04.177', '2019-03-11 14:32:04.177', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('349', 'moreObjectBar', 'bar', 'MonthYoYMoM', '多店铺客流月统计', NULL, '100', '2019-03-11 14:33:07.546', '2019-03-11 14:33:07.546', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('350', 'moreObjectTable', 'table', 'YearYoYMoM', '多店铺客流年统计', NULL, '100', '2019-03-11 14:35:25.851', '2019-03-11 14:35:25.851', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('351', 'moreObjectBar', 'bar', 'YearYoYMoM', '多店铺客流年统计', NULL, '100', '2019-03-11 14:36:16.444', '2019-03-11 14:36:16.444', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('352', 'moreObjectCustomizeTable', 'table', 'MonthYoYMoM', '多对象自定义统计', NULL, '100', '2019-03-14 10:33:05.765', '2019-03-14 10:33:05.765', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('353', 'moreObjectCustomizeBar', 'table', 'MonthYoYMoM', '多对象自定义统计', NULL, '100', '2019-03-14 10:34:10.026', '2019-03-14 10:34:10.026', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('354', 'CustomizeDatesTable', 'table', 'DayYoYMoM', '自定义时间段数据', NULL, '100', '2019-03-14 10:40:42.909', '2019-03-14 10:40:42.909', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('355', 'CustomizeTrafficTrendLine', 'line', 'DayYoYMoM', '自定义客流量趋势', NULL, '100', '2019-03-14 10:42:19.295', '2019-03-14 10:42:19.295', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('356', 'CustomizeYOTrendLine', 'line', 'DayYoYMoM', '自定义同环比趋势', NULL, '100', '2019-03-14 10:44:17.083', '2019-03-14 10:44:17.083', NULL, NULL, NULL);
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('357', 'trafficAndYO', 'bar', 'YearYoYMoM', '客流量同环比报表', NULL, '100', '2019-03-14 13:41:51.762', '2019-03-14 13:41:51.762', NULL, NULL, NULL);

----------------------------------------------------------------店内热力实时客流报表---------------------------------------------------
INSERT INTO "public"."d_report_chart" ("id", "key", "type", "report", "title", "title_en", "size", "modify_time", "create_time", "style", "param", "plantform") VALUES ('364', 'heatmapTraffic', 'table', 'heatmapTraffic', '区域热力客流', NULL, '100', '2019-03-28 10:11:26.372', '2019-03-28 10:11:26.372', NULL, NULL, NULL);

-------------------------------------------------------------客流滞留量表-------------------------------------------------------
CREATE SEQUENCE "d_retention_alarm_record_id_seq"
 INCREMENT 1
 MINVALUE 1
 MAXVALUE 9223372036854775807
 START 1
 CACHE 1;

 CREATE TABLE "public"."d_retention_alarm_record" (
 "id" int8 DEFAULT nextval('d_retention_alarm_record_id_seq'::regclass) NOT NULL,
 "gate_id" int8 NOT NULL,
 "mall_id" int8,
 "account_id" int8,
 "gate_retention_id" int8 NOT NULL,
 "num" int4 DEFAULT 0,
 "threshold" int4,
 "countdate" date,
 "counttime" timestamp(6),
 "modify_time" timestamp(6) DEFAULT now(),
 "create_time" timestamp(6) DEFAULT now()
 )
 WITH (OIDS=FALSE);

 CREATE INDEX "d_retention_alarm_record_gate_id_idx" ON "public"."d_retention_alarm_record" USING btree ("gate_id");
 CREATE INDEX "d_retention_alarm_record_mall_id_idx" ON "public"."d_retention_alarm_record" USING btree ("mall_id");
 CREATE INDEX "d_retention_alarm_record_countdate_idx" ON "public"."d_retention_alarm_record" USING btree ("countdate");
 CREATE INDEX "d_retention_alarm_record_counttime_idx" ON "public"."d_retention_alarm_record" USING btree ("counttime");


 ------------------------------------------------s_log表加上对应的字段，用户登录的信息------------------------------------
 ALTER TABLE "public"."s_log" ADD COLUMN "account_id" int8;
 ALTER TABLE "public"."s_log" ADD COLUMN "account_name" varchar(50);

 ------------------------------------------------s_user表加上对应字段，微信绑定------------------------------
 #微信报警url
 monitor.url=http://127.0.0.1:12020/

ALTER TABLE "public"."s_user"
ADD COLUMN "unid" varchar DEFAULT uuid_generate_v1(),       /*uuid_generate_v1()设置自生成函数*/
ADD COLUMN "nickname" varchar(100),
ADD COLUMN "open_id" varchar(200);

