Esempio n. 1
0
        /// <summary>
        /// 删除缓存
        /// </summary>
        /// <param name="id"></param>
        private void DelCache(string id)
        {
            JiJiaWorkFlowRedis redis = new JiJiaWorkFlowRedis();

            redis.HashDel(RedisKey.FlowApplyInfoKey(id));
            redis.HashDel(RedisKey.ApplyFormKey(id));
        }
Esempio n. 2
0
 /// <summary>
 /// 更新申请参数信息
 /// </summary>
 /// <param name="data"></param>
 /// <param name="id"></param>
 private void UpdateApplyCache(List <SubscribeDataModel> data, string id)
 {
     new JiJiaWorkFlowRedis().HashSet <string>(RedisKey.FlowApplyInfoKey(id), data);
 }