| | |
| | | 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.AvoidPlanMapper; |
| | | import com.whyc.pojo.AvoidPlan; |
| | | import com.whyc.util.ActionUtil; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | |
| | | //查询规避时间 |
| | | public Response searchAll() { |
| | | List list= mapper.selectList(null); |
| | | List list= mapper.selectList((Wrapper<AvoidPlan>) ActionUtil.objeNull); |
| | | PageInfo pageInfo=new PageInfo(list); |
| | | return new Response().set(1,pageInfo); |
| | | } |