|
@@ -306,10 +306,11 @@ 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
|
+ String customerType,
|
310
|
310
|
HttpServletRequest request
|
311
|
311
|
){
|
312
|
312
|
ResponseBean responseBean = new ResponseBean();
|
|
313
|
+ customerType = null != customerType ? customerType : CommConstant.CUSTOMER_OF_ALL;
|
313
|
314
|
try {
|
314
|
315
|
Integer consultantId = null;
|
315
|
316
|
if (mine) {
|
|
@@ -319,7 +320,7 @@ public class TaCustomerController extends BaseController {
|
319
|
320
|
}else {
|
320
|
321
|
consultantId = consultant;
|
321
|
322
|
}
|
322
|
|
-
|
|
323
|
+
|
323
|
324
|
IPage<TaCustomer> result = iTaCustomerService.getCustomerListOfFront(pageNumber, pageSize, consultantId, nameOrPhoneOrReceiver, identity, consultantType,customerType);
|
324
|
325
|
List<TaCustomer> custs = result.getRecords();
|
325
|
326
|
|