Commit 9e3b7f53 by 王璐琦

feat(database): 修改负责人类型字段并插入新数据

- 修改 dj_car_life_shop_merchant_director_config 表中 director_type 字段属性及注释
- 新增 director_type 为 13 的负责人数据,来源于原类型为 6 的记录
- 添加创建人和更新时间字段的默认赋值,确保数据一致性
1 parent e755f3ad
......@@ -11,6 +11,8 @@
### 富康 -----------------end---------------------
### 璐琦 -----------------start-------------------
alter table dj_car_life_shop_merchant_director_config
modify director_type tinyint null comment '负责人类型(1:精品升级业务负责人,2:精品升级业务服务商负责人,3:会员权益业务负责人,4:会员权益业务服务商负责人,5:1.1线上运营(原盯防负责人),6:1.1飞行督导,7:2.1线上运营,8:1.1区域运营,9:2.1区域运营,10:1.1业务归属,11:2.1业务归属,12:技师督导,13:2.1飞行督导)';
### 璐琦 -----------------end---------------------
### 林冲 -----------------start--------------------
......
......@@ -11,6 +11,22 @@
### 富康 -----------------end---------------------
### 璐琦 -----------------start-------------------
insert into dj_car_life_shop_merchant_director_config(merchant_id, director_type, director_user_id, director_name,
director_phone, created_by, created_date, updated_by,
updated_date, deleted_flag)
select merchant_id,
'13',
director_user_id,
director_name,
director_phone,
'wanglq20260513',
now(),
'wanglq20260513',
now(),
'N'
from dj_car_life_shop_merchant_director_config tmp
where tmp.deleted_flag = 'N'
and tmp.director_type = '6';
### 璐琦 -----------------end---------------------
### 林冲 -----------------start--------------------
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!