Commit 8dbb689a by 林永健

v5.8.6

1 parent 98202f9c
ALTER TABLE scrm_account.`platform_merchant_staff_withdrawal`
ADD COLUMN `points_period_type` TINYINT(2) DEFAULT NULL COMMENT '积分时段归属(1=9月前积分,2=9月后积分)' AFTER `operator`;
ALTER TABLE scrm_shopmall.`shopmall_integral_transfer_out`
ADD COLUMN `points_period_type` TINYINT(2) DEFAULT NULL COMMENT '积分时段归属(1=9月前积分,2=9月后积分)' AFTER `province_name`;
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
```properties
POINTS_PERIOD_TYPE_MAPPING_ENV=[{"pointsPeriodType":1,"pointsPeriodTypeDesc":"26年9月前积分"},{"pointsPeriodType":2,"pointsPeriodTypeDesc":"26年9月后积分"}]
```
### 测试环境
```properties
POINTS_PERIOD_TYPE_MAPPING_ENV=[{"pointsPeriodType":1,"pointsPeriodTypeDesc":"26年9月前积分"},{"pointsPeriodType":2,"pointsPeriodTypeDesc":"26年9月后积分"}]
```
### 预发布环境
```properties
POINTS_PERIOD_TYPE_MAPPING_ENV=[{"pointsPeriodType":1,"pointsPeriodTypeDesc":"26年9月前积分"},{"pointsPeriodType":2,"pointsPeriodTypeDesc":"26年9月后积分"}]
```
### 线上环境
```properties
POINTS_PERIOD_TYPE_MAPPING_ENV=[{"pointsPeriodType":1,"pointsPeriodTypeDesc":"26年9月前积分"},{"pointsPeriodType":2,"pointsPeriodTypeDesc":"26年9月后积分"}]
```
###
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
```properties
```
### 测试环境
```properties
```
### 预发布环境
```properties
```
### 线上环境
```properties
scrm.points.withdrawal.enabled=false
scrm.points.withdrawal.recovery.date=
```
###
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
| http://192.168.3.233:8090/dj/rpc-dj-goods-listing.git | v5.8.6 | rpc-dj-goods-listing | 周立明 | | | | | | http://192.168.3.233:8090/dj/rpc-dj-goods-listing.git | v5.8.6 | rpc-dj-goods-listing | 周立明 | | | | |
| http://192.168.3.233:8090/dj/rop-dj-riskmanage.git | v5.8.6 | rop-dj-riskmanage | 周立明 | | | | | | http://192.168.3.233:8090/dj/rop-dj-riskmanage.git | v5.8.6 | rop-dj-riskmanage | 周立明 | | | | |
| http://192.168.3.233:8090/dj/rpc-dj-riskmanage.git | v5.8.6 | rpc-dj-riskmanage | 周立明 | | | | | | http://192.168.3.233:8090/dj/rpc-dj-riskmanage.git | v5.8.6 | rpc-dj-riskmanage | 周立明 | | | | |
| http://192.168.3.233:8090/scrm/rop-scrm-shopmall.git | v5.8.6 | rop-scrm-shopmall | 林永健 | | | | |
| http://192.168.3.233:8090/scrm/rop-scrm-stoassistant.git | v5.8.6 | rop-scrm-stoassistant | 林永健 | | | | |
| http://192.168.3.233:8090/scrm/rpc-scrm-shopmall.git | v5.8.6 | rpc-scrm-shopmall | 林永健 | | | | |
| http://192.168.3.233:8090/scrm/rpc-scrm-stoassistant.git | v5.8.6 | rpc-scrm-stoassistant | 林永健 | | | | |
## 三、需求变更记录 ## 三、需求变更记录
...@@ -179,6 +183,32 @@ ...@@ -179,6 +183,32 @@
- JdPayableBillSyncJob 金蝶应付单数据同步定时任务 - JdPayableBillSyncJob 金蝶应付单数据同步定时任务
- rpc-dj-goods-listing - rpc-dj-goods-listing
- GoodsListingApprovalService#buildApprovalPublishContext 套餐是按照套餐规则分润才默认开启财务规则校验 - GoodsListingApprovalService#buildApprovalPublishContext 套餐是按照套餐规则分润才默认开启财务规则校验
- rop-scrm-shopmall
- scrm.api.shopmall.integral.transfer.out.pointsPeriodType.map 获取积分时段归属映射
- ScoreSearchRequest 新增 pointsPeriodType 字段
- IntegralTransferOutDTO 新增 pointsPeriodType、pointsPeriodTypeDesc 字段
- rop-scrm-stoassistant
- MerchantStaffScoreSearchRopRequest 新增 pointsPeriodType 字段
- MerchantStaffScoreDetailRopResponse 新增 beforeSepWithdrawalScore、afterSepWithdrawalScore 字段
- stoassistant.api.score.detail 响应新增 V1/V2 可提现积分
- stoassistant.api.withdrawal.insert 新增分笔提现拦截(错误码 16000)、功能开关禁用提示(环境变量 scrm.points.withdrawal.enabled / scrm.points.withdrawal.recovery.date)
- stoassistant.api.withdrawal.list 响应新增 pointsPeriodType
- rop-scrm-shopmall
- IntegralTransferOutService#getPointsPeriodTypeMap 获取积分时段归属映射
- IntegralTransferOutService#fillPointsPeriodTypeDesc 填充积分时段归属中文描述
- IntegralTransferOutDTO / IntegralTransferOut 新增 pointsPeriodType、pointsPeriodTypeDesc 字段
- PointsPeriodTypeDTO 新增映射 DTO
- IntegralTransferOutMapper 支持 pointsPeriodType 查询
- scrm.api.shopmall.score.withdrawal.save 复用分笔提现拦截与功能开关校验
- scrm.api.shopmall.score.withdrawal.page 响应新增 pointsPeriodType
- rpc-scrm-stoassistant
- MerchantStaffScoreService#calculateSupportWithdrawalScoreByDate 分时段计算可提现积分
- MerchantStaffWithdrawalService#insertWithdrawal 新增功能开关校验、分笔提现拦截、积分时段归属标记
- MerchantStaffWithdrawalService#refundPoints 提现失败返还积分时修正入账时间
- MerchantStaffWithdrawalSearchRpcRequest / MerchantStaffWithdrawalListRpcResponse 新增 pointsPeriodType 字段
- MerchantStaffWithdrawalMapper 支持 pointsPeriodType 条件筛选
- BusinessExceptionEnum 新增 SPLIT_WITHDRAWAL_ERROR 错误码
- MerchantStaffWithdrawal 新增 pointsPeriodType 字段
#### 影响范围 #### 影响范围
...@@ -299,6 +329,13 @@ ...@@ -299,6 +329,13 @@
- commodityCode 产品ID - commodityCode 产品ID
- cn.com.glsx.dj.oaapproval.job.UsedCarImportJob 二手车上架 - cn.com.glsx.dj.oaapproval.job.UsedCarImportJob 二手车上架
- 积分提现(rop-scrm-shopmall / rop-scrm-stoassistant / rpc-scrm-shopmall / rpc-scrm-stoassistant)
- 员工端积分详情展示 V1(9月前可提现积分)和 V2(9月后可提现积分)
- 提现时功能开关校验、分笔提现拦截(V1>0 且金额≠V1 时提示先提现 V1)
- 员工端提现列表、运营端提现列表/转出列表展示积分时段归属(pointsPeriodType)
- 小程序端提现申请/列表展示积分时段归属
- 提现失败且属于 9 月前积分时,返还积分入账时间修正为 2026-08-31
### 第二轮提测 ### 第二轮提测
#### 变更内容2 #### 变更内容2
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!