|
|
@@ -18,11 +18,15 @@
|
|
|
<result property="operation" column="operation" />
|
|
|
<result property="disabled" column="disabled" />
|
|
|
<result property="onabort" column="onabort" />
|
|
|
+ <result property="resId" column="res_id" />
|
|
|
+ <result property="resName" column="res_name" />
|
|
|
+ <result property="url" column="url" />
|
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysTableSetVo">
|
|
|
- select id, table_name, user_id, surface, label, fixed, name, checked, width,changeable, operation, disabled, onabort from sys_table_set
|
|
|
+ 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
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectSysTableSetList" parameterType="SysTableSet" resultMap="SysTableSetResult">
|
|
|
@@ -40,6 +44,9 @@
|
|
|
<if test="operation != null "> and operation = #{operation}</if>
|
|
|
<if test="disabled != null and disabled != ''"> and disabled = #{disabled}</if>
|
|
|
<if test="onabort != null and onabort != ''"> and onabort = #{onabort}</if>
|
|
|
+ <if test="resId != null and resId != ''"> and res_id = #{resId}</if>
|
|
|
+ <if test="resName != null and resName != ''"> and res_name = #{resName}</if>
|
|
|
+ <if test="url != null and url != ''"> and url = #{url}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -76,6 +83,9 @@
|
|
|
<if test="operation != null">operation,</if>
|
|
|
<if test="disabled != null">disabled,</if>
|
|
|
<if test="onabort != null">onabort,</if>
|
|
|
+ <if test="resId != null">res_id,</if>
|
|
|
+ <if test="resName != null">res_name,</if>
|
|
|
+ <if test="url != null">url,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="tableName != null">#{tableName},</if>
|
|
|
@@ -90,6 +100,9 @@
|
|
|
<if test="operation != null">#{operation},</if>
|
|
|
<if test="disabled != null">#{disabled},</if>
|
|
|
<if test="onabort != null">#{onabort},</if>
|
|
|
+ <if test="resId != null">#{resId},</if>
|
|
|
+ <if test="resName != null">#{resName},</if>
|
|
|
+ <if test="url != null">#{url},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -108,6 +121,9 @@
|
|
|
<if test="operation != null">operation = #{operation},</if>
|
|
|
<if test="disabled != null">disabled = #{disabled},</if>
|
|
|
<if test="onabort != null">onabort = #{onabort},</if>
|
|
|
+ <if test="resId != null">res_id = #{resId},</if>
|
|
|
+ <if test="resName != null">res_name = #{resName},</if>
|
|
|
+ <if test="url != null">url = #{url},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
@@ -151,4 +167,4 @@
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
|
|
|
-</mapper>
|
|
|
+</mapper>
|