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
f38f2bd5
Commit
f38f2bd5
authored
Jan 15, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
7b08df3b
daa2747c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
1 deletions
+42
-1
TabClerkMapper.java
...rc/main/java/com/gic/store/dao/mapper/TabClerkMapper.java
+12
-0
ClerkService.java
...ice/src/main/java/com/gic/store/service/ClerkService.java
+11
-0
ClerkServiceImpl.java
...ain/java/com/gic/store/service/impl/ClerkServiceImpl.java
+5
-0
ClerkApiServiceImpl.java
...com/gic/store/service/outer/impl/ClerkApiServiceImpl.java
+1
-1
TabClerkMapper.xml
...tore-service/src/main/resources/mapper/TabClerkMapper.xml
+13
-0
No files found.
gic-store-service/src/main/java/com/gic/store/dao/mapper/TabClerkMapper.java
View file @
f38f2bd5
...
...
@@ -265,4 +265,15 @@ public interface TabClerkMapper {
* @throws
*/
List
<
Integer
>
listStoreInfoIdByStoreInfoId
(
@Param
(
"enterpriseId"
)
Integer
enterpriseId
,
@Param
(
"ids"
)
List
<
Integer
>
storeInfoIdList
);
/**
* listClerkIdByStoreInfoId
* @Title: listClerkIdByStoreInfoId
* @Description:
* @author taogs
* @param storeInfoIdList
* @return java.util.List<java.lang.Integer>
* @throws
*/
List
<
Integer
>
listClerkIdByStoreInfoId
(
@Param
(
"ids"
)
List
<
Integer
>
storeInfoIdList
);
}
\ No newline at end of file
gic-store-service/src/main/java/com/gic/store/service/ClerkService.java
View file @
f38f2bd5
...
...
@@ -318,4 +318,15 @@ public interface ClerkService {
* @throws
*/
List
<
Integer
>
listStoreInfoIdByStoreInfoId
(
Integer
enterpriseId
,
List
<
Integer
>
storeInfoIdList
);
/**
* listStoreInfoIdByStoreInfoId
* @Title: listStoreInfoIdByStoreInfoId
* @Description: 查询导购idlist
* @author taogs
* @param storeInfoIdList
* @return java.util.List<java.lang.Integer>
* @throws
*/
List
<
Integer
>
listClerkIdByStoreInfoId
(
List
<
Integer
>
storeInfoIdList
);
}
gic-store-service/src/main/java/com/gic/store/service/impl/ClerkServiceImpl.java
View file @
f38f2bd5
...
...
@@ -205,4 +205,9 @@ public class ClerkServiceImpl implements ClerkService {
return
tabClerkMapper
.
listStoreInfoIdByStoreInfoId
(
enterpriseId
,
storeInfoIdList
);
}
@Override
public
List
<
Integer
>
listClerkIdByStoreInfoId
(
List
<
Integer
>
storeInfoIdList
){
return
tabClerkMapper
.
listClerkIdByStoreInfoId
(
storeInfoIdList
);
}
}
gic-store-service/src/main/java/com/gic/store/service/outer/impl/ClerkApiServiceImpl.java
View file @
f38f2bd5
...
...
@@ -944,7 +944,7 @@ public class ClerkApiServiceImpl implements ClerkApiService {
@Override
public
ServiceResponse
<
List
<
Integer
>>
listClerkId
(
List
<
Integer
>
storeInfoIdList
)
{
List
<
Integer
>
list
=
this
.
clerkService
.
list
StoreInfoIdByStoreInfoId
(
null
,
storeInfoIdList
);
List
<
Integer
>
list
=
this
.
clerkService
.
list
ClerkIdByStoreInfoId
(
storeInfoIdList
);
return
ServiceResponse
.
success
(
list
);
}
...
...
gic-store-service/src/main/resources/mapper/TabClerkMapper.xml
View file @
f38f2bd5
...
...
@@ -430,4 +430,16 @@
</foreach>
</if>
</select>
<select
id=
"listClerkIdByStoreInfoId"
resultType=
"int"
>
select
clerk_id
from tab_clerk where status = 1
<if
test=
"null != ids and ids.size > 0"
>
and store_info_id in
<foreach
collection=
"ids"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</if>
order by position_id asc,clerk_name asc
</select>
</mapper>
\ No newline at end of file
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