Commit 778db399 by 潘诗林

v5.8.0 code-review

1 parent ea1971f5
## 1、【运营日常分析业绩波动并进行问题归因】:
改动代码:
- rop-dj-smartcarlife:
- dj.api.smartcarlife.productManager.sku.batch.add.template.export SKU批量新增模版下载
- dj.api.smartcarlife.productManager.sku.batch.add.import SKU批量新增导入
- dj.api.smartcarlife.productManager.spu.sku.batch.add.template.export SPU/SKU批量新增模版下载
- dj.api.smartcarlife.productManager.spu.sku.batch.add.import SPU/SKU批量新增导入
- dj.api.smartcarlife.productManager.sku.batch.update.export SKU批量修改导出
- dj.api.smartcarlife.productManager.sku.batch.update.import SKU批量修改导入
- 影响功能点:
- 嘀加智享车生活
- 商品管理-产品主数据-产品管理
- 批量新增SPU/SKU
- 批量新增SKU
- 批量修改SKU
- 门店详情、漏斗图
-----------------------------------------
#### review前:
![img.png](img.png)
#### review后:
![img_1.png](img_1.png)
review是否通过:通过
问题描述:优化代码写法
## 创建4s店人员配置
接口地址:/gsc-vcp-web-facade/storeConfig/create
### 1.批量修改sku导出
请求curl:
```shell
curl --location -g --request POST 'http://localhost:8392/rop-dj-smartcarlife/router/dj.api.common.async.exportExcel/1.0.0?exportParam={"method":"dj.api.smartcarlife.productManager.sku.batch.update.export","commodityCodeStr":"U2603251544335150002"}&sessionId=1b50415c-abd6-4ada-a8dc-4c9901261523' \
--header 'Referer: {{BASE_URL}}/swagger-ui/v3/index.html'
```
![img.png](img.png)
### 2.批量修改sku导入
本地测试用例:cn.com.glsx.dj.smartcarlife.controller.smartCarlife.MerchantConcatControllerTest#testUpdateSpu
![img_1.png](img_1.png)
### 3.SPU&SKU批量新增导入
本地测试用例:cn.com.glsx.dj.smartcarlife.controller.smartCarlife.MerchantConcatControllerTest#testAddSpu
![img_2.png](img_2.png)
### 4.SKU批量新增模版下载
curl --location --request POST 'http://localhost:8392/rop-dj-smartcarlife/router/dj.api.smartcarlife.productManager.sku.batch.add.template.export/1.0.0?sessionId=' \
--header 'Referer: {{BASE_URL}}/swagger-ui/v3/index.html'
![img_3.png](img_3.png)
### 4.SPU&SKU批量新增模版下载
curl --location --request POST 'http://localhost:8392/rop-dj-smartcarlife/router/dj.api.smartcarlife.productManager.sku.batch.add.template.export/1.0.0?sessionId=' \
--header 'Referer: {{BASE_URL}}/swagger-ui/v3/index.html'
![img_4.png](img_4.png)
### 5.SKU批量新增导入
本地测试用例:cn.com.glsx.dj.smartcarlife.controller.smartCarlife.MerchantConcatControllerTest#test
![img_5.png](img_5.png)
### 6.SPU&SKU批量新增导入
本地测试用例:cn.com.glsx.dj.smartcarlife.controller.smartCarlife.MerchantConcatControllerTest#testAddSpu
![img_5.png](img_5.png)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!