From c20c99f256e2f47bd45f0b48fb6b1bcc83960f1e Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期四, 21 三月 2024 14:22:13 +0800 Subject: [PATCH] 代码提交 --- ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml index 5eb8512..bb2ca20 100644 --- a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml +++ b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementpayeeMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.project.mapper.ServiceReimbursementpayeeMapper"> - <resultMap type="ServiceReimbursementpayee" id="ServiceReimbursementpayeeResult"> + <resultMap type="com.ruoyi.project.domain.ServiceReimbursementpayee" id="ServiceReimbursementpayeeResult"> <result property="id" column="id" /> <result property="rbid" column="rbid" /> <result property="orderno" column="orderno" /> @@ -17,7 +17,7 @@ <result property="familyrelations" column="familyrelations" /> <result property="paiddate" column="paiddate" /> <result property="remark" column="remark" /> - <result property="delFlag" column="del_flag" /> + <result property="del_flag" column="del_flag" /> <result property="createBy" column="create_by" /> <result property="createTime" column="create_time" /> <result property="updateBy" column="update_by" /> @@ -30,7 +30,7 @@ select id, rbid, orderno, persontype, personname, bankname, bankcardno, amount, phone, familyrelations, paiddate, remark, del_flag, create_by, create_time, update_by, update_time, uploadflag, uploadtime from service_reimbursementpayee </sql> - <select id="selectServiceReimbursementpayeeList" parameterType="ServiceReimbursementpayee" resultMap="ServiceReimbursementpayeeResult"> + <select id="selectServiceReimbursementpayeeList" parameterType="com.ruoyi.project.domain.ServiceReimbursementpayee" resultMap="ServiceReimbursementpayeeResult"> <include refid="selectServiceReimbursementpayeeVo"/> <where> <if test="rbid != null "> and rbid = #{rbid}</if> @@ -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> \ No newline at end of file -- Gitblit v1.9.3