StationService.java
759 Bytes
package com.huaheng.pc.config.station.service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.huaheng.common.utils.Wrappers;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huaheng.pc.config.station.domain.Station;
import com.huaheng.pc.config.station.mapper.StationMapper;
/**
* Created by Enzo Cotter on 2019/10/11.
*/
@Service
public class StationService extends ServiceImpl<StationMapper, Station> {
public List<Station> selectlist(){
LambdaQueryWrapper<Station> lambdaQueryWrapper = Wrappers.lambdaQuery();
List<Station> list = this.list(lambdaQueryWrapper);
return list;
}
}