Commit be704fab by 仲光辉

feat: add sql.

parent 13ed427a
# alter table admin
# alter table admin
......@@ -3412,6 +3412,282 @@
# alter table agency
# modify concat varchar(30) null comment '联系方式';
INSERT INTO text_data
(uuid, business_uuid, type, `key`, value, key_name, remark, is_base, sort, is_delete, create_time, update_time) VALUE (
8292834495442994847,
null,
'model',
'8',
null,
'交房备忘录',
'交房备忘录',
1,
1,
0,
now(),
now());
UPDATE text_data t
SET t.value = '[
{
"name": "sign",
"value": [
{
"name": "基础信息",
"value": [
{
"text": "{{交房-项目名称}}",
"remark": "武汉大厦"
},
{
"text": "{{交房-单元}}",
"remark": "1056"
},
{
"text": "{{交房-公司}}",
"remark": "苹果科技"
},
{
"text": "{{交房-起租日期}}",
"remark": "2023年10月01号"
},
{
"text": "{{交房-招商经理}}",
"remark": "李达修"
},
{
"text": "{{交房-对接人}}",
"remark": "王碧莲"
},
{
"text": "{{交房-对接时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{交房-联系方式}}",
"remark": "14678389046"
},
{
"text": "{{交房-首付款是否}}",
"remark": "是/否"
},
{
"text": "{{交房-首付款完成}}",
"remark": "2023年10月01号"
},
{
"text": "{{交房-行政经理}}",
"remark": "宋高迪"
},
{
"text": "{{交房-合同签约情况}}",
"remark": "已签合同/未签合同"
},
{
"text": "{{交房-行业}}",
"remark": "软件技术"
},
{
"text": "{{交房-交楼日期}}",
"remark": "2023年10月01号"
},
{
"text": "{{交房-是否提前交楼}}",
"remark": "是/否"
},
{
"text": "{{交房-是否提供提前交楼申请书}}",
"remark": "是/否"
}
]
},
{
"name": "前置工作事项",
"value": [
{
"text": "{{工商-是否}}",
"remark": "是/否"
},
{
"text": "{{工商-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{工商-情况说明}}",
"remark": "说明"
},
{
"text": "{{工商-实际完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{工程-是否}}",
"remark": "是/否"
},
{
"text": "{{工程-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{工程-情况说明}}",
"remark": "说明"
},
{
"text": "{{工程-实际完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{家私-是否}}",
"remark": "是/否"
},
{
"text": "{{家私-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{家私-情况说明}}",
"remark": "说明"
},
{
"text": "{{家私-实际完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{网络-是否}}",
"remark": "是/否"
},
{
"text": "{{网络-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{网络-情况说明}}",
"remark": "说明"
},
{
"text": "{{网络-实际完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{商务-是否}}",
"remark": "是/否"
},
{
"text": "{{商务-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{商务-情况说明}}",
"remark": "说明"
},
{
"text": "{{商务-实际完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{门禁-是否}}",
"remark": "是/否"
},
{
"text": "{{门禁-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{门禁-情况说明}}",
"remark": "说明"
},
{
"text": "{{门禁-实际完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{停车-是否}}",
"remark": "是/否"
},
{
"text": "{{停车-计划完成时间}}",
"remark": "2023年10月01号"
},
{
"text": "{{停车-情况说明}}",
"remark": "说明"
},
{
"text": "{{停车-实际完成时间}}",
"remark": "2023年10月01号"
}
]
}
]
}
]'
WHERE t.uuid = 8292834495442994847;
alter table contract_file
modify type int(1) null comment '类型:1合同文件(contract);2变更主体文件(company_change)3.合同附件 4.退租附件 ;5.物业费合同;6。合同补充协议 7意向书合同文件 ; 8温馨涵 9:意向书附件;10:合同变更附件 11:通知文书(etc.交楼单) 12:合同变更协议文件 13:交房备忘录';
alter table contract_model
modify type int(1) null comment '1合同打印模板,2合同印章,3意向书打印模板,4温馨函打印模板,5意向书印章,6催款函打印模板,7催款函印章,
8通知单打印模板,9通知单印章,
10 物业费合同;11 补充协议,
12退租结算表 13:交楼单 14:交房备忘录';
INSERT INTO contract_model
(uuid, name, model_url, type, seal_type, seal, perforation_seal, enable_perforation, create_uuid, update_uuid,
perforation_seal_type, contract_model_type, seal_key_words, sub_type) VALUE
(3675352949657984296,'交房备忘录模版',null,14,null,null,null,0,-1,-1,null,null,null,null);
UPDATE contract_model t
SET t.model_url = '[
{
"url": "cms/files/f996f730-7d20-11ee-9cc9-3b724c569c40.docx",
"name": "02 交房备忘录(内部存档)改版(2023年2月版).docx"
}
]'
WHERE t.uuid = 3675352949657984296;
CREATE TABLE `dynamic_config`
(
`dynamic_config_uuid` bigint(20) NOT NULL COMMENT 'uuid',
`config_type` tinyint(1) NOT NULL COMMENT '配置类型',
`config_value` text NOT NULL COMMENT '配置值 ',
`config_desc` varchar(150) NOT NULL COMMENT '配置描述',
PRIMARY KEY (`dynamic_config_uuid`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COMMENT ='基于数据库的动态配置';
create index dynamic_config_config_type_index
on dynamic_config (config_type);
alter table delivery_memo
add is_advance_delivery tinyint(1) default 0 null comment '是否提前交楼 0:否 1:是';
alter table delivery_memo
add is_provide_advance_application tinyint(1) default 0 null comment '是否提供提前交楼申请书 0:否 1:是';
alter table delivery_memo
add delivery_time date null comment '对接时间';
alter table delivery_memo
add executive_manager_uuid tinytext null comment '行政经理 uuid';
alter table delivery_memo
add executive_manager_name tinytext null comment '行政经理名字';
alter table delivery_memo_pre_service_info
add ext tinytext null comment '拓展信息';
alter table contract
add is_original_contract tinyint(1) default 0 null comment ' 是否原始合同 0:否 1:是';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment