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
748758c2
Commit
748758c2
authored
Oct 27, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
Developer See merge request
!348
parents
375cf1e2
05dee369
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+4
-0
MemberUnionidRelatedMapper.xml
.../src/main/resources/mapper/MemberUnionidRelatedMapper.xml
+10
-9
TabHaobanExternalClerkRelatedMapper.xml
.../resources/mapper/TabHaobanExternalClerkRelatedMapper.xml
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
748758c2
...
@@ -1203,6 +1203,10 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1203,6 +1203,10 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
String
wxEnterpriseId
=
tabHaobanWxApplication
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
tabHaobanWxApplication
.
getWxEnterpriseId
();
dto
.
setWxEnterpriseId
(
wxEnterpriseId
);
dto
.
setWxEnterpriseId
(
wxEnterpriseId
);
TabHaobanStaff
staff
=
this
.
staffMapper
.
selectByUserIdAndEnterpriseId
(
wxUserId
,
wxEnterpriseId
);
TabHaobanStaff
staff
=
this
.
staffMapper
.
selectByUserIdAndEnterpriseId
(
wxUserId
,
wxEnterpriseId
);
if
(
null
==
staff
)
{
log
.
info
(
"成员未查到,userid={}"
,
wxUserId
);
return
;
}
String
staffId
=
staff
.
getStaffId
();
String
staffId
=
staff
.
getStaffId
();
dto
.
setStaffId
(
staffId
);
dto
.
setStaffId
(
staffId
);
externalClerkRelatedService
.
delByUserIdAndExternalUserId
(
dto
);
externalClerkRelatedService
.
delByUserIdAndExternalUserId
(
dto
);
...
...
haoban-manage3-service/src/main/resources/mapper/MemberUnionidRelatedMapper.xml
View file @
748758c2
...
@@ -34,22 +34,23 @@
...
@@ -34,22 +34,23 @@
</insert>
</insert>
<select
id=
"getBySelfExternalUserId"
resultMap=
"BaseResultMap"
>
<select
id=
"getBySelfExternalUserId"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_haoban_member_unionid_related where wx_enterprise_id = #{wxEnterpriseId} and status_flag = 1
from tab_haoban_member_unionid_related
and self_external_userid = #{selfExternalUserId}
where wx_enterprise_id = #{wxEnterpriseId}
<if
test=
"staffId != null"
>
and status_flag = 1
and staff_id = #{staffId}
<if
test=
"staffId == null"
>
and ( self_external_userid = #{selfExternalUserId} or external_userid = #{selfExternalUserId} )
</if>
</if>
union
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_member_unionid_related where wx_enterprise_id = #{wxEnterpriseId} and status_flag = 1
and external_userid = #{selfExternalUserId}
<if
test=
"staffId != null"
>
<if
test=
"staffId != null"
>
and ( self_external_userid = #{selfExternalUserId})
and staff_id = #{staffId}
and staff_id = #{staffId}
</if>
</if>
order by create_time desc limit 1
order by create_time desc limit 1
</select>
</select>
<select
id=
"listByWxEnterpriseIdAndExternalUserId"
resultMap=
"BaseResultMap"
>
<select
id=
"listByWxEnterpriseIdAndExternalUserId"
resultMap=
"BaseResultMap"
>
select
select
external_userid, self_external_userid from tab_haoban_member_unionid_related
external_userid, self_external_userid from tab_haoban_member_unionid_related
...
...
haoban-manage3-service/src/main/resources/mapper/TabHaobanExternalClerkRelatedMapper.xml
View file @
748758c2
...
@@ -682,7 +682,7 @@
...
@@ -682,7 +682,7 @@
<foreach
collection=
"list"
item=
"id"
index=
"index"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"list"
item=
"id"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{id}
#{id}
</foreach>
</foreach>
and
enterprise_id = #{enterpriseId} and
status_flag = 1
and status_flag = 1
</update>
</update>
<select
id=
"listPageByWxenterpriseId"
resultMap=
"BaseResultMap"
>
<select
id=
"listPageByWxenterpriseId"
resultMap=
"BaseResultMap"
>
...
...
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