|
@@ -237,6 +237,7 @@ public class TaContactController extends BaseController {
|
237
|
237
|
@RequestMapping(value = "/admin/listContactByCondition", method = RequestMethod.GET)
|
238
|
238
|
public ResponseBean listContactByConditionForAdmin(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
|
239
|
239
|
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize,
|
|
240
|
+ @RequestParam(value = "contactType") String contactType,
|
240
|
241
|
String contactName, String telephone, String phone, String job) {
|
241
|
242
|
ResponseBean responseBean = new ResponseBean();
|
242
|
243
|
try {
|
|
@@ -247,7 +248,7 @@ public class TaContactController extends BaseController {
|
247
|
248
|
queryWrapper.like(!StringUtils.isEmpty(telephone), "telephone", telephone);
|
248
|
249
|
queryWrapper.like(!StringUtils.isEmpty(phone), "phone", phone);
|
249
|
250
|
queryWrapper.like(!StringUtils.isEmpty(job), "job", job);
|
250
|
|
- queryWrapper.like("contact_type", CommConstant.FINANCE);
|
|
251
|
+ queryWrapper.like("contact_type", contactType);
|
251
|
252
|
queryWrapper.ne("status", CommConstant.STATUS_DELETE);
|
252
|
253
|
queryWrapper.orderByDesc("order_no", "create_date");
|
253
|
254
|
|