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 getAllSinfBinf1() { List list=mapper.getAllSinfBinf1(); return new Response().setII(1,list!=null,list,"左侧电池机房信息"); } /*查询左侧电源机房信息列表 * @param null 入参 * @return null * @author lxw * @date 2024/6/15 9:41 **/ public Response getAllSinfBinf2() { List list=mapper.getAllSinfBinf2(); return new Response().setII(1,list!=null,list,"左侧电源机房信息"); } }