修正相关问题让服务正常启动,改动位置都已加上TODO记录

This commit is contained in:
puhui999
2023-04-24 10:50:40 +08:00
parent 6786aa352b
commit c3e36ba9da
13 changed files with 45 additions and 40 deletions

View File

@@ -79,7 +79,7 @@ public class ProductSpuRespDTO {
* <p>
* 枚举 {@link ProductSpuSpecTypeEnum}
*/
private Integer specType;
private Boolean specType;
/**
* 最小价格,单位使用:分
* <p>

View File

@@ -16,15 +16,15 @@ import java.util.Arrays;
@Deprecated
public enum ProductSpuSpecTypeEnum implements IntArrayValuable {
RECYCLE(1, "统一规格"),
DISABLE(2, "多规格");
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(ProductSpuSpecTypeEnum::getType).toArray();
RECYCLE(false, "统一规格"),
DISABLE(true, "多规格");
//public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(ProductSpuSpecTypeEnum::getType).toArray();// TODO 暂时先这样跑起来
public static final int[] ARRAYS = {};
/**
* 规格类型
*/
private final Integer type;
private final Boolean type;
/**
* 规格名称
*/