package com.whyc.service; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.whyc.mapper.PowerAlarmCfgMapper; import com.whyc.pojo.db_power_alarm.PowerAlarmCfg; import com.whyc.util.ActionUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class PowerAlarmCfgService { @Autowired private PowerAlarmCfgMapper mapper; public List getList(){ return mapper.selectList((Wrapper) ActionUtil.objeNull); } }