| | |
| | | package com.whyc.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.mapper.PwrdevAlarmParamMapper; |
| | | import com.whyc.pojo.PwrdevAlarmParam; |
| | | import com.whyc.util.ActionUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | * 获取 告警模板 |
| | | */ |
| | | public Response getTemplate(){ |
| | | List<PwrdevAlarmParam> list = mapper.selectList(null); |
| | | List<PwrdevAlarmParam> list = mapper.selectList((Wrapper<PwrdevAlarmParam>) ActionUtil.objeNull); |
| | | return new Response().set(1,list,"查询成功"); |
| | | } |
| | | |