|
@@ -306,6 +306,7 @@ public class TaCustomerController extends BaseController {
|
306
|
306
|
@RequestParam(defaultValue = "") String identity,
|
307
|
307
|
@RequestParam(defaultValue = "", name = "nameOrPhone") String nameOrPhoneOrReceiver,
|
308
|
308
|
@RequestParam(defaultValue = "" ) Integer consultant,
|
|
309
|
+ @RequestParam(defaultValue = "all" ) String customerType,
|
309
|
310
|
HttpServletRequest request
|
310
|
311
|
){
|
311
|
312
|
ResponseBean responseBean = new ResponseBean();
|
|
@@ -319,7 +320,7 @@ public class TaCustomerController extends BaseController {
|
319
|
320
|
consultantId = consultant;
|
320
|
321
|
}
|
321
|
322
|
|
322
|
|
- IPage<TaCustomer> result = iTaCustomerService.getCustomerListOfFront(pageNumber, pageSize, consultantId, nameOrPhoneOrReceiver, identity, consultantType);
|
|
323
|
+ IPage<TaCustomer> result = iTaCustomerService.getCustomerListOfFront(pageNumber, pageSize, consultantId, nameOrPhoneOrReceiver, identity, consultantType,customerType);
|
323
|
324
|
List<TaCustomer> custs = result.getRecords();
|
324
|
325
|
|
325
|
326
|
if (null != custs && custs.size() > 0) {
|