jiapeng 6 ans auparavant
Parent
commit
d7e994e483
1 fichiers modifiés avec 18 ajouts et 0 suppressions
  1. 18 0
      src/main/resources/database.sql

+ 18 - 0
src/main/resources/database.sql

@ -261,4 +261,22 @@ INSERT INTO sys_dict (code, bcode, dict_code, caption, full_caption, short_cut,
261 261
INSERT INTO sys_dict (code, bcode, dict_code, caption, full_caption, short_cut, remark, readonly, active) VALUES ('01', NULL, 'ZLWZ', '东跨', NULL, NULL, NULL, '0', '1');
262 262
INSERT INTO sys_dict (code, bcode, dict_code, caption, full_caption, short_cut, remark, readonly, active) VALUES ('02', NULL, 'ZLWZ', '西跨', NULL, NULL, NULL, '0', '1');
263 263

264
CREATE TABLE ALARM_DATA_ERROR (
265
        CNT TEXT NOT NULL,
266
        RTIME BIGINT NOT NULL,
267
        REASON TEXT NOT NULL);
268
COMMENT ON TABLE ALARM_DATA_ERROR IS '报警数据错误表';
269
COMMENT ON COLUMN ALARM_DATA_ERROR.CNT IS '接口数据';
270
COMMENT ON COLUMN ALARM_DATA_ERROR.RTIME IS '接口数据接收时间';
271
COMMENT ON COLUMN ALARM_DATA_ERROR.REASON IS '接口数据错误原因';
264 272

273
CREATE TABLE WAVE_DATA_ERROR (
274
        CNT TEXT NOT NULL,
275
        RTIME BIGINT NOT NULL,
276
        REASON TEXT NOT NULL);
277
COMMENT ON TABLE WAVE_DATA_ERROR IS '实时数据错误表';
278
COMMENT ON COLUMN WAVE_DATA_ERROR.CNT IS '接口数据';
279
COMMENT ON COLUMN WAVE_DATA_ERROR.RTIME IS '接口数据接收时间';
280
COMMENT ON COLUMN WAVE_DATA_ERROR.REASON IS '接口数据错误原因';
281

282
INSERT INTO notice(cnt,modifier,modify_time) VALUES ('欢迎使用本系统!', '111                             ', '20180101010101');