【修改】 名称替换

This commit is contained in:
DESKTOP-932OMT8\REN
2025-05-21 17:28:26 +08:00
parent 3bd8a424ec
commit b5f18ba897
1212 changed files with 1262 additions and 1270 deletions

View File

@@ -15,7 +15,7 @@ import java.util.Map;
/**
* 优惠劵 API 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 限时折扣 API 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 满减送活动 API 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -12,10 +12,10 @@ public class AppArticleRespVO {
@Schema(description = "文章编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
private Long id;
@Schema(description = "文章标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码 - 促销模块")
@Schema(description = "文章标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "朋辰 - 促销模块")
private String title;
@Schema(description = "文章作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
@Schema(description = "文章作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "朋辰")
private String author;
@Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")

View File

@@ -15,7 +15,7 @@ import java.util.Map;
/**
* 砍价助力 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface BargainHelpConvert {

View File

@@ -24,7 +24,7 @@ import static pc.exam.pp.framework.common.util.collection.CollectionUtils.conver
/**
* 砍价记录 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface BargainRecordConvert {

View File

@@ -18,7 +18,7 @@ import java.util.Collection;
/**
* 优惠劵 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface CouponConvert {

View File

@@ -18,7 +18,7 @@ import java.util.Map;
/**
* 优惠劵模板 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface CouponTemplateConvert {

View File

@@ -16,7 +16,7 @@ import java.util.List;
/**
* 限时折扣活动 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface DiscountActivityConvert {

View File

@@ -33,7 +33,7 @@ import static pc.exam.pp.framework.common.util.collection.MapUtils.findAndThen;
/**
* 秒杀活动 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface SeckillActivityConvert {

View File

@@ -15,7 +15,7 @@ import java.util.List;
/**
* 秒杀时段 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface SeckillConfigConvert {

View File

@@ -19,7 +19,7 @@ import java.util.List;
/**
* 优惠劵 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "promotion_coupon", autoResultMap = true)
@KeySequence("promotion_coupon_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -22,7 +22,7 @@ import java.util.List;
*
* 当用户领取时,会生成 {@link CouponDO} 优惠劵
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "promotion_coupon_template", autoResultMap = true)
@KeySequence("promotion_coupon_template_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -16,7 +16,7 @@ import java.time.LocalDateTime;
* 一个活动下,可以有 {@link DiscountProductDO} 商品;
* 一个商品,在指定时间段内,只能属于一个活动;
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "promotion_discount_activity", autoResultMap = true)
@KeySequence("promotion_discount_activity_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -13,7 +13,7 @@ import java.time.LocalDateTime;
/**
* 限时折扣商品 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "promotion_discount_product", autoResultMap = true)
@KeySequence("promotion_discount_product_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -21,7 +21,7 @@ import java.util.Map;
/**
* 满减送活动 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "promotion_reward_activity", autoResultMap = true)
@KeySequence("promotion_reward_activity_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 秒杀时段 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "promotion_seckill_config", autoResultMap = true)
@KeySequence("promotion_seckill_config_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -20,7 +20,7 @@ import static pc.exam.pp.framework.common.util.collection.CollectionUtils.conver
/**
* 优惠劵 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface CouponMapper extends BaseMapperX<CouponDO> {

View File

@@ -19,7 +19,7 @@ import java.util.function.Consumer;
/**
* 优惠劵模板 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface CouponTemplateMapper extends BaseMapperX<CouponTemplateDO> {

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 限时折扣活动 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface DiscountActivityMapper extends BaseMapperX<DiscountActivityDO> {

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* 限时折扣商城 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface DiscountProductMapper extends BaseMapperX<DiscountProductDO> {

View File

@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
/**
* 满减送活动 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface RewardActivityMapper extends BaseMapperX<RewardActivityDO> {

View File

@@ -1,6 +1,6 @@
/**
* 属于 promotion 模块的 framework 封装
*
* @author 芋道源码
* @author 朋辰
*/
package pc.exam.pp.module.promotion.framework;

View File

@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
/**
* promotion 模块的 web 组件的 Configuration
*
* @author 芋道源码
* @author 朋辰
*/
@Configuration(proxyBeanMethods = false)
public class PromotionWebConfiguration {

View File

@@ -12,7 +12,7 @@ import java.util.Map;
/**
* 砍价助力 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface BargainHelpService {

View File

@@ -27,7 +27,7 @@ import static pc.exam.pp.module.promotion.enums.ErrorCodeConstants.*;
/**
* 砍价助力 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -13,7 +13,7 @@ import java.util.*;
/**
* 优惠劵 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface CouponService {

View File

@@ -38,7 +38,7 @@ import static java.util.Arrays.asList;
/**
* 优惠劵 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Slf4j
@Service

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 优惠劵模板 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface CouponTemplateService {

View File

@@ -28,7 +28,7 @@ import static pc.exam.pp.module.promotion.enums.ErrorCodeConstants.COUPON_TEMPLA
/**
* 优惠劵模板 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 限时折扣 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface DiscountActivityService {

View File

@@ -36,7 +36,7 @@ import static pc.exam.pp.module.promotion.enums.ErrorCodeConstants.*;
/**
* 限时折扣 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -21,7 +21,7 @@ import static pc.exam.pp.framework.common.util.collection.CollectionUtils.getSum
/**
* 满减送活动 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface RewardActivityService {

View File

@@ -30,7 +30,7 @@ import static pc.exam.pp.module.promotion.enums.ErrorCodeConstants.*;
/**
* 满减送活动 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.*;
/**
* {@link CouponTemplateServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Disabled // TODO 芋艿:后续 fix 补充的单测
@Import(CouponTemplateServiceImpl.class)

View File

@@ -35,7 +35,7 @@ import static org.junit.jupiter.api.Assertions.*;
/**
* {@link DiscountActivityServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Disabled // TODO 芋艿:后续 fix 补充的单测
@Import(DiscountActivityServiceImpl.class)

View File

@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.*;
/**
* {@link RewardActivityServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Disabled // TODO 芋艿:后续 fix 补充的单测
public class RewardActivityServiceImplTest extends BaseMockitoUnitTest {

View File

@@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.*;
/**
* {@link SeckillActivityServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Import(SeckillActivityServiceImpl.class)
@Disabled // TODO 芋艿:未来开启

View File

@@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertNull;
/**
* {@link SeckillConfigServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Import(SeckillConfigServiceImpl.class)
@Disabled // TODO 芋艿:未来开启;后续要 review 下