maven
4 天以前 64812ecec137ffd019993c429116a8000edc6f46
src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
@@ -11,13 +11,14 @@
        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 != '' ">