修正相关问题让服务正常启动,改动位置都已加上TODO记录
This commit is contained in:
@@ -79,7 +79,7 @@ public class ProductSpuRespDTO {
|
||||
* <p>
|
||||
* 枚举 {@link ProductSpuSpecTypeEnum}
|
||||
*/
|
||||
private Integer specType;
|
||||
private Boolean specType;
|
||||
/**
|
||||
* 最小价格,单位使用:分
|
||||
* <p>
|
||||
|
@@ -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;
|
||||
/**
|
||||
* 规格名称
|
||||
*/
|
||||
|
Reference in New Issue
Block a user