|
|
|
@ -120,7 +120,11 @@ public class SignInAccountServiceImpl implements SignInAccountService, Applicati
|
|
|
|
|
manager.put("module_names", modules.keySet());
|
|
|
|
|
if((manager.getIntValue("role")& ManagerRole.SERVANT.getMask())>0){
|
|
|
|
|
JSONObject cs = sysCustomerServiceMapper.findByManagerId(accountId);
|
|
|
|
|
manager.put("onoff",cs.getBoolean("onoff"));
|
|
|
|
|
if (cs != null) {
|
|
|
|
|
manager.put("onoff", cs.getBoolean("onoff"));
|
|
|
|
|
} else {
|
|
|
|
|
manager.put("onoff", false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return manager;
|
|
|
|
|
}
|
|
|
|
|