diff --git a/src/main/resources/mapper/NewHostsMapper.xml b/src/main/resources/mapper/NewHostsMapper.xml index 389404d..52c9f3a 100644 --- a/src/main/resources/mapper/NewHostsMapper.xml +++ b/src/main/resources/mapper/NewHostsMapper.xml @@ -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} + and new_hosts.country =#{hostInfoDTO.country,jdbcType=VARCHAR} + and DATE(new_hosts.create_time) =#{hostInfoDTO.createTime} + - and new_hosts.hosts_id =#{hostInfoDTO.hostsId,jdbcType=VARCHAR} + and new_hosts.hosts_id like concat(#{hostInfoDTO.hostsId,jdbcType=VARCHAR},'%')