123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- package com.ruoyi.system.mapper;
- import com.ruoyi.system.domain.*;
- import com.ruoyi.system.domain.vo.ItemsVo;
- import com.ruoyi.system.domain.vo.OrderBillsPlansVo;
- import org.apache.ibatis.annotations.MapKey;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- import java.util.Map;
- @Mapper
- public interface OrderBillsPlansMapper {
- /**
- * 获取业务表数据
- *
- * @param emplId
- * @param dataStart
- * @param dataEnd
- * @return
- */
- List<WfTaskList> getOrderBillsPlansLsit(Map map);
- /**
- * 根据orderNo查询
- *
- * @param orderNo 订单号
- * @return 详情
- */
- OrderBillsPlans getOrderBillsPlansByid(Long orderNo);
- /**
- * 保存保单信息
- *
- * @param orderBillsPlans
- * @return
- */
- /*
- <set>
- <if test="loadQty != null and loadQty != ''">
- LoadQty = #{loadQty},
- </if>
- <if test="loadDate != null">
- LoadDate = #{loadDate},
- </if>
- <if test="unLoadQty != null and unLoadQty != ''">
- UnLoadQty = #{unLoadQty},
- </if>
- <if test="unLoadDate != null">
- UnLoadDate = #{unLoadDate},
- </if>
- <if test="emptyaddr1 != null and emptyaddr1 != ''">
- EMPTYADDR1 = #{emptyaddr1},
- </if>
- <if test="odometerstart != null and odometerstart != ''">
- ODOMETERSTART = #{odometerstart},
- </if>
- <if test="emptyaddr2 != null and emptyaddr2 != ''">
- EMPTYADDR2 = #{emptyaddr2},
- </if>
- <if test="odometerend != null and odometerend != ''">
- ODOMETEREND = #{odometerend},
- </if>
- <if test="loadmile != null and loadmile != ''">
- LOADMILE = #{loadmile},
- </if>
- <if test="remarks != null and remarks != ''">
- Remarks = #{remarks},
- </if>
- </set>
- */
- Integer updateOrderBillsPlansByid(OrderBillsPlans orderBillsPlans);
- /**
- * 获取报销费用list
- *
- * @return
- */
- List<ItemsVo> getItemsList();
- Integer insertLoadFeeItems(@Param("o") OrderBillsPlansVo orderBillsPlansVo, @Param("i") ItemsVo itemsVo, @Param("e") Empls empls);
- @MapKey("itemId")
- Map<String, LoadFeeItems> getLoadFeeitemsMapByentityIdKeyItemId(Long entityId);
- /**
- * 更新金额
- *
- * @param loadFeeItems
- * @return
- */
- /**
- * 查询报销费用报销金额下拉选
- *
- * @return
- */
- List<GasStations> getGasStations();
- /**
- * 报销
- * @param orderBillsPlansVo
- * @return
- */
- Integer reimbursement(OrderBillsPlansVo orderBillsPlansVo);
- /**
- * 删除
- * @param carId
- * @return
- */
- Integer deleteLoadFeeItemsByCarId(Long carId);
- /**
- * 查询报销信息
- * @param
- * @return 数据
- */
- OrderBillsPlansVo getOrderBillsPlansByOrder(Long orderNo);
- List<LoadFeeItems> getLoadFeeItemsByOrder(Long entityid);
- }
|