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 348c9437
authored
May 12, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
拍卖-优加车拍优惠券改动
1 parent
018e0d6d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
123 additions
and
3 deletions
12_二手车_v1.4.0/code_review/代码review模板(章家宝)/img.jpg
12_二手车_v1.4.0/code_review/代码review模板(章家宝)/img_1.jpg
12_二手车_v1.4.0/code_review/代码review模板(章家宝)/章家宝的代码.md
12_二手车_v1.4.0/sql/DDL/aus_ddl.sql
12_二手车_v1.4.0/sql/DML/aus.sql
12_二手车_v1.4.0/需求版本开发内容.md
12_二手车_v1.4.0/code_review/代码review模板(章家宝)/img.jpg
0 → 100644
View file @
348c943
131 KB
12_二手车_v1.4.0/code_review/代码review模板(章家宝)/img_1.jpg
0 → 100644
View file @
348c943
167 KB
12_二手车_v1.4.0/code_review/代码review模板(章家宝)/章家宝的代码.md
0 → 100644
View file @
348c943
## 1、【优加车拍 - 发放优惠券需求】:
改动代码:
-
aus-admin:
-
/rest/coupon/activity/add 新增优惠券活动
-
/rest/coupon/activity/update 编辑优惠券
-
/rest/coupon/activity/changeStatus 启动-停用活动
-
/rest/coupon/activity/delete 删除优惠券活动
-
/rest/coupon/activity/page 分页查询优惠券活动
-
/rest/coupon/activity/detail 获取优惠券活动详情
-
/rest/coupon/template/available 获取可用得的优惠券模板列表
-
/rest/coupon/template/add 新增优惠券模板
-
/rest/coupon/template/update 编辑优惠券模板
-
/rest/coupon/template/changeStatus 启动-停用优惠券模板
-
/rest/coupon/template/detail 获取优惠券模板详情
-
/rest/coupon/template/page 分页查询优惠券模板
-
/rest/coupon/template/manualDistribution 手动发放优惠券模板
-
/rest/coupon/distribution/record/page 分页查询优惠券发放记录
-
/rest/coupon/distribution/record/export 导出优惠券发放记录
-
/rest/coupon/distribution/record/reissue 优惠券发放记录补发
-
/rest/coupon/distribution/statistics、
-
aus-api:
-
/api/coupon/list 获取优惠券列表
-
/api/coupon/detail/{couponId} 获取优惠券详情
-
/api/coupon/popup 获取优惠券弹窗
-
/api/coupon/count 获取优惠券数量
-
/api/coupon/verify 核销优惠券
-
/api/coupon/order-coupons/305 获取订单优惠券
-
/api/coupon/latest-activity 获取最新优惠券活动
-
/api/coupon/red-dot 获取优惠券红点
-
影响功能点:
-
优加车拍
-
优惠卡券管理
-
优惠券管理 (分页查询,详情,手动发放,新增,修改,删除,删除)
-
优惠券活动管理 (分页查询,详情,新增,修改,删除,启动-停用)
-
优惠券发放记录 (分页查询,导出,补发)
- 优加车拍小程序
- 优惠券查询,详情,核销,弹窗,红点
-----------------------------------------
#### review前:

#### review后:

