| | |
| | | private OrganizationLayoutService orgLayoutService;
|
| | | @Resource
|
| | | private DeviceVersionService dviceVersionService;
|
| | | @Resource
|
| | | private OrganizationService organizationService;
|
| | | /**
|
| | | * Screen login. 大屏登录
|
| | | *
|
| | |
| | | resultMap.put("accountId", -1);
|
| | | } else {
|
| | | resultMap = accountService.screenLogin(parameters);
|
| | | Object orgId = resultMap.get("orgId");
|
| | | if(resultMap.get("orgId")!=null && resultMap.get("orgId") instanceof Integer) {
|
| | | Organization organization = organizationService.getOrganizationById((Integer) orgId);
|
| | | if( organization.getAreaNames()!=null){
|
| | | AreaNames areaNames = organization.getAreaNames();
|
| | | resultMap.put("mapPath ","中国/"+areaNames.getProvinceName()+"/"
|
| | | +areaNames.getCityName()+"/"+areaNames.getAreaName());
|
| | | }
|
| | | }
|
| | | }
|
| | | return resultMap;
|
| | | }
|