Explorar o código

性别年龄必填项修改

rengb %!s(int64=5) %!d(string=hai) anos
pai
achega
ce56c0f392

+ 2 - 4
znwz-service/src/main/java/com/diagbot/vo/SaveInquiryVO.java

@@ -73,15 +73,13 @@ public class SaveInquiryVO {
     /**
      * 用户年龄
      */
-    @ApiModelProperty(value = "用户年龄", required = true)
-    @NotNull(message = "用户年龄必传")
+    @ApiModelProperty(value = "用户年龄")
     private Integer patientAge;
 
     /**
      * 用户性别
      */
-    @ApiModelProperty(value = "用户性别", required = true)
-    @NotBlank(message = "用户性别必传")
+    @ApiModelProperty(value = "用户性别")
     private String patientSex;
 
     /**