@Test public void testSearchRepeatCustDeptCount() { SearchCondition searchCondition = new SearchCondition(); searchCondition.setDeptType("DEPT_EXPRESS"); searchCondition.setStart(1); searchCondition.setLimit(5); searchCondition.setCurrtDeptName("上海闵行区浦江镇营业部"); searchCondition.setDeptName("上海闵行区浦江镇营业部"); repeatedCustDao.searchRepeatCustDeptCount(searchCondition); }
/** * Description:测试:疑似客户查询<br> * * @author 120750 * @version 0.1 2014-3-5 void */ @Test public void testSearchRepeatCustList() { SearchCondition sc = new SearchCondition(); sc.setDeptId("24242"); sc.setDeptLevel(CustRepeatConstants.DEPT_ORDINARY); repeatedCustDao.searchRepeatCustList(sc); // 测试分页 sc.setStart(0); sc.setLimit(20); repeatedCustDao.searchRepeatCustList(sc); }