diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/record/DerateRecordQueryMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/record/DerateRecordQueryMapper.xml index 7976f3ae..3f27eed2 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/record/DerateRecordQueryMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/record/DerateRecordQueryMapper.xml @@ -13,7 +13,7 @@ bp.pro_name as projectName, SUM(srd.lease_price * srd.num) as leasePrice, SUM(srd.lease_money) as leaseMoney, - sra.`status`, + swr.workflow_status as status, a.leaseMoneyAll as leaseMoneyAll FROM slt_reduce_apply sra @@ -22,7 +22,7 @@ LEFT JOIN bm_agreement_info bai on bai.agreement_id=sra.agreement_id LEFT JOIN bm_project bp ON bp.pro_id = bai.project_id LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id - + LEFT JOIN sys_workflow_record swr ON swr.task_id = sra.id LEFT JOIN ( SELECT