liusheng
昨天 8e3a02c1facca35c5a90ce9b49505f373ae658f5
ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementdetailMapper.xml
@@ -22,6 +22,7 @@
        <result property="foodexpenses"    column="FoodExpenses"    />
        <result property="foodallowance"    column="FoodAllowance"    />
        <result property="annexfiles"    column="AnnexFiles"    />
        <result property="invoicefiles"    column="InvoiceFiles"    />
        <result property="remark"    column="remark"    />
        <result property="del_flag"    column="del_flag"    />
        <result property="createBy"    column="create_by"    />
@@ -41,7 +42,7 @@
    </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">
@@ -55,7 +56,7 @@
            <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
@@ -64,7 +65,7 @@
        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>