OrderBillsPlansMapper.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. package com.ruoyi.system.mapper;
  2. import com.ruoyi.system.domain.*;
  3. import com.ruoyi.system.domain.vo.ItemsVo;
  4. import com.ruoyi.system.domain.vo.OrderBillsPlansVo;
  5. import org.apache.ibatis.annotations.MapKey;
  6. import org.apache.ibatis.annotations.Mapper;
  7. import org.apache.ibatis.annotations.Param;
  8. import java.util.List;
  9. import java.util.Map;
  10. @Mapper
  11. public interface OrderBillsPlansMapper {
  12. /**
  13. * 获取业务表数据
  14. *
  15. * @param emplId
  16. * @param dataStart
  17. * @param dataEnd
  18. * @return
  19. */
  20. List<WfTaskList> getOrderBillsPlansLsit(Map map);
  21. /**
  22. * 根据orderNo查询
  23. *
  24. * @param orderNo 订单号
  25. * @return 详情
  26. */
  27. OrderBillsPlans getOrderBillsPlansByid(Long orderNo);
  28. /**
  29. * 保存保单信息
  30. *
  31. * @param orderBillsPlans
  32. * @return
  33. */
  34. /*
  35. <set>
  36. <if test="loadQty != null and loadQty != ''">
  37. LoadQty = #{loadQty},
  38. </if>
  39. <if test="loadDate != null">
  40. LoadDate = #{loadDate},
  41. </if>
  42. <if test="unLoadQty != null and unLoadQty != ''">
  43. UnLoadQty = #{unLoadQty},
  44. </if>
  45. <if test="unLoadDate != null">
  46. UnLoadDate = #{unLoadDate},
  47. </if>
  48. <if test="emptyaddr1 != null and emptyaddr1 != ''">
  49. EMPTYADDR1 = #{emptyaddr1},
  50. </if>
  51. <if test="odometerstart != null and odometerstart != ''">
  52. ODOMETERSTART = #{odometerstart},
  53. </if>
  54. <if test="emptyaddr2 != null and emptyaddr2 != ''">
  55. EMPTYADDR2 = #{emptyaddr2},
  56. </if>
  57. <if test="odometerend != null and odometerend != ''">
  58. ODOMETEREND = #{odometerend},
  59. </if>
  60. <if test="loadmile != null and loadmile != ''">
  61. LOADMILE = #{loadmile},
  62. </if>
  63. <if test="remarks != null and remarks != ''">
  64. Remarks = #{remarks},
  65. </if>
  66. </set>
  67. */
  68. Integer updateOrderBillsPlansByid(OrderBillsPlans orderBillsPlans);
  69. /**
  70. * 获取报销费用list
  71. *
  72. * @return
  73. */
  74. List<ItemsVo> getItemsList();
  75. Integer insertLoadFeeItems(@Param("o") OrderBillsPlansVo orderBillsPlansVo, @Param("i") ItemsVo itemsVo, @Param("e") Empls empls);
  76. @MapKey("itemId")
  77. Map<String, LoadFeeItems> getLoadFeeitemsMapByentityIdKeyItemId(Long entityId);
  78. /**
  79. * 更新金额
  80. *
  81. * @param loadFeeItems
  82. * @return
  83. */
  84. /**
  85. * 查询报销费用报销金额下拉选
  86. *
  87. * @return
  88. */
  89. List<GasStations> getGasStations();
  90. /**
  91. * 报销
  92. * @param orderBillsPlansVo
  93. * @return
  94. */
  95. Integer reimbursement(OrderBillsPlansVo orderBillsPlansVo);
  96. /**
  97. * 删除
  98. * @param carId
  99. * @return
  100. */
  101. Integer deleteLoadFeeItemsByCarId(Long carId);
  102. /**
  103. * 查询报销信息
  104. * @param
  105. * @return 数据
  106. */
  107. OrderBillsPlansVo getOrderBillsPlansByOrder(Long orderNo);
  108. List<LoadFeeItems> getLoadFeeItemsByOrder(Long entityid);
  109. }