|
@@ -40,6 +40,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="goodsName != null and goodsName != ''"> and goods_name like concat('%', #{goodsName}, '%')</if>
|
|
<if test="goodsName != null and goodsName != ''"> and goods_name like concat('%', #{goodsName}, '%')</if>
|
|
<if test="schoolName != null and schoolName != ''"> and school_name like concat('%', #{schoolName}, '%')</if>
|
|
<if test="schoolName != null and schoolName != ''"> and school_name like concat('%', #{schoolName}, '%')</if>
|
|
<if test="userId != null "> and user_id = #{userId}</if>
|
|
<if test="userId != null "> and user_id = #{userId}</if>
|
|
|
|
+ <if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
|
|
|
+ <if test="logincode != null and logincode != ''"> and logincode = #{logincode} </if>
|
|
<if test="outTradeNo != null and outTradeNo != ''"> and out_trade_no = #{outTradeNo}</if>
|
|
<if test="outTradeNo != null and outTradeNo != ''"> and out_trade_no = #{outTradeNo}</if>
|
|
<if test="outRefundNo != null and outRefundNo != ''"> and out_refund_no = #{outRefundNo}</if>
|
|
<if test="outRefundNo != null and outRefundNo != ''"> and out_refund_no = #{outRefundNo}</if>
|
|
<if test="tradeType != null and tradeType != ''"> and trade_type = #{tradeType}</if>
|
|
<if test="tradeType != null and tradeType != ''"> and trade_type = #{tradeType}</if>
|