Commit a04fecbd by 王璐琦

refactor(db): 调整日报记录表部分字段默认值及注释

- 修改dj_car_life_daily_report_record表report_status字段默认值为1,增加注释说明
- 更改template_type字段默认值为2,更新字段注释
- 将已废弃字段状态标注清晰,便于后续维护
- 新增rpc配置文档,详细记录多环境下延保及权益相关配置项
1 parent 217eae51
...@@ -217,5 +217,11 @@ CREATE TABLE `dj_car_life_task_supervisor_coach` ( ...@@ -217,5 +217,11 @@ CREATE TABLE `dj_car_life_task_supervisor_coach` (
UNIQUE KEY `uk_task_center_id` (`task_center_id`) UNIQUE KEY `uk_task_center_id` (`task_center_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='事项-督导专项带教扩展表'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='事项-督导专项带教扩展表';
### 黄炜 -----------------end--------------------- ### 黄炜 -----------------end---------------------
### 王璐琦 -----------------start-----------------
alter table dj_car_life_daily_report_record
modify report_status tinyint default 1 null comment '填报状态(0:草稿,1:已保存) (废弃)';
alter table dj_car_life_daily_report_record
modify template_type tinyint default 2 null comment '模板类型:1=驻店日报(废弃),2=门店日报,3=洽谈明细(废弃)';
### 王璐琦 -----------------end-------------------
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
```properties
#【新增】
#整车延保
smartcarlife.goodsType.extendedInsurance.car=178
#电池延保
smartcarlife.goodsType.extendedInsurance.battery=187
#延保类-安心包 二级品类
smartcarlife.goodsType.extendedInsurance.ax.package=180
#轮胎
smartcarlife.goodsType.extendedInsurance.tire=184
#权益服务
smartcarlife.goodsType.equity.type=126
#原厂权益
smartcarlife.goodsType.extendedInsurance.originalFactoryEquity=189
#原厂延保
smartcarlife.goodsType.extendedInsurance.originalFactoryExtendedWarranty=253
#广联延保
smartcarlife.goodsType.extendedInsurance.glExtendedWarranty=254
#岚图品牌id
lt.car.child.brand.ids=2188
```
### 测试环境
```properties
```
### 预发布环境
```properties
```
### 线上环境
```properties
#【新增】
#整车延保
smartcarlife.goodsType.extendedInsurance.car=178
#电池延保
smartcarlife.goodsType.extendedInsurance.battery=187
#延保类-安心包 二级品类
smartcarlife.goodsType.extendedInsurance.ax.package=180
#轮胎
smartcarlife.goodsType.extendedInsurance.tire=184
#权益服务
smartcarlife.goodsType.equity.type=126
#原厂权益
smartcarlife.goodsType.extendedInsurance.originalFactoryEquity=189
#原厂延保
smartcarlife.goodsType.extendedInsurance.originalFactoryExtendedWarranty=253
#广联延保
smartcarlife.goodsType.extendedInsurance.glExtendedWarranty=254
```
###
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!