客服完善
This commit is contained in:
parent
a19a7a91a1
commit
eecbb9614d
|
@ -2,6 +2,7 @@ package com.ruoyi.bst.customerService.service.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.common.utils.ServiceUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -57,13 +58,13 @@ public class CustomerServiceServiceImpl implements CustomerServiceService
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询客服列表
|
* 查询客服列表
|
||||||
*
|
* @param query 客服
|
||||||
* @param customerService 客服
|
|
||||||
* @return 客服
|
* @return 客服
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<CustomerServiceVO> selectCustomerServiceList(CustomerServiceQuery query)
|
public List<CustomerServiceVO> selectCustomerServiceList(CustomerServiceQuery query)
|
||||||
{
|
{
|
||||||
|
ServiceUtil.assertion(query.getAreaId()== null,"该运营区不存在");
|
||||||
query.addAreaPermission(AreaJoinPermission.CUSTOMER_SERVICE_VIEW.getCode());
|
query.addAreaPermission(AreaJoinPermission.CUSTOMER_SERVICE_VIEW.getCode());
|
||||||
return customerServiceMapper.selectCustomerServiceList(query);
|
return customerServiceMapper.selectCustomerServiceList(query);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user