<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="cn.gistack.sm.sjztmd.mapper.AttResStagCharMapper">
|
<update id="customizeUpdateByGuid">
|
UPDATE "tb_res_stag_char" SET
|
<if test="attResStagChar.deadStag !=null and attResStagChar.deadStag != ''">
|
"dead_stag" = #{attResStagChar.deadStag},
|
</if>
|
<if test="attResStagChar.benResStag !=null and attResStagChar.benResStag != ''">
|
"ben_res_stag" = #{attResStagChar.benResStag},
|
</if>
|
<if test="attResStagChar.checFlStag !=null and attResStagChar.checFlStag != '' ">
|
"chec_fl_stag" = #{attResStagChar.checFlStag},
|
</if>
|
<if test="attResStagChar.checFlFlow !=null and attResStagChar.checFlFlow != '' ">
|
"chec_fl_flow" = #{attResStagChar.checFlFlow},
|
</if>
|
<if test="attResStagChar.checFlFlowMax !=null and attResStagChar.checFlFlowMax !='' ">
|
"chec_fl_flow_max" = #{attResStagChar.checFlFlowMax},
|
</if>
|
<if test="attResStagChar.checFlStand !=null and attResStagChar.checFlStand !='' ">
|
"chec_fl_stand" = #{attResStagChar.checFlStand},
|
</if>
|
<if test="attResStagChar.desFlStag !=null and attResStagChar.desFlStag != '' ">
|
"des_fl_stag" = #{attResStagChar.desFlStag},
|
</if>
|
<if test="attResStagChar.desFlFlow !=null and attResStagChar.desFlFlow != ''">
|
"des_fl_flow" = #{attResStagChar.desFlFlow},
|
</if>
|
<if test="attResStagChar.desFlFlowMax !=null and attResStagChar.desFlFlowMax != '' ">
|
"des_fl_flow_max" = #{attResStagChar.desFlFlowMax},
|
</if>
|
<if test="attResStagChar.desFlStand !=null and attResStagChar.desFlStand != '' ">
|
"des_fl_stand" = #{attResStagChar.desFlStand},
|
</if>
|
<if test="attResStagChar.flprHighStag !=null and attResStagChar.flprHighStag != '' ">
|
"flpr_high_stag" = #{attResStagChar.flprHighStag},
|
</if>
|
<if test="attResStagChar.lowStagAleVal !=null and attResStagChar.lowStagAleVal != '' ">
|
"low_stag_ale_val" = #{attResStagChar.lowStagAleVal},
|
</if>
|
<if test="attResStagChar.flprHighStagStand !=null and attResStagChar.flprHighStagStand != '' ">
|
"flpr_high_stag_stand" = #{attResStagChar.flprHighStagStand},
|
</if>
|
<if test="attResStagChar.normPoolArea !=null and attResStagChar.normPoolArea != '' ">
|
"norm_pool_area" = #{attResStagChar.normPoolArea},
|
</if>
|
<if test="attResStagChar.normPoolStag !=null and attResStagChar.normPoolStag != '' ">
|
"norm_pool_stag" = #{attResStagChar.normPoolStag},
|
</if>
|
<if test="attResStagChar.benResCap !=null and attResStagChar.benResCap != '' ">
|
"ben_res_cap" = #{attResStagChar.benResCap},
|
</if>
|
<if test="attResStagChar.capCoef !=null and attResStagChar.capCoef != ''">
|
"cap_coef" = #{attResStagChar.capCoef},
|
</if>
|
<if test="attResStagChar.deadCap !=null and attResStagChar.deadCap != '' ">
|
"dead_cap" = #{attResStagChar.deadCap},
|
</if>
|
<if test="attResStagChar.flcoCap !=null and attResStagChar.flcoCap != '' ">
|
"flco_cap" = #{attResStagChar.flcoCap},
|
</if>
|
<if test="attResStagChar.normPoolCap !=null and attResStagChar.normPoolCap != '' ">
|
"norm_pool_cap" = #{attResStagChar.normPoolCap},
|
</if>
|
<if test="attResStagChar.flseLimCap !=null and attResStagChar.flseLimCap != '' ">
|
"flse_lim_cap" = #{attResStagChar.flseLimCap},
|
</if>
|
<if test="attResStagChar.siltStorageCapacity !=null and attResStagChar.siltStorageCapacity != '' ">
|
"silt_storage_capacity" = #{attResStagChar.siltStorageCapacity},
|
</if>
|
<if test="attResStagChar.storFlCap !=null and attResStagChar.storFlCap != '' ">
|
"stor_fl_cap" = #{attResStagChar.storFlCap},
|
</if>
|
<if test="attResStagChar.totCap !=null and attResStagChar.totCap != '' ">
|
"tot_cap" = #{attResStagChar.totCap},
|
</if>
|
<if test="attResStagChar.conArea !=null and attResStagChar.conArea != '' ">
|
"con_area" = #{attResStagChar.conArea},
|
</if>
|
<if test="attResStagChar.moyearFlAge !=null and attResStagChar.moyearFlAge != '' ">
|
"moyear_fl_age" = #{attResStagChar.moyearFlAge},
|
</if>
|
<if test="attResStagChar.floodSeasonBStart !=null and attResStagChar.floodSeasonBStart != '' ">
|
"flood_season_b_start" = #{attResStagChar.floodSeasonBStart},
|
</if>
|
<if test="attResStagChar.floodSeasonBEnd !=null and attResStagChar.floodSeasonBEnd != '' ">
|
"flood_season_b_end" = #{attResStagChar.floodSeasonBEnd},
|
</if>
|
<if test="attResStagChar.floodSeasonBz !=null and attResStagChar.floodSeasonBz != '' ">
|
"flood_season_bz" = #{attResStagChar.floodSeasonBz},
|
</if>
|
<if test="attResStagChar.floodSeasonMStart !=null and attResStagChar.floodSeasonMStart != '' ">
|
"flood_season_m_start" = #{attResStagChar.floodSeasonMStart},
|
</if>
|
<if test="attResStagChar.floodSeasonMEnd !=null and attResStagChar.floodSeasonMEnd != '' ">
|
"flood_season_m_end" = #{attResStagChar.floodSeasonMEnd},
|
</if>
|
<if test="attResStagChar.floodSeasonMz !=null and attResStagChar.floodSeasonMz != '' ">
|
"flood_season_mz" = #{attResStagChar.floodSeasonMz},
|
</if>
|
<if test="attResStagChar.floodSeasonAStart !=null and attResStagChar.floodSeasonAStart != '' ">
|
"flood_season_a_start" = #{attResStagChar.floodSeasonAStart},
|
</if>
|
<if test="attResStagChar.floodSeasonAEnd !=null and attResStagChar.floodSeasonAEnd != '' ">
|
"flood_season_a_end" = #{attResStagChar.floodSeasonAEnd},
|
</if>
|
<if test="attResStagChar.floodSeasonAz !=null and attResStagChar.floodSeasonAz != '' ">
|
"flood_season_az" = #{attResStagChar.floodSeasonAz},
|
</if>
|
<if test="attResStagChar.updateUserCode !=null and attResStagChar.updateUserCode != '' ">
|
"update_user_code" = #{attResStagChar.updateUserCode},
|
</if>
|
<if test="attResStagChar.updateUserName !=null and attResStagChar.updateUserName != '' ">
|
"update_user_name" = #{attResStagChar.updateUserName},
|
</if>
|
<if test="attResStagChar.updateUserPhone !=null and attResStagChar.updateUserPhone != '' ">
|
"update_user_phone" = #{attResStagChar.updateUserPhone},
|
</if>
|
"update_time" = #{attResStagChar.updateTime}
|
WHERE "res_guid" = #{attResStagChar.resGuid}
|
</update>
|
|
<select id="getByResGuid" resultType="cn.gistack.sm.sjztmd.entity.AttResStagChar">
|
SELECT * FROM "SJZT_MD"."tb_res_stag_char" WHERE "res_guid" = #{resGuid}
|
</select>
|
</mapper>
|