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
3ab4374e
Commit
3ab4374e
authored
May 26, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
839ec5be
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
8 deletions
+9
-8
WxEnterpriseApiService.java
...gic/haoban/manage/api/service/WxEnterpriseApiService.java
+1
-1
WxEnterpriseMapper.java
.../haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
+2
-1
WxEnterpriseService.java
...ic/haoban/manage/service/service/WxEnterpriseService.java
+1
-1
WxEnterpriseServiceImpl.java
.../manage/service/service/impl/WxEnterpriseServiceImpl.java
+2
-2
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+1
-1
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+2
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/WxEnterpriseApiService.java
View file @
3ab4374e
...
...
@@ -253,7 +253,7 @@ public interface WxEnterpriseApiService {
ServiceResponse
<
Boolean
>
syncWxEnterpriseInfo
(
String
params
);
/**
* 删除
* 删除
自建应用wxaAppid
* @param wxEnterpriseId 企业微信id
* @return
*/
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
View file @
3ab4374e
...
...
@@ -88,5 +88,5 @@ public interface WxEnterpriseMapper {
* @return
*/
List
<
TabHaobanWxEnterprise
>
listAllByWxSecurityType
(
@Param
(
"wxSecurityType"
)
Integer
wxSecurityType
);
void
deleteByWxEnterpriseId
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
)
;
void
updateWxaAppid
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"wxaAppid"
)
String
wxaAppid
)
;
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/WxEnterpriseService.java
View file @
3ab4374e
...
...
@@ -91,6 +91,6 @@ public interface WxEnterpriseService {
* 删除
* @param wxEnterpriseId
*/
void
deleteByWxEnterpriseId
(
String
wxEnterpriseId
)
;
void
deleteByWxEnterpriseId
(
String
wxEnterpriseId
,
String
wxaAppid
)
;
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseServiceImpl.java
View file @
3ab4374e
...
...
@@ -308,7 +308,7 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
}
@Override
public
void
deleteByWxEnterpriseId
(
String
wxEnterpriseId
)
{
this
.
mapper
.
deleteByWxEnterpriseId
(
wxEnterpriseI
d
);
public
void
deleteByWxEnterpriseId
(
String
wxEnterpriseId
,
String
wxaAppid
)
{
this
.
mapper
.
updateWxaAppid
(
wxEnterpriseId
,
wxaAppi
d
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
3ab4374e
...
...
@@ -574,7 +574,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
@Override
public
ServiceResponse
<
Boolean
>
deleteByWxEnterpriseId
(
String
wxEnterpriseId
)
{
log
.
info
(
"删除的企业微信id:{}"
,
wxEnterpriseId
);
wxEnterpriseService
.
deleteByWxEnterpriseId
(
wxEnterpriseId
);
wxEnterpriseService
.
deleteByWxEnterpriseId
(
wxEnterpriseId
,
null
);
return
ServiceResponse
.
success
(
true
);
}
}
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
3ab4374e
...
...
@@ -570,9 +570,9 @@
</select>
<update
id=
"
deleteByWxEnterpriseI
d"
>
<update
id=
"
updateWxaAppi
d"
>
update tab_haoban_wx_enterprise
set
status_flag = 0
,
set
wxa_appid = #{wxaAppid}
,
update_time = now()
where wx_enterprise_id = #{wxEnterpriseId}
</update>
...
...
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