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.WaitPakOutLogCondition; import com.slcf.dao.WaitPakOutLogDao; import com.slcf.pojo.WaitPakOutLogBean; import com.slcf.service.WaitPakOutLogService; /** * 出库通知历史档接口实现 * @author admin * @date 2018年11月20日 */ @Service public class WaitPakOutLogServiceImpl implements WaitPakOutLogService { @Autowired WaitPakOutLogDao waitPakOutLogDao; /** * 分页查询所有 */ public Map queryWaitPakOutLogList(WaitPakOutLogCondition waitPakOutLogCon) { try { Map map=new HashMap(); List list=waitPakOutLogDao.queryWaitPakOutLogList(waitPakOutLogCon); int count =waitPakOutLogDao.getWaitPakOutLogCount(waitPakOutLogCon); map.put("rows", list); map.put("total", count); return map; }catch(Exception e) { System.out.println(e.getMessage()); return null; } } /** * 查询所有 * @return */ public List getWaitPakOutLogList() { try { return waitPakOutLogDao.getWaitPakOutLogList(); }catch(Exception e) { System.out.println(e.getMessage()); return null; } } }