| | |
| | | "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" /> |
| | |
| | | <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" /> |
| | |
| | | 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> |
| | |
| | | </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> |