Commit b94c7fc7 by 王悦

Merge remote-tracking branch 'origin/center-manage' into center-manage

parents 5fe66d5f 0585decc
...@@ -406,8 +406,10 @@ class UserService extends ServiceBase { ...@@ -406,8 +406,10 @@ class UserService extends ServiceBase {
var resultcache = await self.cacheManager["ClientBindBizUserCache"].getCache(clientMobile) var resultcache = await self.cacheManager["ClientBindBizUserCache"].getCache(clientMobile)
let isGoExec = false let isGoExec = false
if (!resultcache) { if (!resultcache) {
isGoExec = true isGoExec = true;
} else { } else {
console.log(` ----- 需求 分配 缓存信息 ------- ${clientMobile}`);
console.log(resultcache);
let uname = resultcache.userName let uname = resultcache.userName
let ucache = await self.cacheManager["UserCache"].cache(uname) let ucache = await self.cacheManager["UserCache"].cache(uname)
if (!ucache.isAllocated) {//解决修改为不接单 if (!ucache.isAllocated) {//解决修改为不接单
...@@ -514,8 +516,10 @@ class UserService extends ServiceBase { ...@@ -514,8 +516,10 @@ class UserService extends ServiceBase {
var resultcache = await self.cacheManager["ClientBindBizUserCache"].getCache(clientMobile) var resultcache = await self.cacheManager["ClientBindBizUserCache"].getCache(clientMobile)
let isGoExec = false let isGoExec = false
if (!resultcache) { if (!resultcache) {
isGoExec = true isGoExec = true;
} else { } else {
console.log(`交付单 分配 人员 缓存信息 ----- ${clientMobile} `)
console.log(resultcache);
let uname = resultcache.userName let uname = resultcache.userName
let ucache = await self.cacheManager["UserCache"].cache(uname) let ucache = await self.cacheManager["UserCache"].cache(uname)
if (!ucache.isAllocated) {//解决修改为不接单 if (!ucache.isAllocated) {//解决修改为不接单
......
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