|
|
|
@ -12,6 +12,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="desc" column="desc" /> |
|
|
|
<result property="srot" column="srot" /> |
|
|
|
<result property="status" column="status" /> |
|
|
|
<result property="domain" column="domain" /> |
|
|
|
<result property="dept" column="dept" /> |
|
|
|
<result property="demand" column="demand" /> |
|
|
|
<result property="basis" column="basis" /> |
|
|
|
<result property="creator" column="creator" /> |
|
|
|
<result property="createTime" column="create_time" /> |
|
|
|
<result property="updator" column="updator" /> |
|
|
|
@ -19,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectLinkageDictVo"> |
|
|
|
select id, title, `value`, parent_id, `desc`, srot, `status`, creator, create_time, updator, update_time from linkage_dict |
|
|
|
select id, title, `value`, parent_id, `desc`, srot, `status`, `domain`, dept, demand, basis, creator, create_time, updator, update_time from linkage_dict |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectLinkageDictList" parameterType="LinkageDict" resultMap="LinkageDictResult"> |
|
|
|
@ -56,6 +60,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="desc != null and desc != ''">`desc`,</if> |
|
|
|
<if test="srot != null ">srot,</if> |
|
|
|
<if test="status != null ">`status`,</if> |
|
|
|
<if test="domain != null and domain != ''">`domain`,</if> |
|
|
|
<if test="dept != null and dept != ''">`dept`,</if> |
|
|
|
<if test="demand != null and demand != ''">`demand`,</if> |
|
|
|
<if test="basis != null and basis != ''">`basis`,</if> |
|
|
|
<if test="creator != null and creator != ''">creator,</if> |
|
|
|
<if test="createTime != null ">create_time,</if> |
|
|
|
<if test="updator != null and updator != ''">updator,</if> |
|
|
|
@ -69,6 +77,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="desc != null and desc != ''">#{desc},</if> |
|
|
|
<if test="srot != null ">#{srot},</if> |
|
|
|
<if test="status != null ">#{status},</if> |
|
|
|
<if test="domain != null and domain != ''">#{domain},</if> |
|
|
|
<if test="dept != null and dept != ''">#{dept},</if> |
|
|
|
<if test="demand != null and demand != ''">#{demand},</if> |
|
|
|
<if test="basis != null and basis != ''">#{basis},</if> |
|
|
|
<if test="creator != null and creator != ''">#{creator},</if> |
|
|
|
<if test="createTime != null ">#{createTime},</if> |
|
|
|
<if test="updator != null and updator != ''">#{updator},</if> |
|
|
|
@ -85,6 +97,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="desc != null and desc != ''">`desc` = #{desc},</if> |
|
|
|
<if test="srot != null ">srot = #{srot},</if> |
|
|
|
<if test="status != null ">`status` = #{status},</if> |
|
|
|
<if test="domain != null and domain != ''">`domain` = #{domain},</if> |
|
|
|
<if test="dept != null and dept != ''">`dept` = #{dept},</if> |
|
|
|
<if test="demand != null and demand != ''">`demand` = #{demand},</if> |
|
|
|
<if test="basis != null and basis != ''">`basis` = #{basis},</if> |
|
|
|
<if test="creator != null and creator != ''">creator = #{creator},</if> |
|
|
|
<if test="createTime != null ">create_time = #{createTime},</if> |
|
|
|
<if test="updator != null and updator != ''">updator = #{updator},</if> |
|
|
|
|