| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.production.mapper.SalesLedgerProductionAccountingMapper"> |
| | | |
| | | <select id="listPage" resultType="com.ruoyi.production.dto.SalesLedgerProductionAccountingDto"> |
| | | <select id="listPage" resultType="com.ruoyi.production2.dto.SalesLedgerProductionAccountingDto"> |
| | | SELECT |
| | | t4.id, |
| | | t4.finished_num * t4.work_hours as wages, |
| | |
| | | order by t4.scheduling_date desc |
| | | </select> |
| | | <select id="pageProductionAccounting" |
| | | resultType="com.ruoyi.production.dto.SalesLedgerProductionAccountingDto"> |
| | | resultType="com.ruoyi.production2.dto.SalesLedgerProductionAccountingDto"> |
| | | SELECT |
| | | slpa.scheduling_user_id, |
| | | slpa.scheduling_user_name, |
| | |
| | | </if> |
| | | |
| | | </where> |
| | | GROUP BY slpa.scheduling_user_name |
| | | |
| | | GROUP BY slpa.scheduling_user_id, slpa.scheduling_user_name |
| | | </select> |
| | | |
| | | <select id="selectDailyWagesStats" resultType="java.util.Map"> |
| | |
| | | GROUP BY DATE(ppout.create_time) |
| | | ORDER BY DATE(ppout.create_time); |
| | | </select> |
| | | <select id="getByUserId" resultType="com.ruoyi.production.dto.UserAccountDto"> |
| | | <select id="getByUserId" resultType="com.ruoyi.production2.dto.UserAccountDto"> |
| | | select |
| | | slpa.scheduling_user_id as user_id, |
| | | pp.type, |