|
@@ -70,6 +70,10 @@ public class TbAccountController {
|
|
|
@RequestMapping("getList")
|
|
|
public AjaxJson getList() {
|
|
|
SoMap so = SoMap.getRequestSoMap();
|
|
|
+ String currentCustomerId = StpUserUtil.getCustomerId();
|
|
|
+ if (!currentCustomerId.equals(UserTypeEnum.PLATFORM_ADMIN.getCustomerId())) {
|
|
|
+ so.put("customerId", currentCustomerId);
|
|
|
+ }
|
|
|
List<TbAccountBO> list = tbAccountService.getList(so.startPage());
|
|
|
return AjaxJson.getPageData(so.getDataCount(), list);
|
|
|
}
|