修改主播 Id 筛选为前缀匹配模糊搜索
This commit is contained in:
@@ -247,14 +247,17 @@
|
||||
yesterday_coins,create_time, country, online_fans,hosts_kind from new_hosts where
|
||||
new_hosts.creator=#{hostInfoDTO.creator}
|
||||
and new_hosts.tenant_id=#{hostInfoDTO.tenantId}
|
||||
<!-- 主播国家筛选 -->
|
||||
<if test="hostInfoDTO.country!= '' and hostInfoDTO.country != null">
|
||||
and new_hosts.country =#{hostInfoDTO.country,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<!-- 按照入库时间筛选主播 -->
|
||||
<if test="hostInfoDTO.createTime != null">
|
||||
and DATE(new_hosts.create_time) =#{hostInfoDTO.createTime}
|
||||
</if>
|
||||
<!-- 主播 Id 模糊搜索 -->
|
||||
<if test="hostInfoDTO.hostsId != '' and hostInfoDTO.hostsId != null ">
|
||||
and new_hosts.hosts_id =#{hostInfoDTO.hostsId,jdbcType=VARCHAR}
|
||||
and new_hosts.hosts_id like concat(#{hostInfoDTO.hostsId,jdbcType=VARCHAR},'%')
|
||||
</if>
|
||||
<!-- 今日主播金币筛选 -->
|
||||
<if test="hostInfoDTO.hostsCoinsMin != null and hostInfoDTO.hostsCoinsMax == null ">
|
||||
|
||||
Reference in New Issue
Block a user