package com.whyc.service;
|
|
import com.whyc.dto.Response;
|
import com.whyc.mapper.SinfBinfMapper;
|
import com.whyc.pojo.StationInf;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
@Service
|
public class SinfBinfService {
|
|
@Autowired(required = false)
|
private SinfBinfMapper mapper;
|
|
/*查询左侧机房信息列表
|
* @param null 入参
|
* @return null
|
* @author lxw
|
* @date 2024/6/15 9:41
|
**/
|
public Response getAllSinfBinf() {
|
List<StationInf> list=mapper.getAllSinfBinf();
|
return new Response().setII(1,list!=null,list,"左侧机房信息");
|
}
|
}
|