Pu Zhibing
2025-01-23 792cbb986fb8c32f6bbc1638c4ae264372e7a28f
ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TChargingOrderService.java
@@ -17,6 +17,11 @@
import com.ruoyi.order.api.vo.*;
import com.ruoyi.order.dto.*;
import com.ruoyi.order.vo.ChargingOrderListInfoVO;
import com.ruoyi.order.vo.EndOfChargePageInfo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
@@ -137,7 +142,7 @@
   List<SixCircleDto> circle(List<Integer> siteIds,LocalDate sixBefore);
   Map<String, Object> countAll(LocalDate sixBefore);
   Map<String, Object> countAll(LocalDate sixBefore,List<Integer> siteIds);
    List<Map<String, Object>> getSumByType(List<Long> chargingOrderIds);
@@ -168,7 +173,20 @@
    * @param code
    */
   void endCharge(String code, Integer endMode);
   /**
    * 停止充电返回账单后计算费用
    * @param vo
    */
   void endChargeBillingCharge(TransactionRecordMessageVO vo);
//   /**
//    * 停止充电返回账单后计算费用
//    * @param vo
//    */
//   void endChargeBillingCharge1(TransactionRecordMessageVO vo);
   /**
    * 异常结束充电处理逻辑
@@ -184,10 +202,11 @@
   List<Map<String, Object>> queryOrderCountAndMoneyBySiteIdDate(List<Integer> siteIds);
   List<Map<String, Object>> usersDay();
   List<Map<String, Object>> usersDay(ChargingStatisticsQueryDto statisticsQueryDto);
   List<Map<String, Object>> usersDay1();
   List<Map<String, Object>> usersByQuery(ChargingStatisticsQueryDto statisticsQueryDto);
   List<Map<String, Object>> usersByQuery1(ChargingStatisticsQueryDto statisticsQueryDto);
   List<Map<String, Object>> getUserTagCount();
@@ -202,7 +221,7 @@
   Map<String, Object> countLocalCar();
    Long getAver(List<Integer> siteIds);
    Double getAver(List<Integer> siteIds);
   List<Map<String, Object>> getLevelEvaluate(List<Integer> siteIds);
@@ -220,8 +239,9 @@
   PageInfo<TSettlementConfirm> settlementList(SettlementListQuery dto);
    SettlementTotalVO settlementTotal(String time);
    SettlementTotalVO settlementTotalR(String time,Long userId);
   List<Map<String, Object>> countBySource(List<Integer> siteIds);
   List<Map<String, Object>> countBySource(List<Integer> siteIds,ChargingStatisticsQueryDto statisticsQueryDto);
   List<Map<String, Object>> equipmentUserType1(List<Integer> siteIds, ChargingStatisticsQueryDto statisticsQueryDto);
@@ -248,4 +268,39 @@
   List<Map<String, Object>> countAllUserData();
   List<Map<String, Object>> needElec1(List<Integer> siteIds, ChargingStatisticsQueryDto statisticsQueryDto);
   /**
    * 获取充电结束页面详情
    * @param id
    * @return
    */
   EndOfChargePageInfo getEndOfChargePageInfo(String id);
   Long countNoTag();
   /**
    * 获取订单数据
    * @param order
    * @return
    */
   List<TChargingOrder> getChargingOrder(TChargingOrderVo order);
    Long countCar(List<String> brands);
   /**
    * 添加三方平台充电订单数据
    * @param chargingGunId
    */
   R addTripartitePlatformOrder(Integer chargingGunId, String operatorId, Integer rechargePaymentType, BigDecimal paymentAmount, String startChargeSeq);
   /**
    * 三方平台停止充电操作
    * @param startChargeSeq
    * @return
    */
   R tripartitePlatformStopCharge(@RequestParam("startChargeSeq") String startChargeSeq);
}