ltt 2 лет назад
Родитель
Сommit
1f9c291eb8

+ 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}, '%')