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
7f808b9a
Commit
7f808b9a
authored
Mar 23, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into developer
parents
6db70998
18dd4be2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+6
-1
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
7f808b9a
...
...
@@ -70,8 +70,13 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
Integer
isCustomizedApp
=
dto
.
getIsCustomizedApp
();
WxEnterpriseDTO
wxDTO
=
EntityUtil
.
changeEntityByJSON
(
WxEnterpriseDTO
.
class
,
dto
);
String
wxEnterpriseId
=
""
;
TabHaobanWxEnterprise
wxEnterprise
=
null
;
//获取授权好办小程序
TabHaobanWxEnterprise
wxEnterprise
=
this
.
wxEnterpriseService
.
getEnterpriseByCorpName
(
corpName
);
wxEnterprise
=
this
.
wxEnterpriseService
.
getEnterpriseBycorpId
(
corpid
);
if
(
wxEnterprise
==
null
)
{
wxEnterprise
=
this
.
wxEnterpriseService
.
getEnterpriseByCorpName
(
corpName
);
}
if
(
wxEnterprise
!=
null
)
{
wxEnterpriseId
=
wxEnterprise
.
getWxEnterpriseId
();
WxEnterpriseDTO
wxEnterpriseDTO
=
new
WxEnterpriseDTO
();
...
...
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
7f808b9a
...
...
@@ -456,14 +456,14 @@
<if
test=
"statusFlag != null"
>
and status_flag = #{statusFlag}
</if>
limit 1
order by create_time desc
limit 1
</select>
<select
id=
"getEnterpriseByCorpName"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_wx_enterprise
where
(corp_name = #{corpName} or corpid= #{corpName})
where
corp_name = #{corpName} and status_flag = 1
order by create_time desc limit 1
</select>
...
...
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