Commit 10ed24f3 by 崔彦峰

feat(contract): 新增小鹏合同模板并删除旧模板

- 新增小鹏旧机动车收购合同模板两条记录
- 更新旧合同模板的删除标识为已删除状态
- 涉及电子合同模板表的数据变更操作
1 parent 68f7bb16
...@@ -237,4 +237,18 @@ WHERE t1.deleted_flag = 'N' ...@@ -237,4 +237,18 @@ WHERE t1.deleted_flag = 'N'
AND (t3.biz_instance_id IS NULL OR t3.biz_instance_id <> CAST(t1.source_id AS CHAR)); AND (t3.biz_instance_id IS NULL OR t3.biz_instance_id <> CAST(t1.source_id AS CHAR));
### 杨卫 ---------------end--------------------------------
\ No newline at end of file \ No newline at end of file
### 杨卫 ---------------end--------------------------------
### 崔彦峰 ---------------start--------------------------------
#新增小鹏合同模版
INSERT INTO `dj_smartcarlife`.`vcp_electronic_contract_template` ( `doc_template_id`, `doc_template_name`, `doc_template_type`, `file_id`, `contract_org`, `created_by`, `created_date`, `updated_by`, `updated_date`, `deleted_flag` )
VALUES
( '88710cc50679497bb843943a3e4e3b4d', '小鹏旧机动车收购合同', '5', '3219c54d31904ab78f313bb5bbd774c7', 'hzglsk', 'admin', now(), 'admin', now(), 'N' ),
( '11e3e65779d94aeabe866162a5498eb3', '小鹏旧机动车收购合同', '5', '3219c54d31904ab78f313bb5bbd774c7', 'szyjzh', 'admin', now(), 'admin', now(), 'N' );
#删除小鹏合同旧模版
UPDATE vcp_electronic_contract_template SET deleted_flag = 'D' WHERE id IN (14,15);
### 崔彦峰 ---------------end--------------------------------
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!