| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceReimbursementdetailVo"> |
| | | select ID, RBID, StartTime, Departure, EndTime, Destination, Days, TrafficExpense, TrafficType,TrafficType2, CityFee, HotelExpense, InvoiceCount, AttachCount, OtherExpense, FoodExpenses, FoodAllowance, AnnexFiles, remark, del_flag, create_by, create_time, update_by, update_time, upload_flag, upload_time, travelprovince, travelprovincename, travelcity, travelcityname, traveltown, traveltownname, otherfeeamount, otherfeedesc, OrderNo,personname,persontype from service_reimbursementdetail |
| | | select ID, RBID, StartTime, Departure, EndTime, Destination, Days, TrafficExpense, TrafficType,TrafficType2, CityFee, HotelExpense, InvoiceCount, AttachCount, OtherExpense, FoodExpenses, FoodAllowance, AnnexFiles,InvoiceFiles, remark, del_flag, create_by, create_time, update_by, update_time, upload_flag, upload_time, travelprovince, travelprovincename, travelcity, travelcityname, traveltown, traveltownname, otherfeeamount, otherfeedesc, OrderNo,personname,persontype from service_reimbursementdetail |
| | | </sql> |
| | | |
| | | <select id="selectServiceReimbursementdetailList" parameterType="com.ruoyi.project.domain.ServiceReimbursementdetail" resultMap="ServiceReimbursementdetailResult"> |
| | |
| | | <if test="rbid != null and rbid != ''"> and RBID = #{rbid}</if> |
| | | </where> |
| | | </select> |
| | | <select id="getRBDetailList" resultType="com.ruoyi.project.domain.ServiceReimbursementdetail"> |
| | | <select id="getRBDetailList" resultMap="ServiceReimbursementdetailResult"> |
| | | <include refid="selectServiceReimbursementdetailVo"/> |
| | | where RBID = #{id} and del_flag = 0 |
| | | order by OrderNo |
| | |
| | | select ID from service_reimbursementdetail |
| | | where RBID = #{rbid} |
| | | </select> |
| | | <select id="getAllDetailsByRBID" resultType="com.ruoyi.project.domain.ServiceReimbursementdetail"> |
| | | <select id="getAllDetailsByRBID" resultMap="ServiceReimbursementdetailResult"> |
| | | <include refid="selectServiceReimbursementdetailVo"/> |
| | | where RBID = #{id} and del_flag = 0 order by OrderNo |
| | | </select> |