yxh
yxh
2024-03-08 25fb6d7ba484738ebe9c577eba4f3596520caf60
ruoyi-project/src/main/resources/mapper/project/ServiceDonorpaymentMapper.xml
@@ -25,11 +25,12 @@
        <result property="createTime"    column="create_time"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="handledPerson"    column="handled_person"    />
        <result property="userName"    column="user_name"    />
        <result property="userNo"    column="user_no"    />
    </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,handled_person 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,user_name,user_no from service_donorpayment
    </sql>
    <select id="selectServiceDonorpaymentList" parameterType="com.ruoyi.project.domain.ServiceDonorpayment" resultMap="ServiceDonorpaymentResult">
@@ -46,7 +47,8 @@
            <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="userName != null  and userName != ''"> and user_name = #{userName}</if>
            <if test="userNo != null  and userNo != ''"> and user_no = #{userNo}</if>
            <if test="receivedamount != null "> and receivedamount = #{receivedamount}</if>
            <if test="receivedtime != null "> and receivedtime = #{receivedtime}</if>
        </where>