Commit d2e1d26d by guojuxing

功能模块添加logo字段

parent 67d39375
...@@ -43,6 +43,8 @@ public class FunctionModuleDTO implements Serializable{ ...@@ -43,6 +43,8 @@ public class FunctionModuleDTO implements Serializable{
*/ */
private String operationName; private String operationName;
private String logo;
/** /**
* 1:有效 0:无效 * 1:有效 0:无效
*/ */
...@@ -138,4 +140,13 @@ public class FunctionModuleDTO implements Serializable{ ...@@ -138,4 +140,13 @@ public class FunctionModuleDTO implements Serializable{
this.updateTime = updateTime; this.updateTime = updateTime;
return this; return this;
} }
public String getLogo() {
return logo;
}
public FunctionModuleDTO setLogo(String logo) {
this.logo = logo;
return this;
}
} }
...@@ -36,6 +36,8 @@ public class FunctionModuleVO implements Serializable{ ...@@ -36,6 +36,8 @@ public class FunctionModuleVO implements Serializable{
*/ */
private String operationName; private String operationName;
private String logo;
/** /**
* 1:有效 0:无效 * 1:有效 0:无效
*/ */
...@@ -131,4 +133,13 @@ public class FunctionModuleVO implements Serializable{ ...@@ -131,4 +133,13 @@ public class FunctionModuleVO implements Serializable{
this.updateTime = updateTime; this.updateTime = updateTime;
return this; return this;
} }
public String getLogo() {
return logo;
}
public FunctionModuleVO setLogo(String logo) {
this.logo = logo;
return this;
}
} }
...@@ -36,6 +36,8 @@ public class TabSysFunctionModule { ...@@ -36,6 +36,8 @@ public class TabSysFunctionModule {
*/ */
private String operationName; private String operationName;
private String logo;
/** /**
* 1:有效 0:无效 * 1:有效 0:无效
*/ */
...@@ -131,4 +133,13 @@ public class TabSysFunctionModule { ...@@ -131,4 +133,13 @@ public class TabSysFunctionModule {
this.updateTime = updateTime; this.updateTime = updateTime;
return this; return this;
} }
public String getLogo() {
return logo;
}
public TabSysFunctionModule setLogo(String logo) {
this.logo = logo;
return this;
}
} }
\ No newline at end of file
...@@ -8,13 +8,14 @@ ...@@ -8,13 +8,14 @@
<result column="function_module_desc" jdbcType="VARCHAR" property="functionModuleDesc" /> <result column="function_module_desc" jdbcType="VARCHAR" property="functionModuleDesc" />
<result column="operation_id" jdbcType="VARCHAR" property="operationId" /> <result column="operation_id" jdbcType="VARCHAR" property="operationId" />
<result column="operation_name" jdbcType="VARCHAR" property="operationName" /> <result column="operation_name" jdbcType="VARCHAR" property="operationName" />
<result column="logo" jdbcType="VARCHAR" property="logo" />
<result column="status" jdbcType="INTEGER" property="status" /> <result column="status" jdbcType="INTEGER" property="status" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
function_module_id, function_module_name, function_module_code, function_module_desc, 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> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select select
...@@ -29,11 +30,11 @@ ...@@ -29,11 +30,11 @@
<insert id="insert" parameterType="com.gic.cloud.entity.TabSysFunctionModule" useGeneratedKeys="true" keyProperty="functionModuleId"> <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, insert into tab_sys_function_module (function_module_id, function_module_name,
function_module_code, function_module_desc, function_module_code, function_module_desc,
operation_id, operation_name, status, operation_id, operation_name, logo, status,
create_time, update_time) create_time, update_time)
values (#{functionModuleId,jdbcType=INTEGER}, #{functionModuleName,jdbcType=VARCHAR}, values (#{functionModuleId,jdbcType=INTEGER}, #{functionModuleName,jdbcType=VARCHAR},
#{functionModuleCode,jdbcType=VARCHAR}, #{functionModuleDesc,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}) #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="com.gic.cloud.entity.TabSysFunctionModule"> <insert id="insertSelective" parameterType="com.gic.cloud.entity.TabSysFunctionModule">
...@@ -57,6 +58,9 @@ ...@@ -57,6 +58,9 @@
<if test="operationName != null"> <if test="operationName != null">
operation_name, operation_name,
</if> </if>
<if test="logo != null">
logo,
</if>
<if test="status != null"> <if test="status != null">
status, status,
</if> </if>
...@@ -86,6 +90,9 @@ ...@@ -86,6 +90,9 @@
<if test="operationName != null"> <if test="operationName != null">
#{operationName,jdbcType=VARCHAR}, #{operationName,jdbcType=VARCHAR},
</if> </if>
<if test="logo != null">
#{logo,jdbcType=VARCHAR},
</if>
<if test="status != null"> <if test="status != null">
#{status,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
</if> </if>
...@@ -115,6 +122,9 @@ ...@@ -115,6 +122,9 @@
<if test="operationName != null"> <if test="operationName != null">
operation_name = #{operationName,jdbcType=VARCHAR}, operation_name = #{operationName,jdbcType=VARCHAR},
</if> </if>
<if test="logo != null">
logo = #{logo,jdbcType=VARCHAR},
</if>
<if test="status != null"> <if test="status != null">
status = #{status,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER},
</if> </if>
...@@ -134,6 +144,7 @@ ...@@ -134,6 +144,7 @@
function_module_desc = #{functionModuleDesc,jdbcType=VARCHAR}, function_module_desc = #{functionModuleDesc,jdbcType=VARCHAR},
operation_id = #{operationId,jdbcType=VARCHAR}, operation_id = #{operationId,jdbcType=VARCHAR},
operation_name = #{operationName,jdbcType=VARCHAR}, operation_name = #{operationName,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP} update_time = #{updateTime,jdbcType=TIMESTAMP}
......
...@@ -22,6 +22,8 @@ public class FunctionModuleVO implements Serializable{ ...@@ -22,6 +22,8 @@ public class FunctionModuleVO implements Serializable{
*/ */
private String functionModuleDesc; private String functionModuleDesc;
private String logo;
public String getFunctionModuleName() { public String getFunctionModuleName() {
...@@ -51,4 +53,12 @@ public class FunctionModuleVO implements Serializable{ ...@@ -51,4 +53,12 @@ public class FunctionModuleVO implements Serializable{
return this; return this;
} }
public String getLogo() {
return logo;
}
public FunctionModuleVO setLogo(String logo) {
this.logo = logo;
return this;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment