Commit 91f4a25b by 刘鑫

pref(参数校验提示): 参数校验提示增加具体字段

1 parent 17d84931
......@@ -11,12 +11,12 @@ public class BaseLocation {
/**
* 地址纬度
*/
@NotNull
@NotNull(message = "地址纬度必填")
private Double latitude;
/**
* 地址经度
*/
@NotNull
@NotNull(message = "地址经度必填")
private Double longitude;
}
......@@ -16,6 +16,6 @@ public class EngineerCode {
/**
* 工程师工号
*/
@NotBlank
@NotBlank(message = "工程师工号不能为空")
protected String engineerCode;
}
......@@ -14,7 +14,7 @@ public class EngineerOrderParam {
/**
* 工程师工号
*/
@NotBlank
@NotBlank(message = "工程师工号不能为空")
private String engineerCode;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!