/** * 客户列表 * * @param customerCompany * @param request * @param response * @return */ @RequestMapping(value = "/customerinfo.do") public String logInit( CustomerCompany customerCompany, HttpServletRequest request, HttpServletResponse response) { if (customerCompany.getPageNo() == null) customerCompany.setPageNo(1); customerCompany.setPageSize(Constants.DEFAULT_PAGE_SIZE); List<CustomerCompany> lc = customerService.getCustomerCompanyPageList(customerCompany); int totalCount = customerService.getCustomerCompanyPageListCount(customerCompany); customerCompany.setTotalCount(totalCount); request.setAttribute("customerCompany", customerCompany); request.setAttribute("customerCompanylist", lc); return "web/customer/customerInfoList"; }