1.租户添加备注和备注模糊搜索功能
This commit is contained in:
@@ -33,4 +33,6 @@ public class TenantPageReqVO extends PageParam {
|
|||||||
@Schema(description = "创建时间")
|
@Schema(description = "创建时间")
|
||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
|
@Schema
|
||||||
|
private String remark;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,4 +52,7 @@ public class TenantRespVO {
|
|||||||
@ExcelProperty("创建时间")
|
@ExcelProperty("创建时间")
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
@Schema(description = "备注", example = "备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,4 +76,7 @@ public class TenantSaveReqVO {
|
|||||||
@Schema(description = "能否登录 AI 聊天工具", example = "0不允许,1允许")
|
@Schema(description = "能否登录 AI 聊天工具", example = "0不允许,1允许")
|
||||||
private Byte aiChat;
|
private Byte aiChat;
|
||||||
|
|
||||||
|
@Schema(description = "备注", example = "备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,4 +79,5 @@ public class TenantDO extends BaseDO {
|
|||||||
*/
|
*/
|
||||||
private Integer accountCount;
|
private Integer accountCount;
|
||||||
|
|
||||||
|
private String remark;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ public interface TenantMapper extends BaseMapperX<TenantDO> {
|
|||||||
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
|
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
|
||||||
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getCreateTime())
|
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getCreateTime())
|
||||||
|
.likeIfPresent(TenantDO::getRemark, reqVO.getRemark())
|
||||||
.orderByDesc(TenantDO::getId));
|
.orderByDesc(TenantDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user