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.ComplaintdetailsDao; import com.newfiber.api.pc.model.EventsManage.Complaintdetails; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; /** * 投诉处理详情表 Service * @author bjf * @date 2018-12-11 10:49:44 */ @Service("complaintdetailsService") public class ComplaintdetailsService extends BaseService<ComplaintdetailsDao,Complaintdetails> { @Autowired private ComplaintdetailsDao complaintdetailsDao; /** 根据条件获取投诉处理详情表列表(分页) */ public List<Complaintdetails> queryList(Map<String, Object> map,Page<Complaintdetails> page){ return complaintdetailsDao.queryList(map,page); } /** 根据条件获取投诉处理详情表列表(无分页) */ public List<Complaintdetails> queryList(Map<String, Object> map){ return complaintdetailsDao.queryList(map); } /** * 根据投诉编号查询投诉处理详情 * @param eventNo * @return */ public Complaintdetails getByEventNo(String eventNo){ return complaintdetailsDao.selectInfoByEventNo(eventNo); } }