|
|
|
@ -221,7 +221,7 @@ public class CodeIssueTypeService:ICodeIssueTypeService
|
|
|
|
|
{
|
|
|
|
|
if (isLoad)
|
|
|
|
|
{
|
|
|
|
|
await _sysCacheService.SetCommonCode(JsonConvert.SerializeObject(list), Sys.Method.SysCacheCategoryEnum.CommonCodeIssueType, "DS8");
|
|
|
|
|
await _sysCacheService.SetCommonCode(list, Sys.Method.SysCacheCategoryEnum.CommonCodeIssueType, "DS8");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return DataResult<List<CodeIssueTypeRes>>.Success(list);
|
|
|
|
@ -240,7 +240,7 @@ public class CodeIssueTypeService:ICodeIssueTypeService
|
|
|
|
|
|
|
|
|
|
if (rlt.Succeeded)
|
|
|
|
|
{
|
|
|
|
|
await _sysCacheService.SetCommonCode(JsonConvert.SerializeObject(rlt.Data), Sys.Method.SysCacheCategoryEnum.CommonCodeIssueType, "DS8");
|
|
|
|
|
await _sysCacheService.SetCommonCode(rlt.Data, Sys.Method.SysCacheCategoryEnum.CommonCodeIssueType, "DS8");
|
|
|
|
|
|
|
|
|
|
return DataResult.Successed(MultiLanguageConst.LoadCacheSucc);
|
|
|
|
|
}
|
|
|
|
|