Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
6b3f5713
Commit
6b3f5713
authored
Jun 16, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
cfc091b5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
4 deletions
+17
-4
OpenStaffApiService.java
...om/gic/haoban/manage/api/service/OpenStaffApiService.java
+1
-0
OpenStaffMapper.java
...gic/haoban/manage/service/dao/mapper/OpenStaffMapper.java
+5
-1
OpenStaffService.java
...m/gic/haoban/manage/service/service/OpenStaffService.java
+0
-1
OpenStaffApiServiceImpl.java
...age/service/service/out/impl/OpenStaffApiServiceImpl.java
+6
-1
OpenStaffMapper.xml
...ge3-service/src/main/resources/mapper/OpenStaffMapper.xml
+5
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/OpenStaffApiService.java
View file @
6b3f5713
...
@@ -105,4 +105,5 @@ public interface OpenStaffApiService {
...
@@ -105,4 +105,5 @@ public interface OpenStaffApiService {
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
String
wxEnterpriseId
,
String
enterpriseIdList
,
List
<
String
>
storeIdList
)
;
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
String
wxEnterpriseId
,
String
enterpriseIdList
,
List
<
String
>
storeIdList
)
;
List
<
String
>
listAllOnlineStaff
()
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/OpenStaffMapper.java
View file @
6b3f5713
...
@@ -28,7 +28,7 @@ public interface OpenStaffMapper {
...
@@ -28,7 +28,7 @@ public interface OpenStaffMapper {
TabOpenStaff
getByUUID
(
@Param
(
"uuid"
)
String
uuid
)
;
TabOpenStaff
getByUUID
(
@Param
(
"uuid"
)
String
uuid
)
;
void
updateValiFlag
(
@Param
(
"uuid"
)
String
uuid
);
void
updateVali
d
Flag
(
@Param
(
"uuid"
)
String
uuid
);
TabOpenStaff
getById
(
Long
openStaffId
);
TabOpenStaff
getById
(
Long
openStaffId
);
...
@@ -47,4 +47,7 @@ public interface OpenStaffMapper {
...
@@ -47,4 +47,7 @@ public interface OpenStaffMapper {
List
<
StaffClerkRelationDTO
>
listOpenStaffByClerk
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
,
@Param
(
"list"
)
List
<
String
>
clerkIdList
);
List
<
StaffClerkRelationDTO
>
listOpenStaffByClerk
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
,
@Param
(
"list"
)
List
<
String
>
clerkIdList
);
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
,
@Param
(
"list"
)
List
<
String
>
storeIdList
);
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
,
@Param
(
"list"
)
List
<
String
>
storeIdList
);
List
<
String
>
listAll
()
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/OpenStaffService.java
View file @
6b3f5713
...
@@ -3,7 +3,6 @@ package com.gic.haoban.manage.service.service;
...
@@ -3,7 +3,6 @@ package com.gic.haoban.manage.service.service;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.haoban.manage.api.dto.OpenStaffDTO
;
import
com.gic.haoban.manage.api.dto.OpenStaffListDTO
;
import
com.gic.haoban.manage.api.dto.OpenStaffListDTO
;
import
com.gic.haoban.manage.api.qdto.OpenStaffPageQDTO
;
import
com.gic.haoban.manage.api.qdto.OpenStaffPageQDTO
;
import
com.gic.haoban.manage.service.entity.TabOpenStaff
;
import
com.gic.haoban.manage.service.entity.TabOpenStaff
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/OpenStaffApiServiceImpl.java
View file @
6b3f5713
...
@@ -57,7 +57,7 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
...
@@ -57,7 +57,7 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
@Override
@Override
public
ServiceResponse
<
Void
>
updateValiFlag
(
String
uuid
)
{
public
ServiceResponse
<
Void
>
updateValiFlag
(
String
uuid
)
{
this
.
openStaffMapper
.
updateValiFlag
(
uuid
)
;
this
.
openStaffMapper
.
updateVali
d
Flag
(
uuid
)
;
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
();
}
}
...
@@ -256,4 +256,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
...
@@ -256,4 +256,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
public
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
String
wxEnterpriseId
,
String
enterpriseId
,
List
<
String
>
storeIdList
)
{
public
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
String
wxEnterpriseId
,
String
enterpriseId
,
List
<
String
>
storeIdList
)
{
return
this
.
openStaffMapper
.
listOpenStaffByStore
(
wxEnterpriseId
,
enterpriseId
,
storeIdList
);
return
this
.
openStaffMapper
.
listOpenStaffByStore
(
wxEnterpriseId
,
enterpriseId
,
storeIdList
);
}
}
@Override
public
List
<
String
>
listAllOnlineStaff
()
{
return
this
.
openStaffMapper
.
listAll
();
}
}
}
haoban-manage3-service/src/main/resources/mapper/OpenStaffMapper.xml
View file @
6b3f5713
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
where open_staff_id = #{openStaffId}
where open_staff_id = #{openStaffId}
</update>
</update>
<update
id=
"updateValiFlag"
>
<update
id=
"updateVali
d
Flag"
>
update tab_haoban_open_staff
update tab_haoban_open_staff
set valid_flag = 1
set valid_flag = 1
where uuid = #{uuid}
where uuid = #{uuid}
...
@@ -212,6 +212,9 @@
...
@@ -212,6 +212,9 @@
#{item}
#{item}
</foreach>
</foreach>
</select>
</select>
<select
id=
"listAll"
resultType=
"java.lang.String"
>
select staff_id from tab_haoban_open_staff where status_flag = 1
</select>
</mapper>
</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