liusheng
2023-09-22 785310c565529336e3f23418655ab445038e57f8
ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementMapper.xml
@@ -59,6 +59,8 @@
        <result property="backflowlevel" column="backFlowLevel"/>
        <result property="zffs" column="zffs"/>
        <result property="riqi" column="riqi"/>
        <result property="bh" column="bh"/>
        <result property="checkstatus" column="checkstatus"/>
    </resultMap>
    <sql id="selectServiceReimbursementVo">
@@ -113,7 +115,9 @@
               donorrelatives,
               backFlowLevel,
               zffs,
               riqi
               riqi,
               bh,
               checkstatus
        from service_reimbursement
    </sql>
@@ -165,11 +169,11 @@
    <select id="getRDInfoByItem" resultType="com.ruoyi.project.domain.ServiceReimbursementEo">
        SELECT a.id as id,a.UserNo as userno,a.FlowLevel as recordstatus,b.persontype as persontype,a.create_time as
        createTime,a.managername as managername,
        createTime,a.managername as managername,a.bh as bh,a.OPOchecker as opochecker,a.FinVicePresident as finvicepresident,a.BusVicePresident as busvicepresident,a.OfficeDirector  as officedirector,a.FinanceDirector  as financedirector,a.FinanceChecher  as financechecher,
        a.UserName as username,b.personname as travelers,a.AmountRequested as amountrequested,a.Reason as reason,a.Phone
        as phone,a.DepositBank as depositbank,a.BankCardNo as bankcardno,a.DonorName as donorname,b.trafficexpense as
        trafficexpense,b.hotelexpense as hotelexpense,b.FoodExpenses as foodexpenses, b.foodallowance as foodallowance,
        b.otherexpense as otherexpense,b.otherfeeamount as otherfeeamount FROM service_reimbursement a LEFT JOIN
        b.otherexpense as otherexpense,b.otherfeeamount as otherfeeamount,b.CityFee as cityfee FROM service_reimbursement a LEFT JOIN
        service_reimbursementdetail b on a.id=b.RBID where a.del_flag != 1 and b.del_flag!=1
        <if test="id != null">
            and a.id = #{id}