|
|
@ -16,6 +16,7 @@
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
<result property="remark" column="remark"/>
|
|
|
|
<result property="remark" column="remark"/>
|
|
|
|
|
|
|
|
<result property="isStatus" column="is_status" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectTcDataSourceTjVo">
|
|
|
|
<sql id="selectTcDataSourceTjVo">
|
|
|
@ -29,7 +30,8 @@
|
|
|
|
update_id,
|
|
|
|
update_id,
|
|
|
|
update_by,
|
|
|
|
update_by,
|
|
|
|
update_time,
|
|
|
|
update_time,
|
|
|
|
remark
|
|
|
|
remark,
|
|
|
|
|
|
|
|
is_status
|
|
|
|
from tc_data_source_tj
|
|
|
|
from tc_data_source_tj
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
@ -41,6 +43,7 @@
|
|
|
|
<if test="lable2 != null and lable2 != ''">and lable2 = #{lable2}</if>
|
|
|
|
<if test="lable2 != null and lable2 != ''">and lable2 = #{lable2}</if>
|
|
|
|
<if test="createId != null ">and create_id = #{createId}</if>
|
|
|
|
<if test="createId != null ">and create_id = #{createId}</if>
|
|
|
|
<if test="updateId != null ">and update_id = #{updateId}</if>
|
|
|
|
<if test="updateId != null ">and update_id = #{updateId}</if>
|
|
|
|
|
|
|
|
<if test="isStatus != null "> and is_status = #{isStatus}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -62,6 +65,7 @@
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
<if test="remark != null">remark,</if>
|
|
|
|
<if test="remark != null">remark,</if>
|
|
|
|
|
|
|
|
<if test="isStatus != null">is_status,</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="areaId != null">#{areaId},</if>
|
|
|
|
<if test="areaId != null">#{areaId},</if>
|
|
|
@ -74,6 +78,7 @@
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
|
|
|
|
|
<if test="isStatus != null">#{isStatus},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
@ -90,6 +95,7 @@
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
|
|
|
|
|
<if test="isStatus != null">is_status=#{isStatus},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|