mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
查询用户常去站点(最近半年)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 用户常去站点
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class UserFrquentedStationInfo {
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
/**
|
||||
* 站点名称
|
||||
*/
|
||||
private String stationName;
|
||||
/**
|
||||
* 充电次数
|
||||
*/
|
||||
private int chargeNum;
|
||||
}
|
||||
@@ -3,6 +3,7 @@ package com.jsowell.pile.mapper;
|
||||
import com.alipay.api.domain.ChargeOrderInfo;
|
||||
import com.jsowell.pile.domain.OrderBasicInfo;
|
||||
import com.jsowell.pile.domain.OrderDetail;
|
||||
import com.jsowell.pile.domain.UserFrquentedStationInfo;
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.pile.dto.nanrui.NRQueryOrderDTO;
|
||||
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryOrdersInfoDTO;
|
||||
@@ -402,4 +403,12 @@ public interface OrderBasicInfoMapper {
|
||||
* @return
|
||||
*/
|
||||
List<OrderVO> selectThirdPartyOrderList(@Param("dto") QueryStartChargeDTO dto);
|
||||
|
||||
|
||||
/**
|
||||
* 查询用户常用站点信息
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
List<UserFrquentedStationInfo> queryUserFrquentedStation(String memberId);
|
||||
}
|
||||
@@ -543,4 +543,11 @@ public interface OrderBasicInfoService{
|
||||
List<String> tempGetOrderCodes(QueryOrderDTO dto);
|
||||
|
||||
void retryRefundOrderList(List<String> orderCoderList);
|
||||
|
||||
/**
|
||||
* 查询用户常用充电站点信息
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
List<UserFrquentedStationInfo> queryUserFrquentedStation(String memberId);
|
||||
}
|
||||
|
||||
@@ -4954,5 +4954,17 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
public List<String> tempGetOrderCodes(QueryOrderDTO dto) {
|
||||
return orderBasicInfoMapper.tempGetOrderCodes(dto);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询用户常用充电站
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<UserFrquentedStationInfo> queryUserFrquentedStation(String memberId) {
|
||||
return orderBasicInfoMapper.queryUserFrquentedStation(memberId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user