Commit 00499818 by 蒋勇

d

parent 3fb88233
...@@ -32,8 +32,8 @@ class CompanyService extends ServiceBase { ...@@ -32,8 +32,8 @@ class CompanyService extends ServiceBase {
//用户缓存也要失效 //用户缓存也要失效
//缓存失效 //缓存失效
await self.cacheManager["CompanyCache"].invalidate(cmk) await self.cacheManager["CompanyCache"].invalidate(cmk)
let companynew = await self.cacheManager["CompanyCache"].cache(cmk) let companytmp=await self.dao.model.findOne({where:{companykey:cmk},transaction:t});
return {orgJson:JSON.parse(companynew.orgJson)} return {orgJson:JSON.parse(companytmp.orgJson)}
}) })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment