【修改】 名称替换

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

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 品牌 Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface ProductBrandConvert {

View File

@@ -15,7 +15,7 @@ import static pc.exam.pp.framework.common.util.collection.CollectionUtils.conver
/**
* 商品 SKU Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface ProductSkuConvert {

View File

@@ -19,7 +19,7 @@ import static pc.exam.pp.framework.common.util.collection.CollectionUtils.conver
/**
* 商品 SPU Convert
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface ProductSpuConvert {

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 商品品牌 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("product_brand")
@KeySequence("product_brand_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 商品分类 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("product_category")
@KeySequence("product_category_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

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

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 商品收藏 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("product_favorite")
@KeySequence("product_favorite_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -9,7 +9,7 @@ import lombok.*;
/**
* 商品属性项 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("product_property")
@KeySequence("product_property_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 商品属性值 DO
*
* @author 芋道源码
* @author 朋辰
*/
@TableName("product_property_value")
@KeySequence("product_property_value_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

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

View File

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

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 商品分类 Mapper
*
* @author 芋道源码
* @author 朋辰
*/
@Mapper
public interface ProductCategoryMapper extends BaseMapperX<ProductCategoryDO> {

View File

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

View File

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

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 商品品牌 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface ProductBrandService {

View File

@@ -23,7 +23,7 @@ import static pc.exam.pp.module.product.enums.ErrorCodeConstants.*;
/**
* 品牌 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 商品分类 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface ProductCategoryService {

View File

@@ -27,7 +27,7 @@ import static pc.exam.pp.module.product.enums.ErrorCodeConstants.*;
/**
* 商品分类 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 商品属性项 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface ProductPropertyService {

View File

@@ -23,7 +23,7 @@ import static pc.exam.pp.module.product.enums.ErrorCodeConstants.*;
/**
* 商品属性项 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 商品 SKU Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface ProductSkuService {

View File

@@ -31,7 +31,7 @@ import static pc.exam.pp.module.product.enums.ErrorCodeConstants.*;
/**
* 商品 SKU Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -17,7 +17,7 @@ import java.util.Map;
/**
* 商品 SPU Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface ProductSpuService {

View File

@@ -36,7 +36,7 @@ import static pc.exam.pp.module.product.enums.ErrorCodeConstants.*;
/**
* 商品 SPU Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.*;
/**
* {@link ProductBrandServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Disabled // TODO 芋艿:后续 fix 补充的单测
@Import(ProductBrandServiceImpl.class)
@@ -107,7 +107,7 @@ public class ProductBrandServiceImplTest extends BaseDbUnitTest {
public void testGetBrandPage() {
// mock 数据
ProductBrandDO dbBrand = randomPojo(ProductBrandDO.class, o -> { // 等会查询到
o.setName("芋道源码");
o.setName("朋辰");
o.setStatus(CommonStatusEnum.ENABLE.getStatus());
o.setCreateTime(buildTime(2022, 2, 1));
});

View File

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

View File

@@ -32,7 +32,7 @@ import static org.mockito.Mockito.verify;
/**
* {@link ProductSkuServiceImpl} 的单元测试
*
* @author 芋道源码
* @author 朋辰
*/
@Disabled // TODO 芋艿:后续 fix 补充的单测
@Import(ProductSkuServiceImpl.class)

View File

@@ -46,7 +46,7 @@ import static org.mockito.Mockito.when;
/**
* {@link ProductSpuServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Disabled // TODO 芋艿:后续 fix 补充的单测
@Import(ProductSpuServiceImpl.class)