From d7a58eb17814af2a16ee13afaf93acda09745ed9 Mon Sep 17 00:00:00 2001
From: bingbing <zhaobingliang@aliyun.com>
Date: Wed, 22 Jul 2020 22:10:35 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.2.240:7070/r/kidgrow-microservices-platform into dev

---
 kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/constant/CommonConstant.java |   72 +++++++++++++++++++++++++++++++++++
 1 files changed, 71 insertions(+), 1 deletions(-)

diff --git a/kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/constant/CommonConstant.java b/kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/constant/CommonConstant.java
index ad692d6..a17380d 100644
--- a/kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/constant/CommonConstant.java
+++ b/kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/constant/CommonConstant.java
@@ -35,6 +35,10 @@
      * 客户端IP
      */
     String USER_AGENT_IP="user_agent_ip";
+    /**
+     * 客户端屏幕分辨率
+     */
+    String USER_AGENT_SYSTEM_SCREEN="user_agent_system_screen";
 
     /**
      * 标签 header key
@@ -246,5 +250,71 @@
     /**
      * 生成缩略图需要的图片暂存目录
      */
-    public static final String TEMP_IMAGE_PATH="D:/resources/images/";
+//    public static final String TEMP_IMAGE_PATH="D:/resources/images/";
+    public static final String TEMP_IMAGE_PATH="/root/data";
+    /**
+     * 普通医生角色ID
+     */
+    public static final Long HOSPITAL_DOCTOR_ID=1268826800663289858L;
+    /**
+     * 普通医生角色code标识
+     */
+    public static final String HOSPITAL_DOCTOR_CODE="hospital_doctor";
+
+    /**
+     * 管理员医生角色ID
+     */
+    public static final Long HOSPITAL_ADMIN_ID=9L;
+    /**
+     * 管理员医生角色code标识
+     */
+    public static final String HOSPITAL_ADMIN_CODE="hospital_admin";
+
+    /**
+     * 自主注册医院的组织id
+     */
+    public static final Long HOSPITAL_ORG_ID=1273809987709677569L;
+
+    /**
+     * 自主注册的科室组织id
+     */
+    public static final Long DEPARTMENT_ORG_ID=1273810374550335490L;
+
+    /**
+     * 自主注册的创建人id
+     */
+    public static final Long CREATE_USER_ID= 0L;
+    /**
+     * 自主注册的创建人名称
+     */
+    public static final String CREATE_USER_NAME= "自动创建";
+    /**
+     * 管理员医生角色code标识
+     */
+    public static final String SYSTEM_ADMIN_ROLE_CODE="ADMIN";
+
+    /**
+     * 集团组织级别
+     */
+    public static final Integer SYSTEM_ORG_TOP_CODE=0;
+    /**
+     * 公司/医院组织级别
+     */
+    public static final Integer SYSTEM_ORG_HOS_LEVEL=1;
+    /**
+     * 科室部门组织级别
+     */
+    public static final Integer SYSTEM_ORG_DEP_LEVEL=2;
+    /**
+     * 医生类型 C+H
+     */
+    public static final Integer CH_DOCTOR_TYPE=0;
+    /**
+     * 医生类型 H
+     */
+    public static final Integer H_DOCTOR_TYPE=1;
+    /**
+     * 医生类型 C
+     */
+    public static final Integer C_DOCTOR_TYPE=2;
 }

--
Gitblit v1.8.0