|
@@ -142,7 +142,7 @@
|
|
AND channel_ = #{channel}
|
|
AND channel_ = #{channel}
|
|
</if>
|
|
</if>
|
|
<if test="type != null">
|
|
<if test="type != null">
|
|
- AND type_ IN (#{type})
|
|
|
|
|
|
+ AND FIND_IN_SET(type_,#{type})
|
|
</if>
|
|
</if>
|
|
<if test="amount != null">
|
|
<if test="amount != null">
|
|
<![CDATA[AND max_receipt_ < has_receipt_+ #{amount}]]>
|
|
<![CDATA[AND max_receipt_ < has_receipt_+ #{amount}]]>
|