/** * Description:测试:疑似客户分页Count<br> * * @author 120750 * @version 0.1 2014-3-5 void */ @Test public void testSearchRepeatCustCount() { SearchCondition sc = new SearchCondition(); sc.setDeptId("24242"); sc.setDeptLevel(CustRepeatConstants.DEPT_ORDINARY); repeatedCustDao.searchRepeatCustCount(sc); }
/** * 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); }
@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 testSearchCustomerList() { SearchCondition searchCondition = new SearchCondition(); searchCondition.setCustCode("724470"); repeatedCustDao.searchCustomerList(searchCondition); }