|
|
@ -116,7 +116,7 @@ public class CrmCustomerRest { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
if (StringUtils.isNotBlank(query.getVinNo())) { |
|
|
|
String vinNo = query.getVinNo(); |
|
|
|
if (vinNo.length() != 8 || vinNo.length() != 17) { |
|
|
|
if (vinNo.length() != 8 && vinNo.length() != 17) { |
|
|
|
return rb.setMsg("请填写8位或17位车架号!"); |
|
|
|
} |
|
|
|
} |
|
|
@ -180,7 +180,7 @@ public class CrmCustomerRest { |
|
|
|
*/ |
|
|
|
@ApiOperation("售后客户管理分页列表") |
|
|
|
@PostMapping("/asListPage") |
|
|
|
public ResultBean<PagerVo<AsCustomerListVo>> asListPage(PagerQuery<AsCustomerListQuery> pq) { |
|
|
|
public ResultBean<PagerVo<AsCustomerListVo>> asListPage(@RequestBody PagerQuery<AsCustomerListQuery> pq) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
PagerVo<AsCustomerListVo> pv = crmCustomerService.asListPage(pq); |
|
|
|
return rb.success().setData(pv); |
|
|
|