| | |
| | | o.annex_files, |
| | | o.organ_state, |
| | | o.organ_charge_state, |
| | | b.donatetime |
| | | o.donationtime |
| | | from service_donorchargeorgan o |
| | | left join service_donatebaseinfo b on b.ID = o.InfoID |
| | | <where> |
| | |
| | | <if test="amountoperator != null and amountoperator != ''">and o.amountoperator = #{amountoperator}</if> |
| | | <if test="chargestate != null ">and o.chargestate = #{chargestate}</if> |
| | | <if test="organchargedesc != null and organchargedesc != ''">and o.organchargedesc = #{organchargedesc}</if> |
| | | <if test="starttime != null ">and b.donatetime >= #{starttime}</if> |
| | | <if test="endtime != null ">and b.donatetime <= #{endtime}</if> |
| | | <if test="starttime != null ">and o.donationtime >= #{starttime}</if> |
| | | <if test="endtime != null ">and o.donationtime <= #{endtime}</if> |
| | | </where> |
| | | order by b.donatetime |
| | | order by o.donationtime desc |
| | | </select> |
| | | |
| | | <select id="organfeeSummary" parameterType="com.ruoyi.project.domain.ServiceDonorchargeorgan" |