-
Notifications
You must be signed in to change notification settings - Fork 588
/
CacheKey.cs
150 lines (117 loc) · 5.13 KB
/
CacheKey.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 情缘
* Create Date: 2013-09-26 21:07:02
*
* Description: Git.Framework
* http://www.cnblogs.com/qingyuan/
* Revision History:
* Date Author Description
* 2013-09-26 21:07:02 情缘
*********************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Git.Storage.Provider
{
public static class CacheKey
{
public static string SESSION_LOGIN_ADMIN = "SESSION_LOGIN_ADMIN";
//部门相关的缓存KEY值
public static string JOOSHOW_SYSDEPART_CACHE = "JOOSHOW_SYSDEPART_CACHE";
//角色相关的缓存KEY值
public static string JOOSHOW_SYSROLE_CACHE = "JOOSHOW_SYSROLE_CACHE";
/// <summary>
/// 某个角色的权限缓存
/// </summary>
public static string JOOSHOW_ROLEPOWER_CACHE = "JOOSHOW_ROLEPOWER_CACHE_{0}";
//菜单资源相关的缓存KEY值
public static string JOOSHOW_SYSRESOURCE_CACHE = "JOOSHOW_SYSRESOURCE_CACHE";
//供应商资源相关的缓存KEY值
public static string JOOSHOW_SUPPLIER_CACHE = "JOOSHOW_SUPPLIER_CACHE";
//设备管理资源相关的缓存KEY值
public static string JOOSHOW_EQUIPMENT_CACHE = "JOOSHOW_EQUIPMENT_CACHE";
//仓库资源相关的缓存KEY值
public static string JOOSHOW_STORAGE_CACHE = "JOOSHOW_STORAGE_CACHE";
//库位资源相关的缓存KEY值
public static string JOOSHOW_LOCATION_CACHE = "JOOSHOW_LOCATION_CACHE";
//客户收货单位资源相关的缓存KEY值CusAddress
public static string JOOSHOW_CUSADDRESS_CACHE = "JOOSHOW_CUSADDRESS_CACHE";
//产品组成关系相关的缓存KEY值
public static string JOOSHOW_PRODUCTREL_CACHE = "JOOSHOW_PRODUCTREL_CACHE";
//产品类别管理缓存
public static string JOOSHOW_PRODUCTCATEGORY_CACHE = "JOOSHOW_PRODUCTCATEGORY_CACHE";
//产品缓存
public static string JOOSHOW_PRODUCT_CACHE = "JOOSHOW_PRODUCT_CACHE";
/// <summary>
/// 已经分配的权限缓存
/// </summary>
public static string JOOSHOW_ALLOTPOWER_CACHE = "JOOSHOW_ALLOTPOWER_CACHE";
/// <summary>
/// 入库单产品缓存
/// </summary>
public static string TEMPDATA_CACHE_INSTORDETAIL = "TEMPDATA_CACHE_INSTORDETAIL";
/// <summary>
/// 订单单产品缓存
/// </summary>
public static string TEMPDATA_CACHE_ORDERDETAIL = "TEMPDATA_CACHE_ORDERDETAIL";
/// <summary>
/// 订单导入产品缓存
/// </summary>
public static string TEMPDATA_CACHE_ORDERIMPORT = "TEMPDATA_CACHE_ORDERIMPORT";
/// <summary>
/// 订单导入产品详细缓存
/// </summary>
public static string TEMPDATA_CACHE_ORDERDETAILIMPORT = "TEMPDATA_CACHE_ORDERDETAILIMPORT";
/// <summary>
/// 出库产品缓存
/// </summary>
public static string TEMPDATA_CACHE_OUTSTORDETAIL = "TEMPDATA_CACHE_OUTSTORDETAIL";
/// <summary>
/// 报损产品缓存
/// </summary>
public static string TEMPDATA_CACHE_BADPRODUCTDETAIL = "TEMPDATA_CACHE_BADPRODUCTDETAIL";
/// <summary>
/// 移库产品缓存
/// </summary>
public static string TEMPDATA_CACHE_MOVERODUCTDETAIL = "TEMPDATA_CACHE_MOVERODUCTDETAIL";
/// <summary>
/// 退货详情
/// </summary>
public static string TEMPDATE_CACHE_RETURNPRODUCTDETAIL = "TEMPDATE_CACHE_RETURNPRODUCTDETAIL";
/// <summary>
/// 当前库位编号
/// </summary>
public static string SESSION_STORAGE_CURRENT = "SESSION_STORAGE_CURRENT";
/// <summary>
/// 当前库位
/// </summary>
public static string SESSION_STORAGE_CACHE = "SESSION_STORAGE_CACHE";
/// <summary>
/// 菜单的显示状态问题
/// </summary>
public static string SESSION_MENU_STATUS = "SESSION_MENU_STATUS";
/// <summary>
/// 获得系统版本
/// </summary>
public static string CACHE_SYS_VERSION = "CACHE_SYS_VERSION";
/// <summary>
/// 计量单位的统计
/// </summary>
public static string JOOSHOW_MEASURE_CACHE = "JOOSHOW_MEASURE_CACHE";
/// <summary>
/// 计量单位换算
/// </summary>
public static string JOOSHOW_MEASUREREL_CACHE = "JOOSHOW_MEASUREREL_CACHE";
/// <summary>
/// 用于盘点单详细产品盘点
/// </summary>
public static string JOOSHOW_CHECKDETAIL_CACHE = "JOOSHOW_CHECKDETAIL_CACHE";
/// <summary>
/// 报表管理参数
/// </summary>
public static string JOOSHOW_REPORTPARAM_CACHE = "JOOSHOW_REPORTPARAM_CACHE";
}
}