From 93fd808485e4fe7f4daf5f34af64270f7c68777a Mon Sep 17 00:00:00 2001 From: ma <1062634917@qq.com> Date: Tue, 15 Jun 2021 09:48:18 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=B9=B3=E8=BD=A6=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 内部项目/wisdomcar.sql | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/内部项目/wisdomcar.sql b/内部项目/wisdomcar.sql index 10c77d5..64a545a 100644 --- a/内部项目/wisdomcar.sql +++ b/内部项目/wisdomcar.sql @@ -387,7 +387,7 @@ DROP TABLE IF EXISTS `t_patient_doctor`; ALTER TABLE t_step ADD task_sub_name varchar(50) NULL DEFAULT '' COMMENT '分解任务名称' -ALTER TABLE t_patient_wisdom_car ADD binding_status tinyint(1) NULL DEFAULT '' COMMENT '绑定状态(0-待完善,1-已完善)' +ALTER TABLE t_patient_wisdom_car ADD binding_status tinyint(1) NULL DEFAULT 0 COMMENT '绑定状态(0-待完善,1-已完善)' ALTER TABLE t_hospital_member ADD member_name varchar(20) NULL DEFAULT '' COMMENT '医生名字' @@ -395,3 +395,20 @@ ALTER TABLE t_hospital_member ADD member_sex tinyint(1) NULL DEFAULT 0 COMMENT ' ALTER TABLE t_hospital_member ADD member_phone varchar(20) NULL DEFAULT '' COMMENT '医生电话' + + + +↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓未更新生产↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ +↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓更新了山大生产↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ + + +ALTER TABLE t_patient_information_record ADD car_user tinyint(1) NULL DEFAULT 0 COMMENT '平车或用户(0-平车,1-用户)' + +ALTER TABLE t_patient_information_record ADD user_id bigint(20) NULL DEFAULT 0 COMMENT '用户id' + +ALTER TABLE t_patient_information_record ADD INDEX user_index ( `user_id` ) + +↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓未更新生产↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ + +患者平车表t_patient_wisdom_car task_sub_id 字段改为 batch +环节任务表 t_step_task 字段batch 改为 bigint \ No newline at end of file From 31ecb4e1e26c0e949ad7385f9b16eea0518638f1 Mon Sep 17 00:00:00 2001 From: ma <1062634917@qq.com> Date: Fri, 18 Jun 2021 11:47:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B1=B1=E5=A4=A7?= =?UTF-8?q?=E7=94=9F=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 内部项目/wisdomcar.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/内部项目/wisdomcar.sql b/内部项目/wisdomcar.sql index 64a545a..89e4ff1 100644 --- a/内部项目/wisdomcar.sql +++ b/内部项目/wisdomcar.sql @@ -409,6 +409,6 @@ ALTER TABLE t_patient_information_record ADD user_id bigint(20) NULL DEFAULT 0 C ALTER TABLE t_patient_information_record ADD INDEX user_index ( `user_id` ) ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓未更新生产↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ - +↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓更新了山大生产↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 患者平车表t_patient_wisdom_car task_sub_id 字段改为 batch 环节任务表 t_step_task 字段batch 改为 bigint \ No newline at end of file From 4caeec563756f5d39598fb8e057ffbd21e0e325c Mon Sep 17 00:00:00 2001 From: hyy-alt <1041001226@qq.com> Date: Fri, 18 Jun 2021 14:32:25 +0800 Subject: [PATCH 3/3] sql --- 外部项目/绿谷及创时代/greenvalley.sql | 52 ++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/外部项目/绿谷及创时代/greenvalley.sql b/外部项目/绿谷及创时代/greenvalley.sql index e5ac66b..50b9055 100644 --- a/外部项目/绿谷及创时代/greenvalley.sql +++ b/外部项目/绿谷及创时代/greenvalley.sql @@ -816,7 +816,7 @@ CREATE TABLE `t_user` ( -- ---------------------------- -- Table structure for t_video_verify --- ---------------------------- +-- ---------------------------- DROP TABLE IF EXISTS `t_video_verify`; CREATE TABLE `t_video_verify` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -831,3 +831,53 @@ CREATE TABLE `t_video_verify` ( ) ENGINE = InnoDB AUTO_INCREMENT = 87 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '视频审核表' ROW_FORMAT = Dynamic; SET FOREIGN_KEY_CHECKS = 1; + + + + + +-- 导师表添加所属平台字段 同步维基的字段 2121.6.15 + ALTER TABLE t_researchers + ADD `platform` tinyint(1) DEFAULT 1 COMMENT '所属平台(0-全部,1-创新平台,2-孵化平台,3-产业平台)', + ADD `sex` tinyint(1) DEFAULT 1 COMMENT '性别(0-女,1-男)', + ADD `intro` varchar(500) DEFAULT '' COMMENT '简介', + ADD `resume` int(11) DEFAULT 0 COMMENT '简历', + ADD `teacher_photo` int(11) DEFAULT 0 COMMENT '导师照片', + ADD `offer` int(11) DEFAULT 0 COMMENT '聘书(照片)', + ADD `service_case` varchar(2000) DEFAULT '' COMMENT '服务案例': + + +-- 2121.6.16 企业信息填报Enterprise information +DROP TABLE IF EXISTS `t_enterprise_information`; +CREATE TABLE `t_enterprise_information` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `place_id` int(11) NULL DEFAULT 0 COMMENT 't_place_apply表的id(企业id)', + `practical_number` int(11) DEFAULT 0 COMMENT '实用本年期初数', + `practical_increase` int(11) DEFAULT 0 COMMENT '实用当年新增', + `invention_number` int(11) DEFAULT 0 COMMENT '发明本年期初书', + `invention_increase` int(11) DEFAULT 0 COMMENT '发明当年新增', + `soft_number` int(11) DEFAULT 0 COMMENT '软著本年期初数', + `soft_increase` int(11) DEFAULT 0 COMMENT '软著当年新增', + `brand_number` int(11) DEFAULT 0 COMMENT '商标本年期初书', + `brand_increase` int(11) DEFAULT 0 COMMENT '商标当年新增', + `total_number` int(11) DEFAULT 0 COMMENT '人员总数', + `science_personnel` int(11) DEFAULT 0 COMMENT '科技人员', + `collegeabove_number` int(11) DEFAULT 0 COMMENT '大专以上人数', + `total_assets` decimal(20,2) DEFAULT NULL COMMENT '资产总额', + `operating_income` decimal(20,2) DEFAULT NULL COMMENT '营业收入', + `profit_total` decimal(20,2) DEFAULT NULL COMMENT '利润总额', + `taxes` decimal(20,2) DEFAULT NULL COMMENT '上缴税金', + `research_costs` decimal(20,2) DEFAULT NULL COMMENT '研发费用', + `agent_service` int(11) DEFAULT 0 COMMENT '代理代办', + `policy_push` int(11) DEFAULT 0 COMMENT '政策推送', + `double_activities` int(11) DEFAULT 0 COMMENT '双创活动', + `policy_guidance` int(11) DEFAULT 0 COMMENT '政策辅导', + `project_declaration` int(11) DEFAULT 0 COMMENT '项目申报', + `time` int(11) DEFAULT 0 COMMENT '时间', + `quarter` tinyint(1) DEFAULT 0 COMMENT '季度(1-第一季度2-第二季度3-第三季度4-第四季度)', + `created_at` timestamp NOT NULL DEFAULT current_timestamp, + `update_at` timestamp NOT NULL DEFAULT current_timestamp, + `rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态 0正常 1禁用 2删除', + PRIMARY KEY (`id`) USING BTREE, + INDEX `t_place_apply`(`place_id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 87 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '企业统计信息填报表' ROW_FORMAT = Dynamic;