|
|
@@ -10,6 +10,7 @@
|
|
|
<result column="description" jdbcType="VARCHAR" property="description" />
|
|
|
<result column="sort" jdbcType="DECIMAL" property="sort" />
|
|
|
<result column="parent_id" jdbcType="VARCHAR" property="parentId" />
|
|
|
+ <result column="url" jdbcType="VARCHAR" property="url" />
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_by" jdbcType="BIGINT" property="createBy" />
|
|
|
@@ -21,7 +22,7 @@
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
id, dict_id, value, label, type, description, sort, parent_id, remark, status, create_by,
|
|
|
- create_time, update_by, update_time, del_flag
|
|
|
+ create_time, update_by, update_time, del_flag, url
|
|
|
</sql>
|
|
|
|
|
|
<insert id="insert" parameterType="com.sckw.system.model.SysDict">
|
|
|
@@ -72,6 +73,9 @@
|
|
|
<if test="delFlag != null">
|
|
|
del_flag,
|
|
|
</if>
|
|
|
+ <if test="url != null">
|
|
|
+ url,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -119,6 +123,9 @@
|
|
|
<if test="delFlag != null">
|
|
|
#{delFlag,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="url != null">
|
|
|
+ #{url,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -167,6 +174,9 @@
|
|
|
<if test="delFlag != null">
|
|
|
del_flag = #{delFlag,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="url != null">
|
|
|
+ url = #{url,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
@@ -197,7 +207,7 @@
|
|
|
|
|
|
<select id="findList" resultType="java.util.Map" parameterType="java.util.Map" >
|
|
|
select
|
|
|
- id, value, label, type, description, remark
|
|
|
+ id, value, label, type, description, remark,url
|
|
|
from sys_dict
|
|
|
where del_flag = 0
|
|
|
<if test="type != null and type != ''">
|