Jelajahi Sumber

添加筛选条件

liyuan 8 bulan lalu
induk
melakukan
5a13266271

+ 3 - 0
blade-service/blade-sales-part/src/main/java/org/springblade/salesPart/productLaunch/mapper/ProductLaunchMapper.xml

@@ -201,6 +201,9 @@
         <if test="inventoryStatus != null">
         <if test="inventoryStatus != null">
             and ppl.inventory > #{inventoryStatus}
             and ppl.inventory > #{inventoryStatus}
         </if>
         </if>
+        <if test="whetherIntegral != null and whetherIntegral != ''">
+            and ppl.whether_integral = #{whetherIntegral}
+        </if>
         GROUP BY
         GROUP BY
         ppl.id
         ppl.id
         ) allGoods
         ) allGoods