| | |
| | | <result property="bh" column="bh"/> |
| | | <result property="checkstatus" column="checkstatus"/> |
| | | <result property="performancetype" column="performancetype"/> |
| | | <result property="applyTime" column="apply_time"/> |
| | | <result property="uploadStates" column="upload_states"/> |
| | | <result property="notes" column="notes"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceReimbursementVo"> |
| | |
| | | riqi, |
| | | bh, |
| | | checkstatus, |
| | | performancetype |
| | | apply_time, |
| | | performancetype, |
| | | upload_states, |
| | | notes |
| | | from service_reimbursement |
| | | </sql> |
| | | |
| | |
| | | |
| | | <select id="getListBypower" statementType="CALLABLE" |
| | | resultType="com.ruoyi.project.domain.vo.SpFinancialExpensesReimbursementOut"> |
| | | call SP_FINANCIAL_EXPENSES(#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PAFUNDTYPE,mode=IN,jdbcType=INTEGER},#{PAAPPLICANT,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONBEGTIME,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPARTMENT,mode=IN,jdbcType=VARCHAR},#{CHECKFLAG,mode=IN,jdbcType=INTEGER},#{APPLYTYPE,mode=IN,jdbcType=INTEGER}) |
| | | call SP_FINANCIAL_EXPENSES(#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PAFUNDTYPE,mode=IN,jdbcType=INTEGER},#{PAAPPLICANT,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONBEGTIME,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPARTMENT,mode=IN,jdbcType=VARCHAR},#{CHECKFLAG,mode=IN,jdbcType=INTEGER},#{APPLYTYPE,mode=IN,jdbcType=INTEGER},#{CHECKSTATUS,mode=IN,jdbcType=INTEGER},#{donorname,mode=IN,jdbcType=VARCHAR}) |
| | | </select> |
| | | <select id="getInfoByInfoId" resultType="com.ruoyi.project.domain.ServiceReimbursement"> |
| | | <include refid="selectServiceReimbursementVo"/> |
| | |
| | | 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,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 |
| | | as phone,a.DepositBank as depositbank,a.BankCardNo as bankcardno,a.DonorName as donorname,a.DeptmentName as deptmentname,b.trafficexpense as |
| | | trafficexpense,b.hotelexpense as hotelexpense,b.FoodExpenses as foodexpenses, b.foodallowance as foodallowance, |
| | | 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 |