package com.whyc.service;
|
|
import com.whyc.dto.Response;
|
import com.whyc.mapper.AlarmInspectionMapper;
|
import com.whyc.pojo.web_site.AlarmInspection;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
import java.util.List;
|
|
@Service
|
public class AlarmInspectionService {
|
|
@Resource
|
private AlarmInspectionMapper mapper;
|
|
public Response getList(Integer stationId) {
|
//需要附加填充 负责班组信息 及 告警诊断信息
|
List<AlarmInspection> list = mapper.getList(stationId);
|
return new Response().set(1,list);
|
}
|
}
|