From 6fb14149d62199cfcc0448c82eb2f51f9c5181de Mon Sep 17 00:00:00 2001
From: luliqiang <kidgrow>
Date: Thu, 31 Dec 2020 16:55:30 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.2.240:7070/r/kidgrow-microservices-platform into parter

---
 kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/constant/CommonConstant.java |   95 ++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 84 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 25c2d1c..767fc85 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,35 +254,46 @@
      * 生成缩略图需要的图片暂存目录
      */
 //    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标识
      */
     public static final String HOSPITAL_ADMIN_CODE="hospital_admin";
 
     /**
-     * 自主注册医院的组织id
+     * 自主注册医院的上级组织id
      */
-    public static final Long HOSPITAL_ORG_ID=1273809987709677569L;
+    public static final Long ORG_PARENT_ID=15321234561L;
 
     /**
-     * 自主注册的科室组织id
+     * 自主注册的用户默认给的产品id
      */
-    public static final Long DEPARTMENT_ORG_ID=1273810374550335490L;
-
+    public static final Long REG_USER_PRODUCT_ID=1000000000000000001L;
+    /**
+     * 单次支付用户固定使用的套餐id
+     */
+    public static final Long PAY_USER_PRODUCT_ID=1000000000000000000L;
+    /**
+     * 自主注册的用户合同时长 天
+     */
+    public static final Integer REG_USER_CONTRACT_DAY=15;
+    /**
+     * 自主注册的用户合同名
+     */
+    public static final String REG_USER_CONTRACT_NAME="自动创建合同";
     /**
      * 自主注册的创建人id
      */
@@ -288,4 +302,63 @@
      * 自主注册的创建人名称
      */
     public static final String CREATE_USER_NAME= "自动创建";
+    /**
+     * 管理员角色code标识
+     */
+    public static final String SYSTEM_ADMIN_ROLE_CODE="admin";
+    /**
+     * 自主注册的销售服务人员id
+     */
+    public static final Long SALE_USER_ID= 1289806543902457857L;
+    /**
+     * 自主注册的运营人员id
+     */
+    public static final Long OPRATION_USER_ID= 1289806733313032193L;
+
+    /**
+     * 销售主管角色code标识
+     */
+    public static final String SALE_MANAGER_ROLE_CODE="salemanager";
+    /**
+     * 用于标识存储最后一次诊断redis的key,用于防止最后一个读片后无法生成报告
+     */
+    public static final String SAAS_LAST_SERVER="saaslastserver";
+
+    /**
+     * 喜高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