Kaynağa Gözat

添加列表查询字段

小么熊🐻 2 yıl önce
ebeveyn
işleme
2b0d4ef448

+ 2 - 0
jsjp-service/src/main/resources/mapper/order/OrderInfoMapper.xml

@@ -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="schoolName != null  and schoolName != ''"> and school_name like concat('%', #{schoolName}, '%')</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="outRefundNo != null  and outRefundNo != ''"> and out_refund_no = #{outRefundNo}</if>
             <if test="tradeType != null  and tradeType != ''"> and trade_type = #{tradeType}</if>