EventTemplate控制器编写

This commit is contained in:
hanyong
2022-09-16 11:01:49 +08:00
parent 0d3a358959
commit 99ec05487f
8 changed files with 34 additions and 25 deletions

View File

@@ -59,7 +59,10 @@ public class EventTemplateParam {
@Data
@EqualsAndHashCode(callSuper = true)
public static class EventTemplateQueryParam extends BaseParam {
@ApiModelProperty("pid")
@NotBlank(message = ValidMessage.ID_NOT_BLANK)
@Pattern(regexp = PatternRegex.SYSTEM_ID, message = ValidMessage.ID_FORMAT_ERROR)
private String pid;
}
}

View File

@@ -14,7 +14,7 @@ import lombok.EqualsAndHashCode;
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "eventreport_dict")
@TableName(value = "report_template_dict")
public class EventDict extends BaseEntity {
private static final long serialVersionUID = 1L;