浏览代码

提交加字段

小么熊🐻 2 年之前
父节点
当前提交
d82d6b0aeb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      jsjp-service/src/main/resources/mapper/order/OrderInfoMapper.xml

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

@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectOrderInfoVo"/>
         <where>
             <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="outTradeNo != null  and outTradeNo != ''"> and out_trade_no = #{outTradeNo}</if>
             <if test="outRefundNo != null  and outRefundNo != ''"> and out_refund_no = #{outRefundNo}</if>