Parcourir la source

安全检查时间划分

luojun il y a 1 an
Parent
commit
3d5ea1207d
1 fichiers modifiés avec 9 ajouts et 1 suppressions
  1. 9 1
      project_data/sql/0.0.3/soc/soc.sql

+ 9 - 1
project_data/sql/0.0.3/soc/soc.sql

@@ -558,7 +558,15 @@ END IF;
     add organization varchar(255) DEFAULT NULL COMMENT '所属机构';
     END IF;
 
-
+    -- 履职添加pdf
+    IF NOT EXISTS(SELECT *
+                  FROM information_schema.columns
+                  WHERE table_schema = DATABASE()
+                    AND table_name = 'core_resumption_plan'
+                    AND column_name = 'pdf_url') THEN
+        alter table core_resumption_plan
+            add pdf_url varchar(255) DEFAULT NULL COMMENT 'pdf下载地址';
+    END IF;
 
     -- 演练范本库表增加演练类型字段
     IF NOT EXISTS(SELECT *