Commit 40940896fe2b66a233ff4208d10e88471603ebdb

Authored by YunaiV
1 parent fa5c3134

✨ feat(mes): 新增库区和库位编号必填验证

yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/miscissue/vo/line/MesWmMiscIssueLineSaveReqVO.java
... ... @@ -43,10 +43,12 @@ public class MesWmMiscIssueLineSaveReqVO {
43 43 @NotNull(message = "仓库不能为空")
44 44 private Long warehouseId;
45 45  
46   - @Schema(description = "库区编号", example = "1")
  46 + @Schema(description = "库区编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
  47 + @NotNull(message = "库区不能为空")
47 48 private Long locationId;
48 49  
49   - @Schema(description = "库位编号", example = "1")
  50 + @Schema(description = "库位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
  51 + @NotNull(message = "库位不能为空")
50 52 private Long areaId;
51 53  
52 54 @Schema(description = "备注", example = "备注")
... ...