|
|
@@ -109,13 +109,16 @@
|
|
|
select * from base_wish_info
|
|
|
]]>
|
|
|
<where>
|
|
|
- del_flag = 0 and amount_ > 0
|
|
|
+ del_flag = 0
|
|
|
<if test="searchParams.title != null">
|
|
|
and title_ like #{searchParams.title}
|
|
|
</if>
|
|
|
<if test="searchParams.category != null">
|
|
|
and category_ = #{searchParams.category}
|
|
|
</if>
|
|
|
+ <if test="searchParams.notZero == true">
|
|
|
+ and amount_ > 0
|
|
|
+ </if>
|
|
|
</where>
|
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
|
${sort.name} ${sort.order}
|