| | |
| | | t4.scheduling_date, |
| | | t4.finished_num, |
| | | t4.work_hours, |
| | | t4.work_hours * t4.finished_num as wages, |
| | | t4.process, |
| | | t3.product_name as productCategory, |
| | | t2.model as specificationModel, |
| | | t2.unit |
| | | FROM |
| | | sales_ledger_production_accounting t4 |
| | | left join product_model t2 on t2.id = t1.sales_ledger_product_id |
| | | left join product_model t2 on t2.id = t4.sales_ledger_product_id |
| | | left join product t3 on t3.id = t2.product_id |
| | | <where> |
| | | <if test="salesLedgerDto.schedulingUserName != null and salesLedgerDto.schedulingUserName != '' "> |