package com.slcf.service.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.slcf.bean.WaitCheckLogCondition; import com.slcf.dao.WaitCheckLogDao; import com.slcf.pojo.WaitCheckLogBean; import com.slcf.service.WaitCheckLogService; /** * 盘点通知历史档接口实现 * @author admin * @date 2018年11月20日 */ @Service public class WaitCheckLogServiceImpl implements WaitCheckLogService { @Autowired WaitCheckLogDao waitCheckLogDao; /** * 分页查询所有 */ public Map queryWaitCheckLogList(WaitCheckLogCondition waitCheckLogCon) { try { Map map=new HashMap(); List list=waitCheckLogDao.queryWaitCheckLogList(waitCheckLogCon); int count =waitCheckLogDao.getWaitCheckLogCount(waitCheckLogCon); map.put("rows", list); map.put("total", count); return map; }catch(Exception e) { System.out.println(e.getMessage()); return null; } } /** * 查询所有 * @return */ public List getWaitCheckLogList() { try { return waitCheckLogDao.getWaitCheckLogList(); }catch(Exception e) { System.out.println(e.getMessage()); return null; } } }