‘linchangsheng’ 1 mês atrás
pai
commit
36884c2712

+ 6 - 0
src/main/resources/mapper/CustomGoodsApplyMapper.xml

@@ -15,6 +15,12 @@
                 #{item}
             </foreach>
         </if>
+        <if test="ex.adminWebsitIds != null and ex.adminWebsitIds.size > 0">
+            and a.websit_id in
+            <foreach item="item" index="index" collection="ex.adminWebsitIds" open="(" separator="," close=")">
+                #{item}
+            </foreach>
+        </if>
         <if test="ex.orderBy == null or ex.orderBy ==''">
             ORDER BY a.create_time DESC
         </if>