Authored by wujiexiang

添加注释

... ... @@ -102,7 +102,7 @@ public class SellerPlatformServiceFeeSupport {
SellerOrderStatsEntry currentStatsEntry = SellerOrderStatsEntry.builder()
.sellerUid(uid)
.skupType(skupType)
.time(com.yohoufo.common.utils.DateUtil.getCurrentTimeSecond())
.time(DateUtil.getCurrentTimeSecond())
.bidType(OrderConstant.NON_LIMIT_BID_TYPE)
.build();
SellerOrderStatsConfiguration currentStatsConfig = statsConfigurationManager.getStatsConfig(currentStatsEntry);
... ... @@ -110,6 +110,7 @@ public class SellerPlatformServiceFeeSupport {
if (currentStatsConfig != SellerOrderStatsConfiguration.emptyConfiguration) {
SellerOrderStatsResult statsResult = (SellerOrderStatsResult) statsConfigurationManager.getStatsProcessor(currentStatsConfig.getStatsProcessorName()).getResult(currentStatsEntry, currentStatsConfig);
if (Objects.isNull(statsResult)) {
//满足规则,但没有统计记录,按0件处理
statsResult = createEmptyStatsResult(uid, currentStatsConfig.getStatsCode());
}
//3.最终费率
... ...