package com.whyc.service;
|
|
import com.whyc.dto.Response;
|
import com.whyc.mapper.BattGroupStationUserMapper;
|
import com.whyc.pojo.Battinf;
|
import com.whyc.pojo.UserInf;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
import java.util.List;
|
|
@Service
|
public class BattGroupStationUserService {
|
@Resource
|
private BattGroupStationUserMapper mapper;
|
|
public List<UserInf> getUserList(Integer stationId) {
|
return mapper.getUserList(stationId);
|
}
|
|
public List<Battinf> getStationInfoList(Long uId) {
|
return mapper.getStationInfoList(uId);
|
}
|
}
|