浏览代码

提交加字段

小么熊🐻 2 年之前
父节点
当前提交
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>