yxh
2023-05-10 ae940502b8431e4773d030bc9cb2d05f0ec6cecf
ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml
@@ -48,4 +48,24 @@
        </where>
    </select>
    <select id="getReimbursementpayeeInfo" resultType="com.ruoyi.project.domain.ServiceReimbursementpayee">
        SELECT b.personname as personname,b.bankname as bankname,b.bankcardno as bankcardno,b.amount as
        amount,b.persontype as persontype,b.paiddate as paiddate,b.Remark as remark from service_reimbursement
        a,service_reimbursementpayee b where a.id=b.RBID and a.del_flag!=1 and b.del_flag!=1
        <if test="id != null">
            and a.id = #{id}
        </if>
        <if test='username != null and username != ""'>
            and a.UserName=#{username}
        </if>
        <if test='recordstatus != null and recordstatus != ""'>
            and a.FlowLevel=#{recordstatus}
        </if>
        <if test='starttime != null and endtime != ""'>
            and a.create_time BETWEEN #{starttime} AND #{endtime}
        </if>
        ORDER BY a.id desc
    </select>
</mapper>