Commit 25f8bf20 by 崔彦峰

feat(goods-listing): 新增前置费用配置并优化费用类目处理逻辑

- 在商品上架对账基础规则请求和DTO中新增管理层市场费是否前置和一线阳光是否前置字段
- 重构费用类目常量配置,移除OTHER_FEE1~4相关硬编码列表定义
- 优化审核发布服务中的费用类目处理逻辑,将OTHER_FEE1~4从导入阶段移到发布阶段动态派生
- 实现前置条件控制的其他费用规则处理,支持按绑定对账分组动态复制费用配置
- 移除历史草稿中已保存的OTHER_FEE1~4重复数据过滤逻辑
- 更新对账分组关联关系查找逻辑,使用relation_div_id进行精确匹配
- 修改费用类目导入保存逻辑,取消OTHER_FEE1~4在草稿阶段的入库操作
1 parent bbe3a1a7
package cn.com.glsx.dj.goods.listing.dto; package cn.com.glsx.dj.goods.listing.dto;
import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.ToString; import lombok.ToString;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
@Data @Data
@ToString @ToString
public class SaveReconciliationBaseRuleDTO implements Serializable{ public class SaveReconciliationBaseRuleDTO implements Serializable{
...@@ -28,4 +27,12 @@ public class SaveReconciliationBaseRuleDTO implements Serializable{ ...@@ -28,4 +27,12 @@ public class SaveReconciliationBaseRuleDTO implements Serializable{
private String firstLineSunshine2OnlinePointsFlag; private String firstLineSunshine2OnlinePointsFlag;
private String updatedBy; private String updatedBy;
@NotEmpty
@ApiModelProperty(name = "managementMarketingFeesPrerequisite", notes = "管理层市场费是否前置:是-Y 否-N")
private String managementMarketingFeesPrerequisite;
@NotEmpty
@ApiModelProperty(name = "firstLineSunshinePrerequisite", notes = "一线阳光是否前置:是-Y 否-N")
private String firstLineSunshinePrerequisite;
} }
...@@ -95,11 +95,7 @@ public class CommonConstants { ...@@ -95,11 +95,7 @@ public class CommonConstants {
FeeCategoryEnum.TRAFFIC_FEE.getValue(), FeeCategoryEnum.TRAFFIC_FEE.getValue(),
FeeCategoryEnum.SERVICE_PROVIDER_PROFIT_SHARING.getValue(), FeeCategoryEnum.SERVICE_PROVIDER_PROFIT_SHARING.getValue(),
FeeCategoryEnum.PARTNER_SETTLE_RESOURCE_FEE.getValue(), FeeCategoryEnum.PARTNER_SETTLE_RESOURCE_FEE.getValue(),
FeeCategoryEnum.SETTLE_OTHER_FEE.getValue(), FeeCategoryEnum.SETTLE_OTHER_FEE.getValue()
FeeCategoryEnum.OTHER_FEE1.getValue(),
FeeCategoryEnum.OTHER_FEE2.getValue(),
FeeCategoryEnum.OTHER_FEE3.getValue(),
FeeCategoryEnum.OTHER_FEE4.getValue()
); );
/** 商品上架精品升级场景分账设置费用类目**/ /** 商品上架精品升级场景分账设置费用类目**/
public static final List<Integer> GOODS_LISTING_SCENE1_DISTRIBUTION_EXPENSECATEGORY_IDS = Arrays.asList( public static final List<Integer> GOODS_LISTING_SCENE1_DISTRIBUTION_EXPENSECATEGORY_IDS = Arrays.asList(
...@@ -109,11 +105,7 @@ public class CommonConstants { ...@@ -109,11 +105,7 @@ public class CommonConstants {
FeeCategoryEnum.SETTLE_OTHER_FEE.getValue(), FeeCategoryEnum.SETTLE_OTHER_FEE.getValue(),
FeeCategoryEnum.PRODUCT_COST.getValue(), FeeCategoryEnum.PRODUCT_COST.getValue(),
// FeeCategoryEnum.RECOVERY_COST.getValue(), // FeeCategoryEnum.RECOVERY_COST.getValue(),
FeeCategoryEnum.HANDLING_FEE.getValue(), FeeCategoryEnum.HANDLING_FEE.getValue()
FeeCategoryEnum.OTHER_FEE1.getValue(),
FeeCategoryEnum.OTHER_FEE2.getValue(),
FeeCategoryEnum.OTHER_FEE3.getValue(),
FeeCategoryEnum.OTHER_FEE4.getValue()
); );
/** 商品上架会员权益场景分账设置费用类目**/ /** 商品上架会员权益场景分账设置费用类目**/
...@@ -123,11 +115,7 @@ public class CommonConstants { ...@@ -123,11 +115,7 @@ public class CommonConstants {
FeeCategoryEnum.PARTNER_SETTLE_RESOURCE_FEE.getValue(), FeeCategoryEnum.PARTNER_SETTLE_RESOURCE_FEE.getValue(),
FeeCategoryEnum.SETTLE_OTHER_FEE.getValue(), FeeCategoryEnum.SETTLE_OTHER_FEE.getValue(),
FeeCategoryEnum.THIRD_PARTY_COST.getValue(), FeeCategoryEnum.THIRD_PARTY_COST.getValue(),
FeeCategoryEnum.HANDLING_FEE.getValue(), FeeCategoryEnum.HANDLING_FEE.getValue()
FeeCategoryEnum.OTHER_FEE1.getValue(),
FeeCategoryEnum.OTHER_FEE2.getValue(),
FeeCategoryEnum.OTHER_FEE3.getValue(),
FeeCategoryEnum.OTHER_FEE4.getValue()
); );
/** 商品上架对账设置费用类目**/ /** 商品上架对账设置费用类目**/
......
package cn.com.glsx.dj.goods.listing.service; package cn.com.glsx.dj.goods.listing.service;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import cn.com.glsx.dj.goods.listing.dto.SaveDivisionBaseRuleDTO; import cn.com.glsx.dj.goods.listing.dto.SaveDivisionBaseRuleDTO;
import cn.com.glsx.dj.goods.listing.dto.SaveReconciliationBaseRuleDTO; import cn.com.glsx.dj.goods.listing.dto.SaveReconciliationBaseRuleDTO;
import cn.com.glsx.dj.goods.listing.mapper.GoodsListingBaseRuleMapper; import cn.com.glsx.dj.goods.listing.mapper.GoodsListingBaseRuleMapper;
...@@ -17,6 +10,12 @@ import cn.com.glsx.framework.core.enums.DefaultErrorEnum; ...@@ -17,6 +10,12 @@ import cn.com.glsx.framework.core.enums.DefaultErrorEnum;
import cn.com.glsx.framework.core.exception.RpcServiceException; import cn.com.glsx.framework.core.exception.RpcServiceException;
import cn.com.glsx.framework.core.util.RpcAssert; import cn.com.glsx.framework.core.util.RpcAssert;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import java.util.Date;
@Service @Service
@Slf4j @Slf4j
...@@ -83,6 +82,8 @@ public class GoodsListingBaseRuleService { ...@@ -83,6 +82,8 @@ public class GoodsListingBaseRuleService {
GoodsListingBaseRule goodsListingBaseRule = getByBusinessCode(dto.getBusinessCode()); GoodsListingBaseRule goodsListingBaseRule = getByBusinessCode(dto.getBusinessCode());
goodsListingBaseRule.setFirstLineSunshineOnlinePointsFlag(dto.getFirstLineSunshineOnlinePointsFlag()); goodsListingBaseRule.setFirstLineSunshineOnlinePointsFlag(dto.getFirstLineSunshineOnlinePointsFlag());
goodsListingBaseRule.setFirstLineSunshine2OnlinePointsFlag(dto.getFirstLineSunshine2OnlinePointsFlag()); goodsListingBaseRule.setFirstLineSunshine2OnlinePointsFlag(dto.getFirstLineSunshine2OnlinePointsFlag());
goodsListingBaseRule.setManagementMarketingFeesPrerequisite(dto.getManagementMarketingFeesPrerequisite());
goodsListingBaseRule.setFirstLineSunshinePrerequisite(dto.getFirstLineSunshinePrerequisite());
goodsListingBaseRule.setUpdatedBy(dto.getUpdatedBy()); goodsListingBaseRule.setUpdatedBy(dto.getUpdatedBy());
goodsListingBaseRule.setUpdatedDate(new Date()); goodsListingBaseRule.setUpdatedDate(new Date());
goodsListingBaseRuleMapper.updateByPrimaryKey(goodsListingBaseRule); goodsListingBaseRuleMapper.updateByPrimaryKey(goodsListingBaseRule);
......
...@@ -2826,7 +2826,6 @@ public class GoodsListingSubmitService { ...@@ -2826,7 +2826,6 @@ public class GoodsListingSubmitService {
Map<Integer, String> rowMerchantGoodsCodeMap = buildRowMerchantGoodsCodeMap(submitDTO.getGlobalContext(), list); Map<Integer, String> rowMerchantGoodsCodeMap = buildRowMerchantGoodsCodeMap(submitDTO.getGlobalContext(), list);
Map<Integer, Integer> productBaseIdMap = saveProductBaseAndGetIdMap(submitDTO, businessCode, updatedBy, list); Map<Integer, Integer> productBaseIdMap = saveProductBaseAndGetIdMap(submitDTO, businessCode, updatedBy, list);
saveProductDetails(submitDTO.getGlobalContext(), list, businessCode, productBaseIdMap, rowMerchantGoodsCodeMap, updatedBy, submitDTO.getBaseSceneCode()); saveProductDetails(submitDTO.getGlobalContext(), list, businessCode, productBaseIdMap, rowMerchantGoodsCodeMap, updatedBy, submitDTO.getBaseSceneCode());
// saveCommonGroupAndRelations(submitDTO, businessCode, list, updatedBy, rowMerchantGoodsCodeMap);
} }
/** /**
...@@ -3244,7 +3243,7 @@ public class GoodsListingSubmitService { ...@@ -3244,7 +3243,7 @@ public class GoodsListingSubmitService {
if (Objects.equals(buildResult.getRuleType(), (byte) 3)) { if (Objects.equals(buildResult.getRuleType(), (byte) 3)) {
relationDivId = settleGroupIdMap == null ? null : settleGroupIdMap.get(draft); relationDivId = settleGroupIdMap == null ? null : settleGroupIdMap.get(draft);
if (relationDivId == null) { if (relationDivId == null) {
// 对账分组必须能反查到同一组合分组下的财务分组,否则后续OTHER_FEE1~4无法按对账规则取值。 // 对账分组必须能反查到同一组合分组下的财务分组,审核发布阶段会按该关系派生OTHER_FEE1~4。
throw new RpcServiceException("保存对账品类分组失败:缺少关联的财务品类分组ID"); throw new RpcServiceException("保存对账品类分组失败:缺少关联的财务品类分组ID");
} }
} }
...@@ -3268,7 +3267,7 @@ public class GoodsListingSubmitService { ...@@ -3268,7 +3267,7 @@ public class GoodsListingSubmitService {
} }
if (Objects.equals(buildResult.getRuleType(), (byte) 1)) { if (Objects.equals(buildResult.getRuleType(), (byte) 1)) {
ExpenseRuleBuildResult expenseRuleBuildResult = buildExpenseRules(saveBaseRule, group.getId(), draft.getAnchorRow(),baseSceneCode); ExpenseRuleBuildResult expenseRuleBuildResult = buildExpenseRules(saveBaseRule, group.getId(), draft.getAnchorRow(), baseSceneCode);
if (expenseRuleBuildResult != null && CollectionUtils.isNotEmpty(expenseRuleBuildResult.getExpenseRules())) { if (expenseRuleBuildResult != null && CollectionUtils.isNotEmpty(expenseRuleBuildResult.getExpenseRules())) {
goodsListingExpenseCategoryRuleService.insertBatch(expenseRuleBuildResult.getExpenseRules(), updatedBy); goodsListingExpenseCategoryRuleService.insertBatch(expenseRuleBuildResult.getExpenseRules(), updatedBy);
} }
...@@ -3287,37 +3286,6 @@ public class GoodsListingSubmitService { ...@@ -3287,37 +3286,6 @@ public class GoodsListingSubmitService {
} }
} }
private void saveCommonGroupAndRelations(GoodsListingSubmitDTO submitDTO,
String businessCode,
List<CreateBusinessApproveAllImportVo> list,
String updatedBy,
Map<Integer, String> rowMerchantGoodsCodeMap) {
CreateBusinessApproveImportExcelContext globalContext = submitDTO.getGlobalContext();
Map<Integer, UpgradeGoodsDTO> legalGoodsIndexMap = globalContext == null || globalContext.getLegalGoodsIndexMap() == null
? new LinkedHashMap<>()
: globalContext.getLegalGoodsIndexMap();
RuleModuleBuildResult buildResult = buildCommonGroupBuildResult(submitDTO);
if (buildResult == null || CollectionUtils.isEmpty(buildResult.getGroupDrafts())) {
return;
}
for (RuleGroupDraft draft : buildResult.getGroupDrafts()) {
GoodsListingGoodsTypeGroup group = goodsListingGoodsTypeGroupService.insert(
GoodsListingGoodsTypeGroup.builder()
.businessCode(businessCode)
.groupType((byte) 2)
.categoryType(draft.getCategoryType())
.ruleType(buildResult.getRuleType())
.build(),
updatedBy
);
List<GoodsListingGoodsTypeGroupRelation> relations = buildGroupRelations(group.getId(), draft, list, legalGoodsIndexMap, globalContext, rowMerchantGoodsCodeMap, businessCode);
if (CollectionUtils.isNotEmpty(relations)) {
goodsListingGoodsTypeGroupRelationService.insertBatch(relations, updatedBy);
}
}
}
private RuleModuleBuildResult buildCommonGroupBuildResult(GoodsListingSubmitDTO submitDTO) { private RuleModuleBuildResult buildCommonGroupBuildResult(GoodsListingSubmitDTO submitDTO) {
CreateBusinessApproveImportExcelContext globalContext = submitDTO.getGlobalContext(); CreateBusinessApproveImportExcelContext globalContext = submitDTO.getGlobalContext();
List<CreateBusinessApproveAllImportVo> list = globalContext == null ? null : globalContext.getList(); List<CreateBusinessApproveAllImportVo> list = globalContext == null ? null : globalContext.getList();
...@@ -3676,41 +3644,13 @@ public class GoodsListingSubmitService { ...@@ -3676,41 +3644,13 @@ public class GoodsListingSubmitService {
} }
addExpenseRuleItem(items, businessCode, groupId, ExpenseRuleSource.SERVICE_CHARGE, FeeCategoryEnum.HANDLING_FEE, addExpenseRuleItem(items, businessCode, groupId, ExpenseRuleSource.SERVICE_CHARGE, FeeCategoryEnum.HANDLING_FEE,
defaultCalculateMode(), ExpenseCategoryCalculateTypeEnum.AMOUNT.getValue(), BigDecimal.ZERO); defaultCalculateMode(), ExpenseCategoryCalculateTypeEnum.AMOUNT.getValue(), BigDecimal.ZERO);
appendPrerequisiteOtherExpenseRules(items, businessCode, groupId, ruleRow, saveBaseRule); // OTHER_FEE1~4不再在导入保存草稿阶段落库。
// 它们依赖relation_div_id绑定的对账分组费用,统一在审核发布正式规则时动态派生,避免草稿阶段取值口径和发布口径不一致。
List<ExpenseRuleItem> distinctItems = deduplicateExpenseRuleItems(items); List<ExpenseRuleItem> distinctItems = deduplicateExpenseRuleItems(items);
return new ExpenseRuleBuildResult(toSettleExpenseRules(distinctItems), distinctItems); return new ExpenseRuleBuildResult(toSettleExpenseRules(distinctItems), distinctItems);
} }
/** /**
* OTHER_FEE1~4属于财务费用类目,但取值来自同一行Excel的对账市场费用字段。
* 这里在导入阶段直接写入商品上架费用类目中间表,发布阶段只负责把这四个费用默认分给平台方。
*/
private void appendPrerequisiteOtherExpenseRules(List<ExpenseRuleItem> items,
String businessCode,
Integer groupId,
CreateBusinessApproveAllImportVo ruleRow,
GoodsListingBaseRule saveBaseRule) {
boolean marketingFeesPrerequisite = isFlagYes(saveBaseRule == null ? null : saveBaseRule.getManagementMarketingFeesPrerequisite());
boolean sunshinePrerequisite = isFlagYes(saveBaseRule == null ? null : saveBaseRule.getFirstLineSunshinePrerequisite());
addExpenseRuleItem(items, businessCode, groupId, ExpenseRuleSource.OTHER_FEE1, FeeCategoryEnum.OTHER_FEE1,
marketingFeesPrerequisite ? parseCalculateMode(ruleRow == null ? null : ruleRow.getManagerMarket1CalMode()) : defaultCalculateMode(),
marketingFeesPrerequisite ? resolveDivideTypeValue(ruleRow == null ? null : ruleRow.getManagerMarket1CalType(), DivideTypeScope.MARKET) : ExpenseCategoryCalculateTypeEnum.AMOUNT.getValue(),
marketingFeesPrerequisite ? parseDecimal(ruleRow == null ? null : ruleRow.getManagerMarket1CalTypeFee(), true) : BigDecimal.ZERO);
addExpenseRuleItem(items, businessCode, groupId, ExpenseRuleSource.OTHER_FEE2, FeeCategoryEnum.OTHER_FEE2,
marketingFeesPrerequisite ? parseCalculateMode(ruleRow == null ? null : ruleRow.getManagerMarket2CalMode()) : defaultCalculateMode(),
marketingFeesPrerequisite ? resolveDivideTypeValue(ruleRow == null ? null : ruleRow.getManagerMarket2CalType(), DivideTypeScope.MARKET) : ExpenseCategoryCalculateTypeEnum.AMOUNT.getValue(),
marketingFeesPrerequisite ? parseDecimal(ruleRow == null ? null : ruleRow.getManagerMarket2CalTypeFee(), true) : BigDecimal.ZERO);
addExpenseRuleItem(items, businessCode, groupId, ExpenseRuleSource.OTHER_FEE3, FeeCategoryEnum.OTHER_FEE3,
sunshinePrerequisite ? parseCalculateMode(ruleRow == null ? null : ruleRow.getFirstLineSunshineIncentiveFeeCalMode()) : defaultCalculateMode(),
sunshinePrerequisite ? resolveDivideTypeValue(ruleRow == null ? null : ruleRow.getFirstLineSunshineIncentiveFeeCalType(), DivideTypeScope.MARKET) : ExpenseCategoryCalculateTypeEnum.AMOUNT.getValue(),
sunshinePrerequisite ? parseDecimal(ruleRow == null ? null : ruleRow.getFirstLineSunshineIncentiveFee(), true) : BigDecimal.ZERO);
addExpenseRuleItem(items, businessCode, groupId, ExpenseRuleSource.OTHER_FEE4, FeeCategoryEnum.OTHER_FEE4,
sunshinePrerequisite ? parseCalculateMode(ruleRow == null ? null : ruleRow.getFirstLineSunshine2IncentiveFeeCalMode()) : defaultCalculateMode(),
sunshinePrerequisite ? resolveDivideTypeValue(ruleRow == null ? null : ruleRow.getFirstLineSunshine2IncentiveFeeCalType(), DivideTypeScope.MARKET) : ExpenseCategoryCalculateTypeEnum.AMOUNT.getValue(),
sunshinePrerequisite ? parseDecimal(ruleRow == null ? null : ruleRow.getFirstLineSunshine2IncentiveFee(), true) : BigDecimal.ZERO);
}
/**
* 构建对账费用类目,对账规则只落费用类目,不生成分账分配记录。 * 构建对账费用类目,对账规则只落费用类目,不生成分账分配记录。
*/ */
private List<GoodsListingExpenseCategoryRule> buildReconciliationExpenseRules(String businessCode, private List<GoodsListingExpenseCategoryRule> buildReconciliationExpenseRules(String businessCode,
......
  • @wangxw1
    commented
    Master

    一、关键问题与优化建议,如果必要,给出代码示例(仅限 Top 3)

    1. Dubbo接口请求参数不兼容变更(严重风险)

    • 问题描述:在 SaveReconciliationBaseRuleDTO 中新增了 managementMarketingFeesPrerequisite 和 firstLineSunshinePrerequisite 字段,并且强制添加了 @NotEmpty 校验注解。
    • 影响分析:根据审查规则,“dubbo服务提供者Remote接口中的已有请求参数变更视为危险实现”。如果该 DTO 作为对外暴露的 Dubbo 接口参数,旧版本的消费者在未升级 SDK 的情况下调用该接口,将不会传递这两个新增字段。由于 @NotEmpty 的存在,请求会直接在参数校验层被拦截并抛出异常,导致线上旧版本业务调用失败,破坏了接口的向后兼容性。
    • 优化建议:移除新增字段上的 @NotEmpty 注解,改为在服务端业务逻辑中进行兼容性处理(例如为空时赋予默认值 N)。 ```java // 移除 @NotEmpty 注解,保证兼容性 @ApiModelProperty(name = "managementMarketingFeesPrerequisite", notes = "管理层市场费是否前置:是-Y 否-N") private String managementMarketingFeesPrerequisite;

    @ApiModelProperty(name = "firstLineSunshinePrerequisite", notes = "一线阳光是否前置:是-Y 否-N") private String firstLineSunshinePrerequisite;

    
    **2. 强依赖校验抛出异常可能导致历史数据审核流程阻断**
    - **问题描述**:在 `GoodsListingApprovalService` 的 `appendPrerequisiteOtherExpenseRulesForPublish` 方法中,当开启前置条件时,如果通过 `findRelationReconciliationGroup` 找不到关联的对账分组,或者在 `findRequiredReconciliationExpenseRule` 中找不到对应的费用类目,会直接抛出 `RpcServiceException`。
    - **影响分析**:对于在上线该功能之前已经生成的历史草稿数据,可能存在缺失关联关系或关联费用类目的情况(即脏数据)。直接抛出阻断性异常会导致这些历史商品无法完成审核发布,且抛出的错误信息缺少具体的上下文(如具体的商品ID或分组ID),导致运维排查困难。
    - **优化建议**:评估对历史存量数据的兼容策略。如果业务上确实不允许缺失,建议在异常信息中补充关键上下文(如 `settleGroup.getId()`);如果可以兼容,建议降级为按默认值(如固定金额0)发布,并打印 Warn 级别日志。
      ```java
      if (reconciliationGroup == null) {
          throw new RpcServiceException(String.format("发布财务费用类目失败:缺少关联的对账品类分组, 财务分组ID:%s", settleGroup.getId()));
      }
    

    3. 费用类目映射关系硬编码,可扩展性较差

    • 问题描述:在 GoodsListingApprovalService 中,appendPrerequisiteOtherExpenseRulesForPublish 方法通过连续四次硬编码调用 appendPrerequisiteOtherExpenseRuleForPublish 来处理 OTHER_FEE1~4。
    • 影响分析:随着业务发展,如果未来还需要增加 OTHER_FEE5 或者其他前置条件费用,就需要不断修改该方法并增加大量重复的调用代码,导致代码臃肿,且参数传递极易出错,不符合开闭原则(OCP)。
    • 优化建议:建议将 (目标费用, 来源费用, 前置条件) 的映射关系封装为一个配置列表或枚举,通过循环遍历的方式进行处理,提高代码的可读性和可维护性。

    二、评分明细

    • 功能实现的正确性与健壮性(27/40分):功能逻辑基本实现,但由于在已有 DTO 中新增强制非空校验,严重破坏了接口向后兼容性;且在处理前置费用时对边界异常情况(如历史脏数据)处理较为生硬,存在阻断正常业务流程的风险。
    • 安全性与潜在风险(25/30分):未发现 SQL 注入、越权等典型的安全漏洞。但微服务接口的非兼容性变更在生产环境中属于高危发布风险。
    • 最佳实践与可维护性(17/20分):代码整体结构清晰,注释有所补充。但费用派生逻辑中存在较多硬编码映射,拓展性有待提升。
    • 性能与资源利用(5/5分):将动态派生逻辑从导入阶段移至发布阶段,精简了数据库在草稿阶段的冗余数据存储,资源利用更加合理,无性能瓶颈。
    • 提交信息质量(5/5分):Commit 信息格式规范,清晰列出了修改点和业务意图,便于后续追溯,质量较高。

    总分:79分

Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!