Commit 824d0e6c43e8570ee0189a12bb642cb9ef04b78b
1 parent
e4d32929d9
Exists in
master
and in
1 other branch
增加是否通知
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientGuideSmsRequest.java
View file @
824d0e6
| 1 | 1 | package com.lyms.platform.operate.web.request; |
| 2 | 2 | |
| 3 | 3 | import com.lyms.platform.common.core.annotation.form.FormParam; |
| 4 | +import org.hibernate.validator.constraints.NotBlank; | |
| 4 | 5 | import org.hibernate.validator.constraints.NotEmpty; |
| 5 | 6 | |
| 6 | 7 | import java.util.List; |
| ... | ... | @@ -13,7 +14,7 @@ |
| 13 | 14 | public class PatientGuideSmsRequest { |
| 14 | 15 | //短信内容 |
| 15 | 16 | @FormParam |
| 16 | - @NotEmpty(message = "短信内容不能为空") | |
| 17 | + @NotBlank(message = "短信内容不能为空") | |
| 17 | 18 | private String smsContent; |
| 18 | 19 | |
| 19 | 20 | //儿童IDs |