feature(单元测试): ProductSpuServiceImpl单元测试

This commit is contained in:
luowenfeng
2022-10-22 17:51:26 +08:00
parent 31f5b27d01
commit aea763e96e
7 changed files with 318 additions and 165 deletions

View File

@ -19,12 +19,12 @@ public enum ProductSpuStatusEnum implements IntArrayValuable {
DISABLE(0, "下架"),
ENABLE(1, "上架"),;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(ProductSpuStatusEnum::getStyle).toArray();
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(ProductSpuStatusEnum::getStatus).toArray();
/**
* 状态
*/
private final Integer style;
private final Integer status;
/**
* 状态名
*/