|
|
@@ -126,7 +126,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
Pagination<CustomerOut> list = (Pagination<CustomerOut>)findPage("selectCustomer","selectCustomerCount",params, pageNumber, pageSize);
|
|
|
Subject subject = SecurityUtils.getSubject();
|
|
|
list.setList(setResult((List<CustomerOut>)list.getList()));
|
|
|
- if(!subject.isPermitted("customer_view_all")||!subject.isPermitted(AFTConstants.SUPERADMIN)) {
|
|
|
+ if(!subject.isPermitted("customer_view_all")&&!subject.isPermitted(AFTConstants.SUPERADMIN)) {
|
|
|
list.setList(descResult((List<CustomerOut>)list.getList()));
|
|
|
}
|
|
|
return list;
|