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
e30a642a
Commit
e30a642a
authored
Aug 11, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店添加筛选
parent
441a1ab6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
ClerkSearchDTO.java
...e-api/src/main/java/com/gic/store/dto/ClerkSearchDTO.java
+9
-0
ClerkApiServiceImpl.java
...com/gic/store/service/outer/impl/ClerkApiServiceImpl.java
+5
-1
No files found.
gic-store-api/src/main/java/com/gic/store/dto/ClerkSearchDTO.java
View file @
e30a642a
...
...
@@ -20,6 +20,7 @@ public class ClerkSearchDTO implements Serializable {
private
Integer
currentPage
=
1
;
private
Integer
pageSize
=
20
;
private
Integer
clerkType
;
private
String
storeSearch
;
private
String
fileName
;
private
Integer
excelExtension
;
...
...
@@ -130,4 +131,12 @@ public class ClerkSearchDTO implements Serializable {
public
void
setStoreInfoIds
(
String
storeInfoIds
)
{
this
.
storeInfoIds
=
storeInfoIds
;
}
public
String
getStoreSearch
()
{
return
storeSearch
;
}
public
void
setStoreSearch
(
String
storeSearch
)
{
this
.
storeSearch
=
storeSearch
;
}
}
gic-store-service/src/main/java/com/gic/store/service/outer/impl/ClerkApiServiceImpl.java
View file @
e30a642a
...
...
@@ -22,7 +22,6 @@ import com.gic.store.dto.clerk.OrderAddClerkDTO;
import
com.gic.store.dto.clerk.PosAddClerkDTO
;
import
com.gic.store.dto.clerk.ProcessBatchClerkDTO
;
import
com.gic.store.entity.TabClerk
;
import
com.gic.store.entity.TabStoreGroup
;
import
com.gic.store.entity.TabStoreRegion
;
import
com.gic.store.service.*
;
import
com.gic.weimob.api.dto.WeimobGuiderSynDTO
;
...
...
@@ -307,6 +306,8 @@ public class ClerkApiServiceImpl implements ClerkApiService {
if
(
CollectionUtils
.
isNotEmpty
(
storeInfoIdsBySearch
))
{
String
storeInfoIds
=
storeInfoIdsBySearch
.
stream
().
map
(
Object:
:
toString
).
collect
(
Collectors
.
joining
(
" "
));
clerkSearchDTO
.
setStoreInfoIds
(
storeInfoIds
);
}
else
{
return
ServiceResponse
.
success
();
}
}
...
...
@@ -366,6 +367,8 @@ public class ClerkApiServiceImpl implements ClerkApiService {
if
(
CollectionUtils
.
isNotEmpty
(
storeInfoIdsBySearch
))
{
String
storeInfoIds
=
storeInfoIdsBySearch
.
stream
().
map
(
Object:
:
toString
).
collect
(
Collectors
.
joining
(
" "
));
clerkSearchDTO
.
setStoreInfoIds
(
storeInfoIds
);
}
else
{
return
ServiceResponse
.
success
();
}
}
...
...
@@ -415,6 +418,7 @@ public class ClerkApiServiceImpl implements ClerkApiService {
storeSearchDTO
.
setStoreGroupId
(
clerkSearchDTO
.
getStoreGroupId
());
storeSearchDTO
.
setSearchJson
(
clerkSearchDTO
.
getSearchJson
());
storeSearchDTO
.
setStoreIds
(
clerkSearchDTO
.
getStoreIds
());
storeSearchDTO
.
setSearch
(
clerkSearchDTO
.
getStoreSearch
());
storeSearchDTO
.
setStoreInfoIds
(
clerkSearchDTO
.
getStoreInfoIds
());
return
storeApiService
.
listStore
(
storeSearchDTO
,
pageNum
,
pageSize
,
...
...
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