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
c4ac9afd
Commit
c4ac9afd
authored
Jul 08, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "判断storeInfoId在不在门店控件中"
This reverts commit
16a29a52
parent
1aec3cf6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
StoreWidgetApiService.java
...ain/java/com/gic/store/service/StoreWidgetApiService.java
+0
-9
StoreWidgetApiServiceImpl.java
...c/store/service/outer/impl/StoreWidgetApiServiceImpl.java
+0
-21
No files found.
gic-store-api/src/main/java/com/gic/store/service/StoreWidgetApiService.java
View file @
c4ac9afd
...
...
@@ -77,17 +77,8 @@ public interface StoreWidgetApiService {
* @Param
* @return result true表示存在
*/
ServiceResponse
existStoreInfoId
(
Integer
enterpriseId
,
Integer
storeWidgetId
,
Integer
storeInfoId
);
/** @Description: 判断门店是否在门店控件里
* @author taogs
* @Date 11:03 2020/3/27
* @Param
* @return result true表示存在
*/
ServiceResponse
exist
(
String
enterpriseId
,
Integer
storeWidgetId
,
Integer
storeId
);
/** @Description: 判断门店是否在门店控件里
* @author taogs
* @Date 11:03 2020/3/27
...
...
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreWidgetApiServiceImpl.java
View file @
c4ac9afd
...
...
@@ -208,27 +208,6 @@ public class StoreWidgetApiServiceImpl implements StoreWidgetApiService {
}
@Override
public
ServiceResponse
existStoreInfoId
(
Integer
enterpriseId
,
Integer
storeWidgetId
,
Integer
storeInfoId
)
{
StoreWidgetDTO
storeWidgetDTO
=
this
.
storeWidgetService
.
getStoreWidget
(
storeWidgetId
);
if
(
storeWidgetDTO
!=
null
){
String
authSearchParam
=
storeWidgetDTO
.
getAuthSearchParam
();
String
searchParam
=
storeWidgetDTO
.
getSearchParam
();
StoreSearchDTO
dto
=
new
StoreSearchDTO
();
dto
.
setEnterpriseId
(
enterpriseId
);
if
(
StringUtils
.
isNotBlank
(
authSearchParam
)
&&
!
"{}"
.
equals
(
authSearchParam
)){
dto
.
setAuthSearchJson
(
authSearchParam
);
}
dto
.
setSearchJson
(
searchParam
);
dto
.
setStoreInfoIds
(
storeInfoId
+
""
);
ServiceResponse
<
Long
>
response
=
this
.
storeApiService
.
queryStoreCountFromES
(
dto
);
if
(
response
.
isSuccess
()
&&
response
.
getResult
()
>
0
){
return
ServiceResponse
.
success
(
true
);
}
}
return
ServiceResponse
.
success
(
false
);
}
@Override
public
ServiceResponse
exist
(
String
enterpriseId
,
Integer
storeWidgetId
,
Integer
storeId
)
{
return
this
.
exist
(
Integer
.
valueOf
(
enterpriseId
),
storeWidgetId
,
storeId
);
}
...
...
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