From 73d5561cbf2bea50acc22f91050fcc3557d49de4 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Mon, 17 Aug 2020 09:58:10 +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 |   79 ++++++++++++++++++++++++++++++++++-----
 1 files changed, 68 insertions(+), 11 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 54aef80..9e8ddbf 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
@@ -103,8 +103,11 @@
     /**
      * 超级管理员用户名
      */
-    String ADMIN_USER_NAME = "admin";
-
+    String ADMIN_USER_NAME = "admin-xg";
+    /**
+     * 超级管理的id
+     */
+    Long ADMIN_USER_ID=1000000000000000001L;
     /**
      * 公共日期格式
      */
@@ -169,7 +172,7 @@
     /**
      * 默认超级管理员账号
      */
-    public final static String ROOT = "admin";
+    public final static String ROOT = "admin-xg";
 
     /**
      * 负载均衡策略-版本号 信息头
@@ -251,20 +254,20 @@
      * 生成缩略图需要的图片暂存目录
      */
 //    public static final String TEMP_IMAGE_PATH="D:/resources/images/";
-    public static final String TEMP_IMAGE_PATH="/root/data";
+    public static final String TEMP_IMAGE_PATH="/root/kidgrow";
     /**
      * 普通医生角色ID
      */
     public static final Long HOSPITAL_DOCTOR_ID=1268826800663289858L;
     /**
-     * 普通医生角色code标识
+     * 普通医生角色code标识`
      */
     public static final String HOSPITAL_DOCTOR_CODE="hospital_doctor";
 
     /**
      * 管理员医生角色ID
      */
-    public static final Long HOSPITAL_ADMIN_ID=9L;
+    public static final Long HOSPITAL_ADMIN_ID=1238826800663299909L;
     /**
      * 管理员医生角色code标识
      */
@@ -273,13 +276,24 @@
     /**
      * 自主注册医院的组织id
      */
-    public static final Long HOSPITAL_ORG_ID=1273809987709677569L;
+    public static final Long HOSPITAL_ORG_ID=15321234570L;
 
     /**
      * 自主注册的科室组织id
      */
-    public static final Long DEPARTMENT_ORG_ID=1273810374550335490L;
-
+    public static final Long DEPARTMENT_ORG_ID=15321234571L;
+    /**
+     * 自主注册的用户默认给的产品id
+     */
+    public static final Long REG_USER_PRODUCT_ID=1000000000000000001L;
+    /**
+     * 自主注册的用户合同时长 天
+     */
+    public static final Integer REG_USER_CONTRACT_DAY=15;
+    /**
+     * 自主注册的用户合同名
+     */
+    public static final String REG_USER_CONTRACT_NAME="注册用户免费合同";
     /**
      * 自主注册的创建人id
      */
@@ -289,7 +303,50 @@
      */
     public static final String CREATE_USER_NAME= "自动创建";
     /**
-     * 管理员医生角色code标识
+     * 管理员角色code标识
      */
-    public static final String SYSTEM_ADMIN_ROLE_CODE="ADMIN";
+    public static final String SYSTEM_ADMIN_ROLE_CODE="admin";
+
+    /**
+     * 销售主管角色code标识
+     */
+    public static final String SALE_MANAGER_ROLE_CODE="salemanager";
+
+    /**
+     * 喜高PC高管角色code标识
+     */
+    public static final String PC_ADMIN_ROLE_CODE="pc_admin";
+    /**
+     * 喜高运营高管角色code标识
+     */
+    public static final String OPRATIONMANAGER_ROLE_CODE="oprationmanager";
+
+    /**
+     * 集团组织级别
+     */
+    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;
+    /**
+     * 一个科室能最大试用多少次
+     */
+    public static final Integer MAX_FREE_COUNT=5;
 }

--
Gitblit v1.8.0