|
@@ -95,7 +95,7 @@
|
|
|
left join sys_member m on vm.member_id = m.id
|
|
left join sys_member m on vm.member_id = m.id
|
|
|
where m.id = #{memberId}
|
|
where m.id = #{memberId}
|
|
|
<if test="voucherType != null and voucherType != ''">and v.voucher_type = #{voucherType}</if>
|
|
<if test="voucherType != null and voucherType != ''">and v.voucher_type = #{voucherType}</if>
|
|
|
- <if test="payPrice != null and payPrice != ''">and v.instant_discount >= #{payPrice}</if>
|
|
|
|
|
|
|
+ <if test="payPrice != null and payPrice != ''">and v.instant_discount <= #{payPrice}</if>
|
|
|
<if test="isValidity != null and isValidity != ''">and vm.is_validity = #{isValidity}</if>
|
|
<if test="isValidity != null and isValidity != ''">and vm.is_validity = #{isValidity}</if>
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|