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
8e80128d
Commit
8e80128d
authored
Apr 17, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序appid
parent
f18fd5f0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
WxEnterpriseMapper.java
.../haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
+2
-0
TabHaobanWxEnterprise.java
...c/haoban/manage/service/entity/TabHaobanWxEnterprise.java
+9
-0
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+9
-1
WxEnterpriseInfoController.java
...ban/manage/web/controller/WxEnterpriseInfoController.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
View file @
8e80128d
...
...
@@ -14,6 +14,8 @@ public interface WxEnterpriseMapper {
TabHaobanWxEnterprise
selectByPrimaryKey
(
String
wxEnterpriseId
);
TabHaobanWxEnterprise
selectByWxaAppid
(
@Param
(
"appid"
)
String
appid
);
int
updateByPrimaryKeySelective
(
TabHaobanWxEnterprise
record
);
Page
<
TabHaobanWxEnterprise
>
list
(
@Param
(
"keyword"
)
String
keyword
,
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanWxEnterprise.java
View file @
8e80128d
...
...
@@ -91,6 +91,15 @@ public class TabHaobanWxEnterprise implements Serializable {
private
String
wxCorpid
;
private
String
openCorpid
;
private
String
wxaAppid
;
public
String
getWxaAppid
()
{
return
wxaAppid
;
}
public
void
setWxaAppid
(
String
wxaAppid
)
{
this
.
wxaAppid
=
wxaAppid
;
}
public
String
getWxCorpid
()
{
return
wxCorpid
;
...
...
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
8e80128d
...
...
@@ -43,6 +43,7 @@
<result
column=
"auto_active_flag"
property=
"autoActiveFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"wx_corpid"
property=
"wxCorpid"
/>
<result
column=
"open_corpid"
property=
"openCorpid"
/>
<reslut
column=
"wxa_appid"
property=
"wxaAppid"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
@@ -50,7 +51,7 @@
corp_user_max, corp_full_name, subject_type, verified_end_time, corp_wxqrcode, corp_scale,
corp_industry, corp_sub_industry, location, auth_info, agent, agentid, appid, name,
square_logo_url, round_logo_url, level, bind_flag, status_flag, create_time, update_time,contact_flag,wx_secret_key,wx_secret_key_last_time,member_secret_last_time,contact_secret_last_time
,member_secret,contact_secret,agree_external_userid_flag,agree_external_userid_time,external_flag,userid_flag ,wx_security_type , wx_corpid , open_corpid , auto_active_flag
,member_secret,contact_secret,agree_external_userid_flag,agree_external_userid_time,external_flag,userid_flag ,wx_security_type , wx_corpid , open_corpid , auto_active_flag
, wxa_appid
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
@@ -59,6 +60,13 @@
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</select>
<select
id=
"selectByWxaAppid"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_wx_enterprise
where wxa_appid = #{appid}
</select>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"
>
insert into tab_haoban_wx_enterprise
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseInfoController.java
View file @
8e80128d
...
...
@@ -139,7 +139,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
*/
@RequestMapping
(
value
=
"get-info-by-code"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@IgnoreLogin
public
HaobanResponse
getInfoByCode
(
String
code
)
{
public
HaobanResponse
getInfoByCode
(
String
code
,
String
appid
)
{
logger
.
info
(
"code:{}"
,
code
);
String
userDTOJson
=
null
;
if
(
null
!=
RedisUtil
.
getCache
(
"haoban-self-test"
))
{
...
...
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