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
5f203fe8
Commit
5f203fe8
authored
Apr 08, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0188aa4a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
3 deletions
+37
-3
WxEnterpriseDTO.java
...n/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
+11
-0
TabHaobanWxEnterprise.java
...c/haoban/manage/service/entity/TabHaobanWxEnterprise.java
+12
-0
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+14
-3
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
View file @
5f203fe8
...
...
@@ -61,6 +61,8 @@ public class WxEnterpriseDTO implements Serializable {
private
String
memberSecret
;
private
String
contactSecret
;
private
Date
createTime
;
private
Date
updateTime
;
...
...
@@ -317,6 +319,15 @@ public class WxEnterpriseDTO implements Serializable {
this
.
wxSecretKey
=
wxSecretKey
;
}
public
String
getContactSecret
()
{
return
contactSecret
;
}
public
void
setContactSecret
(
String
contactSecret
)
{
this
.
contactSecret
=
contactSecret
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanWxEnterprise.java
View file @
5f203fe8
...
...
@@ -60,6 +60,8 @@ public class TabHaobanWxEnterprise implements Serializable {
private
String
memberSecret
;
private
String
contactSecret
;
private
Date
createTime
;
private
Date
updateTime
;
...
...
@@ -306,6 +308,15 @@ public class TabHaobanWxEnterprise implements Serializable {
this
.
wxSecretKey
=
wxSecretKey
;
}
public
String
getContactSecret
()
{
return
contactSecret
;
}
public
void
setContactSecret
(
String
contactSecret
)
{
this
.
contactSecret
=
contactSecret
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
5f203fe8
...
...
@@ -26,6 +26,7 @@
<result
column=
"round_logo_url"
property=
"roundLogoUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"wx_secret_key"
property=
"wxSecretKey"
jdbcType=
"VARCHAR"
/>
<result
column=
"member_secret"
property=
"memberSecret"
jdbcType=
"VARCHAR"
/>
<result
column=
"contact_secret"
property=
"contactSecret"
jdbcType=
"VARCHAR"
/>
<result
column=
"level"
property=
"level"
jdbcType=
"INTEGER"
/>
<result
column=
"contact_flag"
property=
"contactFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"bind_flag"
property=
"bindFlag"
jdbcType=
"INTEGER"
/>
...
...
@@ -38,7 +39,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
,member_secret
,member_secret
,contact_secret
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
@@ -59,7 +60,7 @@
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
status_flag, create_time, update_time,contact_flag,wx_secret_key
,contact_secret
)
values (#{wxEnterpriseId,jdbcType=VARCHAR}, #{corpid,jdbcType=VARCHAR}, #{permanentCode,jdbcType=VARCHAR},
#{corpName,jdbcType=VARCHAR}, #{corpType,jdbcType=VARCHAR}, #{corpSquareLogoUrl,jdbcType=VARCHAR},
...
...
@@ -69,7 +70,7 @@
#{authInfo,jdbcType=VARCHAR}, #{agent,jdbcType=VARCHAR}, #{agentid,jdbcType=VARCHAR},
#{appid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{squareLogoUrl,jdbcType=VARCHAR},
#{roundLogoUrl,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, #{bindFlag,jdbcType=INTEGER},
#{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},#{contactFlag},#{wxSecretKey}
#{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},#{contactFlag},#{wxSecretKey}
,#{contactSecret}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"
>
...
...
@@ -162,6 +163,9 @@
<if
test=
"wxSecretKey != null"
>
wx_secret_key,
</if>
<if
test=
"contactSecret != null"
>
contact_secret,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"wxEnterpriseId != null"
>
...
...
@@ -251,6 +255,9 @@
<if
test=
"wxSecretKey != null"
>
#{wxSecretKey,jdbcType=TIMESTAMP},
</if>
<if
test=
"contactSecret != null"
>
#{contactSecret,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"
>
...
...
@@ -340,6 +347,9 @@
<if
test=
"wxSecretKey != null"
>
wx_secret_key = #{wxSecretKey,jdbcType=VARCHAR},
</if>
<if
test=
"contactSecret != null"
>
contact_secret = #{contactSecret,jdbcType=VARCHAR},
</if>
</set>
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</update>
...
...
@@ -372,6 +382,7 @@
contact_flag = #{contactFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
wx_secret_key = #{wxSecretKey,jdbcType=VARCHAR},
contact_secret = #{contactSecret,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</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