是否自动生产
This commit is contained in:
parent
bfa2212148
commit
d39bcada52
|
|
@ -25,7 +25,7 @@ public class SuperiorProductConfigPageReqVO extends PageParam {
|
|||
@Schema(description = "产品ID", example = "320")
|
||||
private Long haokaProductId;
|
||||
|
||||
@Schema(description = "是否已配置")
|
||||
@Schema(description = "是否自动生产")
|
||||
private Boolean isConfined;
|
||||
|
||||
@Schema(description = "值")
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ public class SuperiorProductConfigRespVO {
|
|||
@ExcelIgnore
|
||||
private HaoKaProductRespVO haoKaProductRespVO;
|
||||
|
||||
@Schema(description = "是否已配置", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty(value = "是否已配置", converter = DictConvert.class)
|
||||
@Schema(description = "是否自动生产", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty(value = "是否自动生产", converter = DictConvert.class)
|
||||
@DictFormat("infra_boolean_string") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
||||
private Boolean isConfined;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ public class SuperiorProductConfigSaveReqVO {
|
|||
@NotNull(message = "产品ID不能为空")
|
||||
private Long haokaProductId;
|
||||
|
||||
@Schema(description = "是否已配置", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotNull(message = "是否已配置不能为空")
|
||||
@Schema(description = "是否自动生产", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotNull(message = "是否自动生产不能为空")
|
||||
private Boolean isConfined;
|
||||
|
||||
@Schema(description = "值", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
|||
Loading…
Reference in New Issue