diff --git a/src/main/resources/mapper/NewHostsMapper.xml b/src/main/resources/mapper/NewHostsMapper.xml index 5fd7e18..c53d1d6 100644 --- a/src/main/resources/mapper/NewHostsMapper.xml +++ b/src/main/resources/mapper/NewHostsMapper.xml @@ -260,51 +260,51 @@ and ns.hosts_id like concat(#{hostInfoDTO.hostsId,jdbcType=VARCHAR},'%') - + and ns.hosts_coins >=#{hostInfoDTO.hostsCoinsMin,jdbcType=INTEGER} - + and ns.hosts_coins <=#{hostInfoDTO.hostsCoinsMax,jdbcType=INTEGER} and ns.hosts_coins between #{hostInfoDTO.hostsCoinsMin,jdbcType=INTEGER} and #{hostInfoDTO.hostsCoinsMax,jdbcType=INTEGER} - + and ns.yesterday_coins >=#{hostInfoDTO.yesterdayCoinsMin,jdbcType=INTEGER} - + and ns.yesterday_coins <=#{hostInfoDTO.yesterdayCoinsMax,jdbcType=INTEGER} and ns.yesterday_coins between #{hostInfoDTO.yesterdayCoinsMin,jdbcType=INTEGER} and #{hostInfoDTO.yesterdayCoinsMax,jdbcType=INTEGER} - + and ns.fans >=#{hostInfoDTO.fansMin,jdbcType=INTEGER} - - and ns.fans <=#{hostInfoDTO.yesterdayCoinsMax,jdbcType=INTEGER} + + and ns.fans <=#{hostInfoDTO.fansMax,jdbcType=INTEGER} and ns.fans between #{hostInfoDTO.fansMin,jdbcType=INTEGER} and #{hostInfoDTO.fansMax,jdbcType=INTEGER} - + and ns.fllowernum >=#{hostInfoDTO.fllowernumMin,jdbcType=INTEGER} - + and ns.fllowernum <=#{hostInfoDTO.fllowernumMax,jdbcType=INTEGER} and ns.fllowernum between #{hostInfoDTO.fllowernumMin,jdbcType=INTEGER} and #{hostInfoDTO.fllowernumMax,jdbcType=INTEGER} - + and ns.online_fans >=#{hostInfoDTO.onlineFansMin,jdbcType=INTEGER} - - and ns.online_fans <=#{hostInfoDTO.onlineFansMax,jdbcType=INTEGER} + + and ns.online_fans <= #{hostInfoDTO.onlineFansMax,jdbcType=INTEGER} and ns.online_fans between #{hostInfoDTO.onlineFansMin,jdbcType=INTEGER} and #{hostInfoDTO.onlineFansMax,jdbcType=INTEGER} @@ -343,7 +343,7 @@ - ns.online_fnas ${hostInfoDTO.sort} + ns.online_fans ${hostInfoDTO.sort}