小么熊🐻 2 лет назад
Родитель
Сommit
2792f1df35
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

@@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectOrderInfoList" parameterType="OrderInfo" resultMap="OrderInfoResult">
         <include refid="selectOrderInfoVo"/>
         <where>
+            <if test="isShare != null"> and is_share = #{isShare }</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="userId != null "> and user_id = #{userId}</if>