Selaa lähdekoodia

每日上报wan

maoyunfeng 5 vuotta sitten
vanhempi
commit
210458355d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      whepi-doc/mrsb.sql

+ 2 - 2
whepi-doc/mrsb.sql

@@ -4,7 +4,7 @@
 DROP TABLE IF EXISTS ms_report;
 CREATE TABLE ms_report  (
   report_id         bigint(20) NOT NULL DEFAULT 0                           COMMENT '上报ID',
-  resident_id       bigint(20) NOT NULL DEFAULT 0                           COMMENT '居民ID',
+  house_id          bigint(20) NOT NULL DEFAULT 0                           COMMENT '门牌ID',
   safety_num        int(11) NOT NULL DEFAULT 0                              COMMENT '平安人数',
   suspected_num     int(11) NOT NULL DEFAULT 0                              COMMENT '疑似人数',
   remarks           varchar(100)  NOT NULL DEFAULT ''                       COMMENT '异常备注',
@@ -23,7 +23,7 @@ CREATE TABLE ms_report  (
 DROP TABLE IF EXISTS ms_suspected;
 CREATE TABLE ms_suspected  (
   suspected_id      bigint(20) NOT NULL DEFAULT 0                           COMMENT '疑似ID',
-  resident_id       bigint(20) NOT NULL DEFAULT 0                           COMMENT '居民ID',
+  report_id         bigint(20) NOT NULL DEFAULT 0                           COMMENT '上报ID',
   family_relative   int(11)    NOT NULL DEFAULT 1                           COMMENT '是否家庭成员:1是,2暂住亲友',
   medical           int(11)    NOT NULL DEFAULT 1                           COMMENT '是否就医:1否,1是',
   condition_status  int(11)    NOT NULL DEFAULT 0                           COMMENT '疑似情况:1咳嗽,2发烧,3腹泻,4胸痛,5咽痛,6其他 ',