mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update
This commit is contained in:
@@ -14,7 +14,7 @@ import com.jsowell.common.response.RestApiResponse;
|
||||
import com.jsowell.common.util.SMSUtil;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.pile.domain.MemberPlateNumberRelation;
|
||||
import com.jsowell.pile.domain.UserFrquentedStationInfo;
|
||||
import com.jsowell.pile.domain.UserFrequentedStationInfo;
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.pile.service.MemberBasicInfoService;
|
||||
import com.jsowell.pile.service.MemberPlateNumberRelationService;
|
||||
@@ -614,7 +614,7 @@ public class MemberController extends BaseController {
|
||||
try {
|
||||
String memberId = getMemberIdByAuthorization(request);
|
||||
//查询order_basic_info表,根据member_id,对应的station_id,,然后根据station_id查询pile_station_info表中的站点名称,最后统计每个站点的次数,查询当前时间前半年的记录
|
||||
List<UserFrquentedStationInfo> list = memberService.queryUserFrquentedStation(memberId);
|
||||
List<UserFrequentedStationInfo> list = memberService.queryUserFrequentedStation(memberId);
|
||||
response = new RestApiResponse<>(ImmutableMap.of("list", list));
|
||||
} catch (BusinessException e) {
|
||||
logger.error("查询用户常去站点(最近半年) error", e);
|
||||
|
||||
@@ -853,7 +853,7 @@ public class MemberService {
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
public List<UserFrquentedStationInfo> queryUserFrquentedStation(String memberId) {
|
||||
return orderService.queryUserFrquentedStation(memberId);
|
||||
public List<UserFrequentedStationInfo> queryUserFrequentedStation(String memberId) {
|
||||
return orderService.queryUserFrequentedStation(memberId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1520,7 +1520,7 @@ public class OrderService {
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
public List<UserFrquentedStationInfo> queryUserFrquentedStation(String memberId) {
|
||||
return orderBasicInfoService.queryUserFrquentedStation(memberId);
|
||||
public List<UserFrequentedStationInfo> queryUserFrequentedStation(String memberId) {
|
||||
return orderBasicInfoService.queryUserFrequentedStation(memberId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user