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
6cd82673
Commit
6cd82673
authored
Dec 17, 2021
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:欢迎语增加图片
parent
a520636d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
TabHaobanWelcomeMapper.xml
...vice/src/main/resources/mapper/TabHaobanWelcomeMapper.xml
+7
-3
No files found.
haoban-manage3-service/src/main/resources/mapper/TabHaobanWelcomeMapper.xml
View file @
6cd82673
...
...
@@ -6,6 +6,7 @@
<result
column=
"wx_enterprise_id"
jdbcType=
"VARCHAR"
property=
"wxEnterpriseId"
/>
<result
column=
"title"
jdbcType=
"VARCHAR"
property=
"title"
/>
<result
column=
"welcome_content"
jdbcType=
"VARCHAR"
property=
"welcomeContent"
/>
<result
column=
"welcome_img"
jdbcType=
"VARCHAR"
property=
"welcomeImg"
/>
<result
column=
"status_flag"
jdbcType=
"INTEGER"
property=
"statusFlag"
/>
<result
column=
"open_flag"
jdbcType=
"INTEGER"
property=
"openFlag"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
...
...
@@ -13,7 +14,7 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
welcome_id, wx_enterprise_id, title, welcome_content,open_flag, status_flag, create_time, update_time
welcome_id, wx_enterprise_id, title, welcome_content,
welcome_img,
open_flag, status_flag, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
...
...
@@ -31,10 +32,10 @@
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.entity.TabWelcome"
>
insert into tab_haoban_welcome (welcome_id, wx_enterprise_id, title,
welcome_content, open_flag, status_flag, create_time,
welcome_content,
welcome_img,
open_flag, status_flag, create_time,
update_time)
values (#{welcomeId,jdbcType=VARCHAR}, #{wxEnterpriseId,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR},
#{welcomeContent,jdbcType=VARCHAR}, #{openFlag},
#{welcomeContent,jdbcType=VARCHAR}, #{
welcomeImg}, #{
openFlag},
#{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
...
...
@@ -51,6 +52,9 @@
<if
test=
"welcomeContent != null"
>
welcome_content = #{welcomeContent,jdbcType=VARCHAR},
</if>
<if
test=
"welcomeImg != null"
>
welcome_img = #{welcomeImg,jdbcType=VARCHAR},
</if>
<if
test=
"openFlag != null"
>
open_flag = #{openFlag,jdbcType=INTEGER},
</if>
...
...
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