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 >= #{startDate} AND scheduling_date <= #{endDate} GROUP BY scheduling_date </select> </mapper>