|
|
|
@ -25,10 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
|
|
<result property="remark" column="remark" />
|
|
|
|
|
<result property="isStatus" column="is_status" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectTcDataSourceVo">
|
|
|
|
|
select id, area_id, type, asset_name, aff_unit, aff_groups, systeam_name, url, ip_address, os, versions, is_focus, level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_data_source
|
|
|
|
|
select id, area_id, type,is_status, asset_name, aff_unit, aff_groups, systeam_name, url, ip_address, os, versions, is_focus, level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_data_source
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectTcDataSourceList" parameterType="TcDataSource" resultMap="TcDataSourceResult">
|
|
|
|
@ -56,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="level != null ">and level = #{level}</if>
|
|
|
|
|
<if test="createId != null ">and create_id = #{createId}</if>
|
|
|
|
|
<if test="updateId != null ">and update_id = #{updateId}</if>
|
|
|
|
|
<if test="isStatus != null "> and is_status = #{isStatus}</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|