| | |
| | | </select> |
| | | |
| | | <select id="selectVExpertfeeDonorList2" parameterType="com.ruoyi.project.domain.VExpertfeeDonor" resultMap="VExpertfeeDonorResult"> |
| | | select DonorName, PretaxAmount, TaxAmount, TaxedAmount, DonorMedicalCost, DonorBodyCost, OrganGainCost, OrganMedicalCost, DonorCost from v_expertfee_donor |
| | | select DonorName, InfoID, PretaxAmount, TaxAmount, TaxedAmount, DonorMedicalCost, DonorBodyCost, OrganGainCost, OrganMedicalCost, DonorCost from v_expertfee_donor |
| | | where fund_tax_id = #{taxId} |
| | | UNION |
| | | SELECT |
| | | '合计' as DonorName, |
| | | null as InfoID, |
| | | SUM(PretaxAmount) as PretaxAmount, |
| | | SUM(TaxAmount) as TaxAmount, |
| | | SUM(TaxedAmount) as TaxedAmount, |