|
|
@@ -9,6 +9,8 @@ import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.PageImpl;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
+import com.uas.platform.core.model.Status;
|
|
|
+
|
|
|
/**
|
|
|
* 用户简单信息,前台程序使用
|
|
|
*
|
|
|
@@ -40,6 +42,9 @@ public class UserInfo {
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
map.put("enName", enterprise.getEnName());
|
|
|
map.put("uu", enterprise.getUu());
|
|
|
+ if(enterprise.getEnSaasStatus() != null && enterprise.getEnSaasStatus() == Status.ENABLED.value()) {
|
|
|
+ map.put("enSaasUrl", enterprise.getEnSaasUrl());
|
|
|
+ }
|
|
|
if (enterprise.equals(current))
|
|
|
map.put("current", true);
|
|
|
list.add(map);
|