3 天以前 f350465db70d6f9db9494483ee0cec7793a9007b
src/main/resources/mapper/production/ProductionProductOutputMapper.xml
@@ -49,7 +49,7 @@
    <select id="selectDailyOutputStats" resultType="java.util.Map">
        SELECT
            DATE_FORMAT(create_time, '%Y-%m-%d') as date,
            SUM(quantity-scrap_qty) as quantity
            SUM(quantity + IFNULL(add_qty, 0)) as quantity
        FROM
            production_product_output
        WHERE