liusheng
2024-03-08 c2600591e819743757f8668d0c684da1e24cb7d4
ruoyi-project/src/main/resources/mapper/project/ServiceDonorpaymentMapper.xml
@@ -25,10 +25,11 @@
        <result property="createTime"    column="create_time"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="handledPerson"    column="handled_person"    />
    </resultMap>
    <sql id="selectServiceDonorpaymentVo">
        select id, paymentno, paymenttime, paystatus, contactinfo, hospitalname, hospitalno, hospitalcontactinfo, receivableamount, beneficiary, beneficiarybank, beneficiaryaccount, receivedamount, receivedtime, remark, del_flag, create_by, create_time, update_by, update_time from service_donorpayment
        select id, paymentno, paymenttime, paystatus, contactinfo, hospitalname, hospitalno, hospitalcontactinfo, receivableamount, beneficiary, beneficiarybank, beneficiaryaccount, receivedamount, receivedtime, remark, del_flag, create_by, create_time, update_by, update_time,handled_person from service_donorpayment
    </sql>
    <select id="selectServiceDonorpaymentList" parameterType="com.ruoyi.project.domain.ServiceDonorpayment" resultMap="ServiceDonorpaymentResult">
@@ -45,6 +46,7 @@
            <if test="beneficiary != null  and beneficiary != ''"> and beneficiary = #{beneficiary}</if>
            <if test="beneficiarybank != null  and beneficiarybank != ''"> and beneficiarybank = #{beneficiarybank}</if>
            <if test="beneficiaryaccount != null  and beneficiaryaccount != ''"> and beneficiaryaccount = #{beneficiaryaccount}</if>
            <if test="handledPerson != null  and handledPerson != ''"> and handled_person = #{handledPerson}</if>
            <if test="receivedamount != null "> and receivedamount = #{receivedamount}</if>
            <if test="receivedtime != null "> and receivedtime = #{receivedtime}</if>
        </where>