Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1ec232a1
authored
Jul 17, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增第一轮测试内容
1 parent
872a674d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
215 additions
and
6 deletions
21_v5.8.4_20260728/sql/DDL/scrm_equity-ddl.txt
21_v5.8.4_20260728/sql/DDL/scrm组dj_smartcarlife_ddl.sql
21_v5.8.4_20260728/配置/rop-dj-smartcarlife.md
21_v5.8.4_20260728/配置/rpc-dj-smartcarlife.md
21_v5.8.4_20260728/需求版本开发内容.md
21_v5.8.4_20260728/sql/DDL/scrm_equity-ddl.txt
0 → 100644
View file @
1ec232a
CREATE TABLE IF NOT EXISTS `auto_create_goods_mapping` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
`spu_id` varchar(64) DEFAULT NULL COMMENT 'spu_id',
`old_service_code` varchar(32) NOT NULL COMMENT '旧服务编码 (service_items.service_code)',
`new_service_code` varchar(32) DEFAULT NULL COMMENT '新服务编码 (创建后回填)',
`sku_id` varchar(64) DEFAULT NULL COMMENT 'sku_id',
`old_config_id` int(11) NOT NULL COMMENT '旧配置id (extend_item_specification_config.id)',
`new_config_id` int(11) DEFAULT NULL COMMENT '新配置id (创建后回填)',
`deleted_flag` varchar(2) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
`process_status` int(2) NOT NULL DEFAULT '0' COMMENT '处理状态(0:待处理;1:已处理;2:处理失败)',
`fail_reason` varchar(512) DEFAULT NULL COMMENT '失败原因',
`created_by` varchar(64) DEFAULT NULL COMMENT '创建人',
`created_date` datetime DEFAULT NULL COMMENT '创建时间',
`updated_by` varchar(64) DEFAULT NULL COMMENT '修改人',
`updated_date` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`),
KEY `idx_old_service_code` (`old_service_code`),
KEY `idx_old_config_id` (`old_config_id`),
KEY `idx_process_status` (`process_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='自动创建商品映射表';
\ No newline at end of file
\ No newline at end of file
21_v5.8.4_20260728/sql/DDL/scrm组dj_smartcarlife_ddl.sql
View file @
1ec232a
...
@@ -10,7 +10,78 @@
...
@@ -10,7 +10,78 @@
###
周海宝
-----------------end---------------------
###
周海宝
-----------------end---------------------
###
范富荣
-----------------start-------------------
###
范富荣
-----------------start-------------------
ALTER
TABLE
dj_smartcarlife
.
dj_car_life_wait_input_order
ADD
declaration_flag
int
(
11
)
NULL
COMMENT
'流水是否报备,0-否,1-是'
AFTER
reconciliation_rule_effect_rule_id
;
CREATE
TABLE
`dj_car_life_shop_lock_config`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键id'
,
`merchant_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'门店id'
,
`merchant_name`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'门店名称'
,
`store_type`
tinyint
(
2
)
NOT
NULL
DEFAULT
'0'
COMMENT
'门店类型(0:4s店,1:园区店)'
,
`lock_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
'N'
COMMENT
'是否开启锁单(Y:开启,N:关闭)'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'创建人'
,
`created_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'修改人'
,
`updated_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识(D:已删除;N:未删除)'
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`uk_merchant_id`
(
`merchant_id`
,
`deleted_flag`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'门店锁单配置表'
;
CREATE
TABLE
`dj_car_life_abnormal_flow_declaration`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'自增ID'
,
`out_trade_no`
varchar
(
200
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'支付订单号'
,
`trade_no`
varchar
(
32
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'交易凭证号'
,
`abnormal_type`
tinyint
(
4
)
NOT
NULL
DEFAULT
'0'
COMMENT
'异常类型(1-已付款未录单 2-多流水对应一单 3-一流水对应多单 4-对公收款 5-混合支付 6-金额不一致 7-其他异常)'
,
`remark`
varchar
(
500
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'报备备注'
,
`approval_status`
tinyint
(
4
)
NOT
NULL
DEFAULT
'1'
COMMENT
'审批状态(1-待区域经理审批 2-区域经理审批驳回 3-待后台审批 4-后台审批驳回 5-审批通过)'
,
`delay_deadline`
datetime
DEFAULT
NULL
COMMENT
'延期截止时间'
,
`overdue_flag`
tinyint
(
4
)
NOT
NULL
DEFAULT
'0'
COMMENT
'过期标识(0-未过期 1-已过期)'
,
`submitter_uuid`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'提交人uuid'
,
`submitter_name`
varchar
(
128
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'提交人名称'
,
`yq_merchant_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'园区店商户ID'
,
`yq_merchant_name`
varchar
(
128
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'园区店商户名称'
,
`shop_merchant_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'支付流水所属导流方商户ID'
,
`shop_merchant_name`
varchar
(
128
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'支付流水所属导流方商户名称'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'创建人'
,
`created_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'修改人'
,
`updated_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识(D:已删除;N:未删除)'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_out_trade_no`
(
`out_trade_no`
(
191
))
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'异常流水报备主表'
;
CREATE
TABLE
`dj_car_life_abnormal_flow_voucher`
(
`id`
INT
NOT
NULL
AUTO_INCREMENT
COMMENT
'自增ID'
,
`abnormal_flow_declaration_id`
INT
NOT
NULL
COMMENT
'流水报备记录ID'
,
`voucher_image_url`
VARCHAR
(
500
)
DEFAULT
NULL
COMMENT
'凭证图片地址'
,
`created_by`
VARCHAR
(
64
)
NOT
NULL
COMMENT
'创建人'
,
`created_date`
DATETIME
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_by`
VARCHAR
(
64
)
NOT
NULL
COMMENT
'修改人'
,
`updated_date`
DATETIME
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
`deleted_flag`
CHAR
(
1
)
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识(D:已删除;N:未删除)'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_declaration_id`
(
`abnormal_flow_declaration_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'异常流水报备凭证表'
;
CREATE
TABLE
`dj_car_life_abnormal_flow_approval_log`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'自增ID'
,
`abnormal_flow_declaration_id`
int
(
11
)
NOT
NULL
COMMENT
'流水报备记录ID'
,
`before_status`
tinyint
(
4
)
DEFAULT
NULL
COMMENT
'操作前状态'
,
`after_status`
tinyint
(
4
)
DEFAULT
NULL
COMMENT
'操作后状态'
,
`operator_name`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'操作人姓名'
,
`operator_uuid`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'操作人UUID'
,
`remark`
varchar
(
500
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'备注'
,
`approval_source`
tinyint
(
4
)
NOT
NULL
DEFAULT
'0'
COMMENT
'审批来源(0-区域经理审批 1-总部运营)'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'创建人'
,
`created_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'修改人'
,
`updated_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识(D:已删除;N:未删除)'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_declaration_id`
(
`abnormal_flow_declaration_id`
),
KEY
`idx_created_date`
(
`created_date`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'异常流水审批日志表'
;
###
范富荣
-----------------end---------------------
###
范富荣
-----------------end---------------------
###
林永健
-----------------start-------------------
###
林永健
-----------------start-------------------
...
...
21_v5.8.4_20260728/配置/rop-dj-smartcarlife.md
0 → 100644
View file @
1ec232a
### 说明:
*
配置要备注【新增】、【修改】、【删除】
*
如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
```
properties
#【新增】过滤订单类型
abnormal.order.exclude.sceneType
=
3
abnormal.order.exclude.djOrderType
=
6
abnormal.order.test.priceLower
=
0
abnormal.order.test.priceUpper
=
10
order.manage.exclude.sales.type
=
2
order.manage.exclude.dj.order.type
=
6
```
### 测试环境
```
properties
#【新增】过滤订单类型
abnormal.order.exclude.sceneType
=
3
abnormal.order.exclude.djOrderType
=
6
abnormal.order.test.priceLower
=
0
abnormal.order.test.priceUpper
=
10
order.manage.exclude.sales.type
=
2
order.manage.exclude.dj.order.type
=
6
```
### 预发布环境
```
properties
#【新增】过滤订单类型
abnormal.order.exclude.sceneType
=
3
abnormal.order.exclude.djOrderType
=
6
abnormal.order.test.priceLower
=
0
abnormal.order.test.priceUpper
=
10
order.manage.exclude.sales.type
=
2
order.manage.exclude.dj.order.type
=
6
```
### 线上环境
```
properties
#【新增】过滤订单类型
abnormal.order.exclude.sceneType
=
3
abnormal.order.exclude.djOrderType
=
6
abnormal.order.test.priceLower
=
0
abnormal.order.test.priceUpper
=
10
order.manage.exclude.sales.type
=
2
order.manage.exclude.dj.order.type
=
6
```
###
21_v5.8.4_20260728/配置/rpc-dj-smartcarlife.md
View file @
1ec232a
...
@@ -18,6 +18,11 @@ product.staff.notify.workwechat.agentid=1000153
...
@@ -18,6 +18,11 @@ product.staff.notify.workwechat.agentid=1000153
# 新增,连接预发布
# 新增,连接预发布
wechat.base.path
=
https://scrm.beta.glsx.com.cn/wechat-build-server/
wechat.base.path
=
https://scrm.beta.glsx.com.cn/wechat-build-server/
#【新增】喜报过滤特殊类型
order.goodnews.exclude.salesTypes
=
2
order.goodnews.exclude.djOrderTypes
=
6
#【新增】企微推送跳转地址
abnormal.flow.declaration.approve.url
=
https://wechatlink-dj.test.glsx.com.cn/?path=packageWorkspace/pages/cashFlowReview/pages/cashFlowDetail/cashFlowDetail&appId=wx2c8b46f19cb5cd35&id=%s
```
```
...
@@ -38,7 +43,11 @@ product.staff.notify.workwechat.agentid=1000153
...
@@ -38,7 +43,11 @@ product.staff.notify.workwechat.agentid=1000153
# 新增,连接预发布
# 新增,连接预发布
wechat.base.path
=
https://scrm.beta.glsx.com.cn/wechat-build-server/
wechat.base.path
=
https://scrm.beta.glsx.com.cn/wechat-build-server/
#【新增】喜报过滤特殊类型
order.goodnews.exclude.salesTypes
=
2
order.goodnews.exclude.djOrderTypes
=
6
#【新增】企微推送跳转地址
abnormal.flow.declaration.approve.url
=
https://wechatlink-dj.test.glsx.com.cn/?path=packageWorkspace/pages/cashFlowReview/pages/cashFlowDetail/cashFlowDetail&appId=wx2c8b46f19cb5cd35&id=%s
```
```
### 预发布环境
### 预发布环境
...
@@ -57,7 +66,11 @@ product.staff.notify.workwechat.agentid=1000153
...
@@ -57,7 +66,11 @@ product.staff.notify.workwechat.agentid=1000153
# 新增,连接预发布
# 新增,连接预发布
wechat.base.path
=
https://scrm.beta.glsx.com.cn/wechat-build-server/
wechat.base.path
=
https://scrm.beta.glsx.com.cn/wechat-build-server/
#【新增】喜报过滤特殊类型
order.goodnews.exclude.salesTypes
=
2
order.goodnews.exclude.djOrderTypes
=
6
#【新增】企微推送跳转地址
abnormal.flow.declaration.approve.url
=
https://wechatlink-dj.test.glsx.com.cn/?path=packageWorkspace/pages/cashFlowReview/pages/cashFlowDetail/cashFlowDetail&appId=wx2c8b46f19cb5cd35&id=%s
```
```
### 线上环境
### 线上环境
...
@@ -73,6 +86,11 @@ product.staff.notify.workwechat.merchantid=442008611
...
@@ -73,6 +86,11 @@ product.staff.notify.workwechat.merchantid=442008611
product.staff.notify.workwechat.agentid
=
1000153
product.staff.notify.workwechat.agentid
=
1000153
# 新增
# 新增
wechat.base.path
=
https://scrm.glsx.com.cn/wechat-build-server/
wechat.base.path
=
https://scrm.glsx.com.cn/wechat-build-server/
#【新增】喜报过滤特殊类型
order.goodnews.exclude.salesTypes
=
2
order.goodnews.exclude.djOrderTypes
=
6
#【新增】企微推送跳转地址
abnormal.flow.declaration.approve.url
=
https://wechatlink-dj.glsx.com.cn/?path=packageWorkspace/pages/cashFlowReview/pages/cashFlowDetail/cashFlowDetail&appId=wx2c8b46f19cb5cd35&id=%s
```
```
###
###
...
...
21_v5.8.4_20260728/需求版本开发内容.md
View file @
1ec232a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
| SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 |
| SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 |
|--------------|:--------------:|--------|-------|-------|-------|------|
|--------------|:--------------:|--------|-------|-------|-------|------|
|
| | |
| | | |
|
http://192.168.3.233:8090/scrm/rpc-scrm-equity.git | v5.8.3 | rpc-scrm-equity | 范富荣
| | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
...
@@ -33,9 +33,54 @@
...
@@ -33,9 +33,54 @@
#### 第一轮提测
#### 第一轮提测
#### 变更内容
#### 变更内容
-
rop-dj-car-boutique
-
dj.api.smartcarlife.weapp.waitinputorder.union.count(异常流水统计次数,无入参,返回取:totalCount(流水总数),notDeclaredCount(待报备总数),declaredCount(已报备总数))
-
dj.api.smartcarlife.abnormalFlowDeclaration.checkShopLock(查询门店锁单限制,入参:merchantId,返回true/false)
-
dj.api.smartcarlife.weapp.waitinputorder.union.page(分页查询合并的待补录订单,入参:currentPage,pageSize,declarationFlag(流水是否报备(1-已报备,0-未报备))
-
dj.api.smartcarlife.abnormalFlowDeclaration.page(分页查询异常流水报备列表,入参:currentPage,pageSize,appShopMerchantId;)
-
dj.api.smartcarlife.abnormalFlowDeclaration.submit(提交流水报备信息)
-
dj.api.smartcarlife.abnormalFlowDeclaration.detail(查询异常流水报备详情)
-
dj.api.smartcarlife.abnormalFlowDeclaration.regionManagerApprove(区域经理审批流水报备)
-
dj.api.smartcarlife.abnormalFlowDeclaration.getAreaSupervisionShops(查询当前区域运营关联的门店信息)
-
rop-dj-smartcarlife
-
dj.api.smartcarlife.shop.lock.config.save(新增或修改门店锁单开关配置)
-
dj.api.smartcarlife.shop.lock.config.get(查询门店锁单配置)
-
dj.api.smartcarlife.abnormal.payment.detail.page(异常流水明细列表, 新增返回字段:declarationId(报备id), declarationApprovalStatus(审批状态))
-
dj.api.smartcarlife.pc.abnormalFlowDeclaration.detail(查询异常流水报备详情)
-
dj.api.smartcarlife.pc.abnormalFlowDeclaration.approve(总部运营审批流水报备)
-
dj.api.smartcarlife.abnormal.order.page(异常订单管理分页列表,加条件排除异常订单sql)
-
dj.api.smartcarlife.abnormal.order.stat(异常订单管理汇总接口,加条件排除异常订单sql)
-
dj.api.smartcarlife.abnormal.order.page.export.async(异常订单导出汇总表)
-
dj.api.smartcarlife.abnormal.detail.export.async(明细导出)
-
dj.api.smartcarlife.abnormal.order.detail.page(异常订单明细分页查询)
-
dj.api.smartcarlife.abnormal.detail.stat(异常明细统计)
-
dj.api.smartcarlife.ordermanage.page(分页查询精品升级订单,新增excludeSpecialOrder字段,排除特殊订单开关 0-关 1-开)
-
dj.api.smartcarlife.ordermanage.count(分页查询精品升级订单汇总,新增excludeSpecialOrder字段,排除特殊订单开关 0-关 1-开)
-
dj.api.smartcarlife.ordermanage.export(精品导出,新增excludeSpecialOrder字段,排除特殊订单开关 0-关 1-开)
-
dj.api.quotation.smartcarlife.quotation.page(车损升级分页查询,新增excludeSpecialOrder字段,排除特殊订单开关 0-关 1-开)
-
dj.api.quotation.smartcarlife.quotation.export(车损升级导出,新增excludeSpecialOrder字段,排除特殊订单开关 0-关 1-开)
-
cn.com.glsx.dj.smartcarlife.service.OrderAfterWorkService#handleToShop(精品升级,发送喜报,过滤特殊类型)
-
cn.com.glsx.dj.smartcarlife.service.vd.ReportDataService#sendCongratulations(车损升级,发送喜报)
-
rpc-dj-smartcarlife-job
-
cn.com.glsx.dj.smartcarlife.job.abnormalflow.AbnormalFlowOverdueCheckJob(异常流水报备过期检查任务)
-
rpc-scrm-equity
-
cn.com.glsx.scrm.equity.job.AutoCreateGoodsJob(自动创建商品定时任务)
-
cn.com.glsx.scrm.equity.service.ServiceMerchantConfigService#syncBasePackageInfo(同步产品,新增更新spuId逻辑)
#### 影响范围
#### 影响范围
-
生意助手员工版小程序
-
异常流水报备(权益/轻改):流水查询、报备详情、报备列表、报备提交,锁单,提醒
-
新建工单(权益/轻改):喜报推送限制
-
区域助手小程序
-
异常流水审批:流水查询、报备详情、报备审批
-
嘀加智享车生活
-
财务管理-异常订单管理:异常订单管理分页列表、异常订单管理汇总、异常订单导出、异常订单明细分页查询、异常明细统计,线上运营审批
-
嘀加生意助手
-
订单管理:精品升级订单分页列表、精品升级订单汇总、精品升级订单导出、车损升级订单分页列表、车损升级订单汇总、车损升级订单导出(排除特殊订单)
-
scrm运营版
-
权益-服务项目:延保服务项目新增,修改;产品同步,产品迁移到新spu
### 第二轮提测
### 第二轮提测
#### 变更内容2
#### 变更内容2
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment