浏览代码

push0731085250

ltt 2 年之前
父节点
当前提交
1f9c291eb8
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      sckw-modules/sckw-order/src/main/resources/mapper/KwoWantBuyMapper.xml

+ 6 - 0
sckw-modules/sckw-order/src/main/resources/mapper/KwoWantBuyMapper.xml

@@ -51,6 +51,12 @@
                     #{item}
                 </foreach>
             </if>
+            <if test="wantBuyReq.statuss != null and wantBuyReq.statuss.size() > 0">
+                and kb.status in
+                <foreach collection="wantBuyReq.statuss" item="item" open="(" close=")" separator=",">
+                    #{item}
+                </foreach>
+            </if>
             <if test="wantBuyReq.keywords != null and wantBuyReq.keywords != ''">
                 and (
                 kb.`name` like concat('%', #{wantBuyReq.keywords,jdbcType=VARCHAR}, '%')