liding
昨天 9f1c36a2ba4e13f9592bbf2e49afd95fd77cadfb
src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
@@ -127,8 +127,10 @@
        <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>