Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-store
Commits
c2877566
Commit
c2877566
authored
Nov 11, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通过电话号码查询商户
parent
6ea480e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
StoreAuthorizationApiServiceImpl.java
.../service/outer/impl/StoreAuthorizationApiServiceImpl.java
+5
-4
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreAuthorizationApiServiceImpl.java
View file @
c2877566
...
...
@@ -58,7 +58,7 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
Integer
authMode
=
storeWidgetDTO
.
getAuthMode
();
if
(
authMode
==
AuthModeEnum
.
NO
.
getCode
()){
this
.
unionEnterpriseApiService
.
updateStoreAuthorizationStatus
(
AuthorizationStatusEnum
.
NO
.
getCode
(),
enterpriseId
,
AuthorizationStatusEnum
.
NO
.
getMessage
());
enterpriseId
,
AuthorizationStatusEnum
.
NO
.
getMessage
()
,
null
);
return
ServiceResponse
.
success
();
}
StoreSearchDTO
storeSearchDTO
=
new
StoreSearchDTO
();
...
...
@@ -68,7 +68,8 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
if
(
count
>
0
){
this
.
queryStoreByPage
(
count
,
storeSearchDTO
,
toEnterpriseId
,
enterpriseId
);
}
else
{
this
.
unionEnterpriseApiService
.
updateStoreAuthorizationStatus
(
AuthorizationStatusEnum
.
SUCCESS
.
getCode
(),
enterpriseId
);
this
.
unionEnterpriseApiService
.
updateStoreAuthorizationStatus
(
AuthorizationStatusEnum
.
SUCCESS
.
getCode
(),
enterpriseId
,
"授权成功"
,
null
);
}
}
}
...
...
@@ -94,9 +95,9 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
int
count
=
this
.
authStoreLogService
.
getCount
(
key
,
2
);
if
(
count
>
0
){
this
.
unionEnterpriseApiService
.
updateStoreAuthorizationStatus
(
AuthorizationStatusEnum
.
PARTSUCCESS
.
getCode
(),
storeDTO
.
getEnterpriseId
(),
"成功授权"
+(
total
-
count
)+
"条数据,失败"
+
count
+
"条"
);
(
AuthorizationStatusEnum
.
PARTSUCCESS
.
getCode
(),
storeDTO
.
getEnterpriseId
(),
"成功授权"
+(
total
-
count
)+
"条数据,失败"
+
count
+
"条"
,
key
);
}
this
.
unionEnterpriseApiService
.
updateStoreAuthorizationStatus
(
AuthorizationStatusEnum
.
SUCCESS
.
getCode
(),
storeDTO
.
getEnterpriseId
());
this
.
unionEnterpriseApiService
.
updateStoreAuthorizationStatus
(
AuthorizationStatusEnum
.
SUCCESS
.
getCode
(),
storeDTO
.
getEnterpriseId
()
,
"授权成功"
,
key
);
}
return
null
;
}
...
...
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