review是否通过:通过
问题描述:赋值冗余警告
需要处理的:
代码层面的errors必须修复
java:
probable bugs: 需要处理
-
nullability problems
-
Constant values
-
Malformed format string
-
Nullability and data flow problems
-
Optional.get() iscalled without isPresent() check
-
overwritten Map,Set or array element
-
statement has empty body
Threading issues:需要处理
-
Busy wait
error handing:需要处理
control flow issues:需要处理
numeric issues:需要处理
performance:需要处理
maven :需要处理
-
duplicate dependencies
mybatis:需要处理
-
mapper method inspection
-
mapper xml inspection
12_二手车_v1.4.0/sql/DDL/aus_ddl.sql
View file @
348c943
This diff is collapsed.
Click to expand it.
12_二手车_v1.4.0/sql/DML/aus.sql
View file @
348c943
...
@@ -25,3 +25,12 @@ INSERT INTO `event_type_config` (
...
@@ -25,3 +25,12 @@ INSERT INTO `event_type_config` (
INSERT
INTO
aus
.
event_type_config
(
EVENT_TYPE
,
EVENT_CODE
,
EVENT_NAME
,
EVENT_DESC
,
MODULE
,
IS_ACTIVE
,
DELETE_FLAG
,
REMARK
,
CREATE_BY
,
UPDATE_BY
,
CREATE_TIME
,
UPDATE_TIME
)
VALUES
(
'CLICK'
,
'click_coupon_popup_click'
,
'优惠券弹窗-点击领取'
,
'点击弹窗上主操作按钮(立即领取)时触发,关联参数:popup_type: 弹窗类型(过户/发放),coupon_id: 关联活动ID'
,
'HOME_COUPON'
,
1
,
'N'
,
NULL
,
NULL
,
NULL
,
NOW
(),
NULL
),
(
'CLICK'
,
'click_coupon_popup_close'
,
'优惠券弹窗-关闭弹窗'
,
'点击右上角“X”或蒙层直接关闭弹窗时触发,关联参数:popup_type: 弹窗类型'
,
'HOME_COUPON'
,
1
,
'N'
,
NULL
,
NULL
,
NULL
,
NOW
(),
NULL
),
(
'CLICK'
,
'click_home_banner_coupon'
,
'首页Banner-点击优惠券'
,
'点击首页优惠券活动引导Banner时触发,关联参数:activity_id: 关联活动ID'
,
'HOME_BANNER'
,
1
,
'N'
,
NULL
,
NULL
,
NULL
,
NOW
(),
NULL
),
(
'CLICK'
,
'click_coupon_rule_detail'
,
'优惠卡券-查看规则'
,
'点击单张卡券“使用说明”展开详情时触发,关联参数:coupon_id: 券实例ID'
,
'USER_CENTER_COUPON'
,
1
,
'N'
,
NULL
,
NULL
,
NULL
,
NOW
(),
NULL
),
(
'CLICK'
,
'click_order_coupon_change'
,
'订单结算-切换优惠券'
,
'结算页切换优惠券或选择不使用优惠券时触发,关联参数:selected_coupon_id: 最终选定券ID(空为不使用)'
,
'ORDER_PAYMENT'
,
1
,
'N'
,
NULL
,
NULL
,
NULL
,
NOW
(),
NULL
),
(
'CLICK'
,
'click_order_pay_submit'
,
'订单支付-提交支付'
,
'点击“去支付/提交订单”按钮且服务端返回成功触发,关联参数:used_coupon_id: 核销券ID,actual_discount_amount: 实际抵扣金额'
,
'ORDER_PAYMENT'
,
1
,
'N'
,
NULL
,
NULL
,
NULL
,
NOW
(),
NULL
);
12_二手车_v1.4.0/需求版本开发内容.md
View file @
348c943
...
@@ -49,10 +49,35 @@
...
@@ -49,10 +49,35 @@
*
/admin/rest/vehicle/vehicleStateCount 库存车辆状态数量统计
*
/admin/rest/vehicle/vehicleStateCount 库存车辆状态数量统计
*
/admin/rest/auctionOrder/orderStateCount 拍卖订单状态数量统计
*
/admin/rest/auctionOrder/orderStateCount 拍卖订单状态数量统计
*
/admin/rest/inspect/wo/statusCount 检测工单状态数量统计
*
/admin/rest/inspect/wo/statusCount 检测工单状态数量统计
*
/admin/rest/coupon/activity/add 新增优惠券活动
*
/admin/rest/coupon/activity/update 编辑优惠券
*
/admin/rest/coupon/activity/changeStatus 启动-停用活动
*
/admin/rest/coupon/activity/delete 删除优惠券活动
*
/admin/rest/coupon/activity/page 分页查询优惠券活动
*
/admin/rest/coupon/activity/detail 获取优惠券活动详情
*
/admin/rest/coupon/template/available 获取可用得的优惠券模板列表
*
/admin/rest/coupon/template/add 新增优惠券模板
*
/admin/rest/coupon/template/update 编辑优惠券模板
*
/admin/rest/coupon/template/changeStatus 启动-停用优惠券模板
*
/admin/rest/coupon/template/detail 获取优惠券模板详情
*
/admin/rest/coupon/template/page 分页查询优惠券模板
*
/admin/rest/coupon/template/manualDistribution 手动发放优惠券模板
*
/admin/rest/coupon/distribution/record/page 分页查询优惠券发放记录
*
/admin/rest/coupon/distribution/record/export 导出优惠券发放记录
*
/admin/rest/coupon/distribution/record/reissue 优惠券发放记录补发
*
/admin/rest/coupon/distribution/statistics、
*
aus-inspector
*
aus-inspector
*
/inspector/rest/inspectionRecord/save 保存-下一步(改造)
*
/inspector/rest/inspectionRecord/save 保存-下一步(改造)
*
/inspector/rest/inspectionRecord/completeInspection 完成检测(改造)
*
/inspector/rest/inspectionRecord/completeInspection 完成检测(改造)
*
aus-api
*
/api/coupon/list 获取优惠券列表
*
/api/coupon/detail/{couponId} 获取优惠券详情
*
/api/coupon/popup 获取优惠券弹窗
*
/api/coupon/count 获取优惠券数量
*
/api/coupon/verify 核销优惠券
*
/api/coupon/order-coupons/{id} 获取订单优惠券
*
/api/coupon/latest-activity 获取最新优惠券活动
*
/api/coupon/red-dot 获取优惠券红点
#### 影响范围
#### 影响范围
...
@@ -63,10 +88,14 @@
...
@@ -63,10 +88,14 @@
*
编辑报告
*
编辑报告
*
详情
*
详情
*
检测师管理
*
检测师管理
*
优惠卡券管理
*
优惠券管理 (分页查询,详情,手动发放,新增,修改,删除,删除)
*
优惠券活动管理 (分页查询,详情,新增,修改,删除,启动-停用)
*
优惠券发放记录 (分页查询,导出,补发)
*
检测端H5
*
检测端H5
*
提交检测
*
提交检测
*
优加车拍小程序
*
优惠券查询,详情,核销,弹窗,红点
### 第二轮提测
### 第二轮提测
...
...
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