liyong
19 小时以前 3b94346fea3e6bdc74232615a11a764d0481383a
src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
@@ -88,4 +88,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>