package com.goafanti.user.service.impl; import java.util.HashMap; import java.util.Map; import org.springframework.stereotype.Service; import com.goafanti.common.dao.JpushEasemobAccountMapper; import com.goafanti.core.mybatis.BaseMybatisDao; import com.goafanti.core.mybatis.page.Pagination; import com.goafanti.user.bo.ClientListBo; import com.goafanti.user.service.JpushEasemobAccountService; @Service public class JpushEasemobAccountServiceImpl extends BaseMybatisDao implements JpushEasemobAccountService{ @SuppressWarnings("unchecked") @Override public Pagination findJpushClientsByType(Integer type,Integer pageNo,Integer pageSize) { // TODO Auto-generated method stub if(pageNo==null||pageNo<1)pageNo=1; if(pageSize==null||pageSize<1)pageSize=10; Mapparams=new HashMap<>(); params.put("clientType", type); return (Pagination) findPage("findJpushClientsByType", "findJpushClientsCountByType", params, pageNo, pageSize); } }