Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
c92a2a4d
Commit
c92a2a4d
authored
Aug 17, 2020
by
Sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 商机 companyFind
parent
2216c387
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
center-manage/app/base/service/impl/auth/userSve.js
+6
-3
No files found.
center-manage/app/base/service/impl/auth/userSve.js
View file @
c92a2a4d
...
@@ -408,7 +408,6 @@ class UserService extends ServiceBase {
...
@@ -408,7 +408,6 @@ class UserService extends ServiceBase {
await
self
.
cacheManager
[
"ClientBindBizUserCache"
].
invalidate
(
clientMobile
)
await
self
.
cacheManager
[
"ClientBindBizUserCache"
].
invalidate
(
clientMobile
)
}
}
}
}
if
(
isGoExec
)
{
let
companyFind
=
await
self
.
companyDao
.
model
.
findOne
({
let
companyFind
=
await
self
.
companyDao
.
model
.
findOne
({
where
:
{
name
:
spName
},
include
:
[
where
:
{
name
:
spName
},
include
:
[
{
{
...
@@ -416,7 +415,9 @@ class UserService extends ServiceBase {
...
@@ -416,7 +415,9 @@ class UserService extends ServiceBase {
}
}
],
excludes
:
[
'orgJson'
],
transaction
:
t
],
excludes
:
[
'orgJson'
],
transaction
:
t
});
});
console
.
log
(
"getBizUserForBizChance获取服务商信息:"
+
JSON
.
stringify
(
companyFind
));
console
.
log
(
"getBizUserForBizChance获取服务商信息:"
+
companyFind
);
if
(
companyFind
)
{
if
(
isGoExec
)
{
let
users
=
companyFind
.
us
let
users
=
companyFind
.
us
let
cansels
=
users
.
filter
(
u
=>
{
let
cansels
=
users
.
filter
(
u
=>
{
if
(
regionName
&&
regionName
!=
""
&&
u
.
regiontags
)
{
if
(
regionName
&&
regionName
!=
""
&&
u
.
regiontags
)
{
...
@@ -464,7 +465,9 @@ class UserService extends ServiceBase {
...
@@ -464,7 +465,9 @@ class UserService extends ServiceBase {
return
{
userInfo
:
null
,
comInfo
:
{
compId
:
companyFind
.
id
}
};
return
{
userInfo
:
null
,
comInfo
:
{
compId
:
companyFind
.
id
}
};
}
}
}
}
}
else
{
return
{
userInfo
:
null
,
comInfo
:
null
}
}
})
})
}
}
async
findCostBySkuCode
(
skucode
)
{
async
findCostBySkuCode
(
skucode
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment