1.租户添加备注和备注模糊搜索功能

This commit is contained in:
2025-09-10 14:11:52 +08:00
parent 7b88322ffa
commit 2650aadcbd
5 changed files with 10 additions and 0 deletions

View File

@@ -33,4 +33,6 @@ public class TenantPageReqVO extends PageParam {
@Schema(description = "创建时间")
private LocalDateTime[] createTime;
@Schema
private String remark;
}

View File

@@ -52,4 +52,7 @@ public class TenantRespVO {
@ExcelProperty("创建时间")
private LocalDateTime createTime;
@Schema(description = "备注", example = "备注")
private String remark;
}

View File

@@ -76,4 +76,7 @@ public class TenantSaveReqVO {
@Schema(description = "能否登录 AI 聊天工具", example = "0不允许1允许")
private Byte aiChat;
@Schema(description = "备注", example = "备注")
private String remark;
}

View File

@@ -79,4 +79,5 @@ public class TenantDO extends BaseDO {
*/
private Integer accountCount;
private String remark;
}

View File

@@ -24,6 +24,7 @@ public interface TenantMapper extends BaseMapperX<TenantDO> {
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getCreateTime())
.likeIfPresent(TenantDO::getRemark, reqVO.getRemark())
.orderByDesc(TenantDO::getId));
}