package com.newfiber.api.pc.service.impl; import com.baomidou.mybatisplus.plugins.Page; import com.newfiber.api.core.base.BaseService; import com.newfiber.api.pc.dao.EventsManage.ComplainProcessDao; import com.newfiber.api.pc.model.EventsManage.ComplainProcess; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 事件跟踪表 Service * @author xcc * @date 2018-12-04 16:22:00 */ @Service("complainProcessService") public class ComplainProcessService extends BaseService<ComplainProcessDao,ComplainProcess> { @Autowired private ComplainProcessDao complainProcessDao; /** 根据条件获取事件跟踪表列表(分页) */ public List<ComplainProcess> queryList(Map<String, Object> map,Page<ComplainProcess> page){ return complainProcessDao.queryList(map,page); } /** 根据条件获取事件跟踪表列表(无分页) */ public List<ComplainProcess> queryList(Map<String, Object> map){ return complainProcessDao.queryList(map); } /** * 啊根据投诉唯一编号查询处理流程 * @param eventNo * @return */ public List<ComplainProcess> getListByEventNo(String eventNo){ return complainProcessDao.selectByEventNo(eventNo); } }