package org.jeecg.modules.arj.service.impl; import org.jeecg.modules.arj.entity.Alert; import org.jeecg.modules.arj.service.AlertService; import org.jeecg.modules.arj.mapper.AlertMapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; /** *

* 前端控制器 *

* * @author hyy * @since 2023-01-04 */ @Service public class AlertServiceImpl extends ServiceImpl implements AlertService { @Autowired private AlertMapper alertMapper; @Override public List queryByHeadId(String headId) { QueryWrapper q = new QueryWrapper<>(); q.eq("head_id",headId); return alertMapper.selectList(q); } }