Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
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
base_platform_enterprise
gic-data-cloud
Commits
d2e1d26d
Commit
d2e1d26d
authored
Jul 14, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能模块添加logo字段
parent
67d39375
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
3 deletions
+58
-3
FunctionModuleDTO.java
...pi/src/main/java/com/gic/cloud/dto/FunctionModuleDTO.java
+11
-0
FunctionModuleVO.java
...java/com/gic/cloud/operation/web/vo/FunctionModuleVO.java
+11
-0
TabSysFunctionModule.java
.../main/java/com/gic/cloud/entity/TabSysFunctionModule.java
+12
-0
TabSysFunctionModuleMapper.xml
.../src/main/resources/mapper/TabSysFunctionModuleMapper.xml
+14
-3
FunctionModuleVO.java
.../src/main/java/com/gic/cloud/web/vo/FunctionModuleVO.java
+10
-0
No files found.
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/FunctionModuleDTO.java
View file @
d2e1d26d
...
...
@@ -43,6 +43,8 @@ public class FunctionModuleDTO implements Serializable{
*/
private
String
operationName
;
private
String
logo
;
/**
* 1:有效 0:无效
*/
...
...
@@ -138,4 +140,13 @@ public class FunctionModuleDTO implements Serializable{
this
.
updateTime
=
updateTime
;
return
this
;
}
public
String
getLogo
()
{
return
logo
;
}
public
FunctionModuleDTO
setLogo
(
String
logo
)
{
this
.
logo
=
logo
;
return
this
;
}
}
gic-data-cloud-operation-web/src/main/java/com/gic/cloud/operation/web/vo/FunctionModuleVO.java
View file @
d2e1d26d
...
...
@@ -36,6 +36,8 @@ public class FunctionModuleVO implements Serializable{
*/
private
String
operationName
;
private
String
logo
;
/**
* 1:有效 0:无效
*/
...
...
@@ -131,4 +133,13 @@ public class FunctionModuleVO implements Serializable{
this
.
updateTime
=
updateTime
;
return
this
;
}
public
String
getLogo
()
{
return
logo
;
}
public
FunctionModuleVO
setLogo
(
String
logo
)
{
this
.
logo
=
logo
;
return
this
;
}
}
gic-data-cloud-service/src/main/java/com/gic/cloud/entity/TabSysFunctionModule.java
View file @
d2e1d26d
...
...
@@ -36,6 +36,8 @@ public class TabSysFunctionModule {
*/
private
String
operationName
;
private
String
logo
;
/**
* 1:有效 0:无效
*/
...
...
@@ -131,4 +133,13 @@ public class TabSysFunctionModule {
this
.
updateTime
=
updateTime
;
return
this
;
}
public
String
getLogo
()
{
return
logo
;
}
public
TabSysFunctionModule
setLogo
(
String
logo
)
{
this
.
logo
=
logo
;
return
this
;
}
}
\ No newline at end of file
gic-data-cloud-service/src/main/resources/mapper/TabSysFunctionModuleMapper.xml
View file @
d2e1d26d
...
...
@@ -8,13 +8,14 @@
<result
column=
"function_module_desc"
jdbcType=
"VARCHAR"
property=
"functionModuleDesc"
/>
<result
column=
"operation_id"
jdbcType=
"VARCHAR"
property=
"operationId"
/>
<result
column=
"operation_name"
jdbcType=
"VARCHAR"
property=
"operationName"
/>
<result
column=
"logo"
jdbcType=
"VARCHAR"
property=
"logo"
/>
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
function_module_id, function_module_name, function_module_code, function_module_desc,
operation_id, operation_name, status, create_time, update_time
operation_id, operation_name,
logo,
status, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
...
...
@@ -29,11 +30,11 @@
<insert
id=
"insert"
parameterType=
"com.gic.cloud.entity.TabSysFunctionModule"
useGeneratedKeys=
"true"
keyProperty=
"functionModuleId"
>
insert into tab_sys_function_module (function_module_id, function_module_name,
function_module_code, function_module_desc,
operation_id, operation_name,
status,
operation_id, operation_name,
logo, status,
create_time, update_time)
values (#{functionModuleId,jdbcType=INTEGER}, #{functionModuleName,jdbcType=VARCHAR},
#{functionModuleCode,jdbcType=VARCHAR}, #{functionModuleDesc,jdbcType=VARCHAR},
#{operationId,jdbcType=VARCHAR}, #{operationName,jdbcType=VARCHAR}, #{
status,jdbcType=INTEGER},
#{operationId,jdbcType=VARCHAR}, #{operationName,jdbcType=VARCHAR}, #{
logo,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.cloud.entity.TabSysFunctionModule"
>
...
...
@@ -57,6 +58,9 @@
<if
test=
"operationName != null"
>
operation_name,
</if>
<if
test=
"logo != null"
>
logo,
</if>
<if
test=
"status != null"
>
status,
</if>
...
...
@@ -86,6 +90,9 @@
<if
test=
"operationName != null"
>
#{operationName,jdbcType=VARCHAR},
</if>
<if
test=
"logo != null"
>
#{logo,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=INTEGER},
</if>
...
...
@@ -115,6 +122,9 @@
<if
test=
"operationName != null"
>
operation_name = #{operationName,jdbcType=VARCHAR},
</if>
<if
test=
"logo != null"
>
logo = #{logo,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=INTEGER},
</if>
...
...
@@ -134,6 +144,7 @@
function_module_desc = #{functionModuleDesc,jdbcType=VARCHAR},
operation_id = #{operationId,jdbcType=VARCHAR},
operation_name = #{operationName,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
...
...
gic-data-cloud-web/src/main/java/com/gic/cloud/web/vo/FunctionModuleVO.java
View file @
d2e1d26d
...
...
@@ -22,6 +22,8 @@ public class FunctionModuleVO implements Serializable{
*/
private
String
functionModuleDesc
;
private
String
logo
;
public
String
getFunctionModuleName
()
{
...
...
@@ -51,4 +53,12 @@ public class FunctionModuleVO implements Serializable{
return
this
;
}
public
String
getLogo
()
{
return
logo
;
}
public
FunctionModuleVO
setLogo
(
String
logo
)
{
this
.
logo
=
logo
;
return
this
;
}
}
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