gongchunyi
昨天 b504b19b0881a7c1bd9e280ba41e993956b7f94e
src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
@@ -70,4 +70,18 @@
    </select>
    <select id="selectDailyWagesStats" resultType="java.util.Map">
        SELECT
            DATE_FORMAT(scheduling_date, '%Y-%m-%d') as date,
            SUM(finished_num * work_hours) as wages
        FROM
            sales_ledger_production_accounting
        WHERE
            scheduling_date &gt;= #{startDate}
            AND scheduling_date &lt;= #{endDate}
        GROUP BY
            scheduling_date
    </select>
</mapper>