diff --git a/src/main/java/com/yupi/springbootinit/model/dto/host/ServerBigBrotherDTO.java b/src/main/java/com/yupi/springbootinit/model/dto/host/ServerBigBrotherDTO.java
index 6287c6b..43a0dfe 100644
--- a/src/main/java/com/yupi/springbootinit/model/dto/host/ServerBigBrotherDTO.java
+++ b/src/main/java/com/yupi/springbootinit/model/dto/host/ServerBigBrotherDTO.java
@@ -103,6 +103,13 @@ public class ServerBigBrotherDTO extends PageRequest implements Serializable {
@ApiModelProperty(value="租户 Id")
private Long tenantId;
+
+ /**
+ * 创建时间
+ */
+ @ApiModelProperty(value = "创建时间开始(yyyy-MM-dd)", example = "2023-01-01")
+ private Date createTime;
+
/**
* 数据插入时间
*/
diff --git a/src/main/resources/mapper/ServerBigBrotherMapper.xml b/src/main/resources/mapper/ServerBigBrotherMapper.xml
index c58d184..8586884 100644
--- a/src/main/resources/mapper/ServerBigBrotherMapper.xml
+++ b/src/main/resources/mapper/ServerBigBrotherMapper.xml
@@ -35,19 +35,19 @@
select * from
server_big_brother sbr left join server_country_info ci ON sbr.region = ci.country_name
where sbr.tenant_id=#{dto.tenantId}
-
+
and ci.country_group_name =#{dto.region,jdbcType=VARCHAR}
-
+
and sbr.create_time BETWEEN #{dto.createTimeStart,jdbcType=TIMESTAMP} and #{dto.createTimeEnd,jdbcType=TIMESTAMP}
-
+
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
-
+
and sbr.hostcoins >=#{dto.hostcoinsMin,jdbcType=INTEGER}
@@ -57,7 +57,7 @@
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
-
+
and sbr.total_gift_coins >=#{dto.totalGiftCoinsMin,jdbcType=INTEGER}
@@ -67,7 +67,7 @@
and sbr.total_gift_coins between #{dto.totalGiftCoinsMin,jdbcType=INTEGER} and #{dto.totalGiftCoinsMax,jdbcType=INTEGER}
-
+
and sbr.level >=#{dto.levelMin,jdbcType=INTEGER}
@@ -89,15 +89,15 @@
sbr.create_time ${dto.sort}
-
+
sbr.level ${dto.sort}
-
+
sbr.historic_high_coins ${dto.sort}
-
+
sbr.total_gift_coins ${dto.sort}