是否自动生产

This commit is contained in:
Owen 2025-01-11 18:08:52 +08:00
parent bfa2212148
commit d39bcada52
3 changed files with 5 additions and 5 deletions

View File

@ -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 = "")

View File

@ -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;

View File

@ -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)