Commit 92784b22 by 王璐琦

驻店日报脚本及配置提交

1 parent 50d00c22
......@@ -2,3 +2,19 @@ ALTER TABLE dj_car_life_merchant_goods_info
ADD COLUMN sell_price_valid_type TINYINT(2) NOT NULL DEFAULT 1 COMMENT '售价有效期类型:1-终生有效,2-临时有效' AFTER sell_price,
ADD COLUMN temp_valid_start_date DATE NULL COMMENT '临时有效开始日期' AFTER sell_price_valid_type,
ADD COLUMN temp_valid_end_date DATE NULL COMMENT '临时有效结束日期' AFTER temp_valid_start_date;
alter table dj_car_life_staff_daily_report_huawei
add extended_warranty_to_shop_count int(11) null comment '延保实际售前触客数' after equity_to_shop_count,
add real_equity_to_shop_count int(11) null comment '权益实际售前触客数' after extended_warranty_to_shop_count,
add after_sale_extended_warranty_to_shop_count int(11) null comment '延保实际售后触客数' after after_sale_equity_to_shop_count,
add after_sale_real_equity_to_shop_count int(11) null comment '权益实际售后触客数' after after_sale_extended_warranty_to_shop_count;
alter table dj_car_life_staff_daily_report_huawei
modify equity_to_shop_count int(11) null comment '实际售前触客数(延保+权益/轻改)';
alter table dj_car_life_staff_daily_report_huawei
modify after_sale_equity_to_shop_count int(11) null comment '实际售后触客数(延保+权益/轻改)';
alter table dj_car_life_goods_sub_order
add single_product_sales_price decimal(11, 2) null comment '商品销售单价' after upgrade_third_party_code,
add single_product_final_price decimal(11, 2) null comment '商品实付单价' after single_product_sales_price;
UPDATE dj_car_life_staff_daily_report_huawei
SET
extended_warranty_to_shop_count = equity_to_shop_count,
after_sale_extended_warranty_to_shop_count = after_sale_equity_to_shop_count;
UPDATE dj_car_life_goods_sub_order
SET
single_product_sales_price = CASE
WHEN number != 0 THEN total_price / number
ELSE NULL
END,
single_product_final_price = CASE
WHEN number != 0 THEN final_price / number
ELSE NULL
END;
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
## rpc-dj-smartcarlife
### 开发环境
```properties
#【新增】
# 安心包-安心包Lite
smartcarlife.goodsType.extendedInsurance.ax.package.lite=
```
### 测试环境
```properties
#【新增】
# 安心包-安心包Lite
smartcarlife.goodsType.extendedInsurance.ax.package.lite=
```
### 预发布环境
```properties
#【新增】
# 安心包-安心包Lite
smartcarlife.goodsType.extendedInsurance.ax.package.lite=
```
### 线上环境
```properties
#【新增】
# 安心包-安心包Lite
smartcarlife.goodsType.extendedInsurance.ax.package.lite=
```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!