预警通知
This commit is contained in:
parent
0812471eec
commit
1394344ff1
@ -24,6 +24,9 @@ public class AlertMessagePageReqVO extends PageParam {
|
||||
@Schema(description = "用户ID", example = "20700")
|
||||
private Integer userid;
|
||||
|
||||
@Schema(description = "用户名", example = "张三")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "状态:0-未读 1-已读", example = "1")
|
||||
private Integer status;
|
||||
|
||||
|
||||
@ -28,6 +28,10 @@ public class AlertMessageRespVO {
|
||||
@ExcelProperty("用户ID")
|
||||
private Integer userid;
|
||||
|
||||
@Schema(description = "用户名", example = "张三")
|
||||
@ExcelProperty("用户名")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "状态:0-未读 1-已读", example = "1")
|
||||
@ExcelProperty("状态:0-未读 1-已读")
|
||||
private Integer status;
|
||||
|
||||
@ -24,6 +24,9 @@ public class AlertMessageSaveReqVO {
|
||||
@Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20700")
|
||||
private Integer userid;
|
||||
|
||||
@Schema(description = "用户名", example = "张三")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "状态:0-未读 1-已读", example = "1")
|
||||
private Integer status;
|
||||
|
||||
|
||||
@ -42,6 +42,11 @@ public class AlertMessageDO {
|
||||
*/
|
||||
@TableField("userid")
|
||||
private Integer userid;
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@TableField("username")
|
||||
private String username;
|
||||
/**
|
||||
* 状态:0-未读 1-已读
|
||||
*/
|
||||
|
||||
@ -24,6 +24,7 @@ public interface AlertMessageMapper extends BaseMapperX<AlertMessageDO> {
|
||||
.eqIfPresent(AlertMessageDO::getAlerttype, reqVO.getAlerttype())
|
||||
.eqIfPresent(AlertMessageDO::getContent, reqVO.getContent())
|
||||
.eqIfPresent(AlertMessageDO::getUserid, reqVO.getUserid())
|
||||
.eqIfPresent(AlertMessageDO::getUsername, reqVO.getUsername())
|
||||
.eqIfPresent(AlertMessageDO::getStatus, reqVO.getStatus())
|
||||
.betweenIfPresent(AlertMessageDO::getCreatetime, reqVO.getCreatetime())
|
||||
.betweenIfPresent(AlertMessageDO::getUpdatetime, reqVO.getUpdatetime())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user