|
|
@@ -21,12 +21,13 @@
|
|
|
<result property="resId" column="res_id" />
|
|
|
<result property="resName" column="res_name" />
|
|
|
<result property="url" column="url" />
|
|
|
+ <result property="keyName" column="key_name" />
|
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysTableSetVo">
|
|
|
select id, table_name, user_id, surface, label, fixed, name, checked, width,changeable, operation, disabled, onabort,res_id,
|
|
|
- res_name,url from sys_table_set
|
|
|
+ res_name,url,key_name from sys_table_set
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectSysTableSetList" parameterType="SysTableSet" resultMap="SysTableSetResult">
|
|
|
@@ -86,6 +87,7 @@
|
|
|
<if test="resId != null">res_id,</if>
|
|
|
<if test="resName != null">res_name,</if>
|
|
|
<if test="url != null">url,</if>
|
|
|
+ <if test="keyName != null">key_name,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="tableName != null">#{tableName},</if>
|
|
|
@@ -103,6 +105,7 @@
|
|
|
<if test="resId != null">#{resId},</if>
|
|
|
<if test="resName != null">#{resName},</if>
|
|
|
<if test="url != null">#{url},</if>
|
|
|
+ <if test="keyName != null">#{keyName},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -124,6 +127,7 @@
|
|
|
<if test="resId != null">res_id = #{resId},</if>
|
|
|
<if test="resName != null">res_name = #{resName},</if>
|
|
|
<if test="url != null">url = #{url},</if>
|
|
|
+ <if test="keyName != null">key_name = #{keyName},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|