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
679277bd
Commit
679277bd
authored
Feb 24, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
54d5f41b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
3 deletions
+39
-3
ApplicationDTO.java
...in/java/com/gic/haoban/manage/api/dto/ApplicationDTO.java
+12
-0
TabHaobanApplication.java
...ic/haoban/manage/service/entity/TabHaobanApplication.java
+13
-0
ApplicationMapper.xml
...3-service/src/main/resources/mapper/ApplicationMapper.xml
+14
-3
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/ApplicationDTO.java
View file @
679277bd
...
...
@@ -14,6 +14,8 @@ public class ApplicationDTO implements Serializable {
private
String
appApplicationIconUrl
;
private
String
applicationUrl
;
private
String
applicationPath
;
private
Integer
statusFlag
;
...
...
@@ -87,4 +89,14 @@ public class ApplicationDTO implements Serializable {
this
.
updateTime
=
updateTime
;
}
public
String
getApplicationPath
()
{
return
applicationPath
;
}
public
void
setApplicationPath
(
String
applicationPath
)
{
this
.
applicationPath
=
applicationPath
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanApplication.java
View file @
679277bd
...
...
@@ -13,6 +13,8 @@ public class TabHaobanApplication implements Serializable {
private
String
appApplicationIconUrl
;
private
String
applicationUrl
;
private
String
applicationPath
;
private
Integer
statusFlag
;
...
...
@@ -85,4 +87,14 @@ public class TabHaobanApplication implements Serializable {
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
String
getApplicationPath
()
{
return
applicationPath
;
}
public
void
setApplicationPath
(
String
applicationPath
)
{
this
.
applicationPath
=
applicationPath
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/resources/mapper/ApplicationMapper.xml
View file @
679277bd
...
...
@@ -7,13 +7,14 @@
<result
column=
"app_application_url"
property=
"appApplicationUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"app_application_icon_url"
property=
"appApplicationIconUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"application_url"
property=
"applicationUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"application_path"
property=
"applicationPath"
jdbcType=
"VARCHAR"
/>
<result
column=
"status_flag"
property=
"statusFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
application_id, application_name, app_application_url, app_application_icon_url,
application_url, status_flag, create_time, update_time
application_url,
application_path,
status_flag, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
@@ -27,11 +28,11 @@
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanApplication"
>
insert into tab_haoban_application (application_id, application_name, app_application_url,
app_application_icon_url, application_url,
app_application_icon_url, application_url,
application_path,
status_flag, create_time, update_time
)
values (#{applicationId,jdbcType=VARCHAR}, #{applicationName,jdbcType=VARCHAR}, #{appApplicationUrl,jdbcType=VARCHAR},
#{appApplicationIconUrl,jdbcType=VARCHAR}, #{applicationUrl,jdbcType=VARCHAR},
#{appApplicationIconUrl,jdbcType=VARCHAR}, #{applicationUrl,jdbcType=VARCHAR},
#{applicationPath,jdbcType=VARCHAR},
#{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
...
...
@@ -53,6 +54,9 @@
<if
test=
"applicationUrl != null"
>
application_url,
</if>
<if
test=
"applicationPath != null"
>
application_path,
</if>
<if
test=
"statusFlag != null"
>
status_flag,
</if>
...
...
@@ -79,6 +83,9 @@
<if
test=
"applicationUrl != null"
>
#{applicationUrl,jdbcType=VARCHAR},
</if>
<if
test=
"applicationPath != null"
>
#{applicationPath,jdbcType=VARCHAR},
</if>
<if
test=
"statusFlag != null"
>
#{statusFlag,jdbcType=INTEGER},
</if>
...
...
@@ -105,6 +112,9 @@
<if
test=
"applicationUrl != null"
>
application_url = #{applicationUrl,jdbcType=VARCHAR},
</if>
<if
test=
"applicationPath != null"
>
application_path = #{applicationPath,jdbcType=VARCHAR},
</if>
<if
test=
"statusFlag != null"
>
status_flag = #{statusFlag,jdbcType=INTEGER},
</if>
...
...
@@ -123,6 +133,7 @@
app_application_url = #{appApplicationUrl,jdbcType=VARCHAR},
app_application_icon_url = #{appApplicationIconUrl,jdbcType=VARCHAR},
application_url = #{applicationUrl,jdbcType=VARCHAR},
application_path = #{applicationPath,jdbcType=VARCHAR},
status_flag = #{statusFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
...
...
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