whyclxw
2024-06-15 aa7b92b0e52a1f79f92bffb5d72df849b42243d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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,"左侧机房信息");
    }
}