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