1.修复大哥打赏的历史最高金币筛选的 bug
This commit is contained in:
@@ -57,15 +57,15 @@
|
|||||||
<if test="dto.displayId != null and dto.displayId != '' ">
|
<if test="dto.displayId != null and dto.displayId != '' ">
|
||||||
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
|
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏金币筛选 -->
|
<!-- 大哥打赏的历史最高金币筛选 -->
|
||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax == null ">
|
<if test="dto.historicHighCoinsMin != null and dto.historicHighCoinsMin == null ">
|
||||||
and sbr.hostcoins >=#{dto.hostcoinsMin,jdbcType=INTEGER}
|
and sbr.historic_high_coins >=#{dto.historicHighCoinsMin,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.hostcoinsMax != null and dto.hostcoinsMin == null ">
|
<if test="dto.historicHighCoinsMax != null and dto.historicHighCoinsMax == null ">
|
||||||
and sbr.hostcoins <=#{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.historic_high_coins <=#{dto.historicHighCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax != null " >
|
<if test="dto.historicHighCoinsMin != null and dto.historicHighCoinsMax != null " >
|
||||||
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.historic_high_coins between #{dto.historicHighCoinsMin,jdbcType=INTEGER} and #{dto.historicHighCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏总金币筛选 -->
|
<!-- 大哥打赏总金币筛选 -->
|
||||||
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null ">
|
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null ">
|
||||||
|
|||||||
@@ -58,15 +58,15 @@
|
|||||||
<if test="dto.displayId != null and dto.displayId != '' ">
|
<if test="dto.displayId != null and dto.displayId != '' ">
|
||||||
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
|
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏金币筛选 -->
|
<!-- 大哥打赏的历史最高金币筛选 -->
|
||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax == null ">
|
<if test="dto.historicHighCoinsMin != null and dto.historicHighCoinsMin == null ">
|
||||||
and sbr.hostcoins >=#{dto.hostcoinsMin,jdbcType=INTEGER}
|
and sbr.historic_high_coins >=#{dto.historicHighCoinsMin,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.hostcoinsMax != null and dto.hostcoinsMin == null ">
|
<if test="dto.historicHighCoinsMax != null and dto.historicHighCoinsMax == null ">
|
||||||
and sbr.hostcoins <=#{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.historic_high_coins <=#{dto.historicHighCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax != null " >
|
<if test="dto.historicHighCoinsMin != null and dto.historicHighCoinsMax != null " >
|
||||||
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.historic_high_coins between #{dto.historicHighCoinsMin,jdbcType=INTEGER} and #{dto.historicHighCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏总金币筛选 -->
|
<!-- 大哥打赏总金币筛选 -->
|
||||||
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null ">
|
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null ">
|
||||||
@@ -156,16 +156,16 @@
|
|||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax != null " >
|
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax != null " >
|
||||||
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏总金币筛选 -->
|
<!-- 大哥打赏的历史最高金币筛选 -->
|
||||||
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null ">
|
<if test="dto.historicHighCoinsMin != null and dto.historicHighCoinsMin == null ">
|
||||||
and sbr.total_gift_coins >=#{dto.totalGiftCoinsMin,jdbcType=INTEGER}
|
and sbr.historic_high_coins >=#{dto.historicHighCoinsMin,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.totalGiftCoinsMax != null and dto.totalGiftCoinsMin == null ">
|
<if test="dto.historicHighCoinsMax != null and dto.historicHighCoinsMax == null ">
|
||||||
and sbr.total_gift_coins <=#{dto.totalGiftCoinsMax,jdbcType=INTEGER}
|
and sbr.historic_high_coins <=#{dto.historicHighCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax != null " >
|
<if test="dto.historicHighCoinsMin != null and dto.historicHighCoinsMax != null " >
|
||||||
and sbr.total_gift_coins between #{dto.totalGiftCoinsMin,jdbcType=INTEGER} and #{dto.totalGiftCoinsMax,jdbcType=INTEGER}
|
and sbr.historic_high_coins between #{dto.historicHighCoinsMin,jdbcType=INTEGER} and #{dto.historicHighCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥等级筛选 -->
|
<!-- 大哥等级筛选 -->
|
||||||
<if test="dto.levelMin != null and dto.levelMax == null ">
|
<if test="dto.levelMin != null and dto.levelMax == null ">
|
||||||
and sbr.level >=#{dto.levelMin,jdbcType=INTEGER}
|
and sbr.level >=#{dto.levelMin,jdbcType=INTEGER}
|
||||||
|
|||||||
Reference in New Issue
Block a user