src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
@@ -131,9 +131,7 @@ <if test="req.productCategory != null and req.productCategory != ''"> AND slp.product_category = #{req.productCategory} </if> <!-- 按产品大类分组聚合 --> GROUP BY slp.product_category <!-- 按产品大类排序 --> GROUP BY slp.product_category, slp.specification_model, sl.supplier_name ORDER BY slp.product_category </select> <select id="selectProductBomStructure" resultType="com.ruoyi.sales.dto.LossProductModelDto">