| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877 |
- <?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.com.goldenwater.dcproj.dao.BisInspSafeExtManageDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage" id="bisInspSafeExtManageResultMap">
- <result property="ifFsltdz" column="IF_FSLTDZ"/>
- <result property="ifFsltdzRun" column="IF_FSLTDZ_RUN"/>
- <result property="ifFsltdzNo" column="IF_FSLTDZ_NO"/>
- <result property="mngrnId" column="MNGRN_ID"/>
- <result property="rgstrId" column="RGSTR_ID"/>
- <result property="safeCommontNote" column="SAFE_COMMONT_NOTE"/>
- <result property="safeComment" column="SAFE_COMMENT"/>
- <result property="retainRegular" column="RETAIN_REGULAR"/>
- <result property="hasRetainRegular" column="HAS_RETAIN_REGULAR"/>
- <result property="wdEmnic" column="WD_EMNIC"/>
- <result property="hasWdEmnic" column="HAS_WD_EMNIC"/>
- <result property="managePersNote" column="MANAGE_PERS_NOTE"/>
- <result property="hasManagePers" column="HAS_MANAGE_PERS"/>
- <result property="speManageNote" column="SPE_MANAGE_NOTE"/>
- <result property="hasSpeManage" column="HAS_SPE_MANAGE"/>
- <result property="noRetainRegularNote" column="NO_RETAIN_REGULAR_NOTE"/>
- <result property="noRetainRegular" column="NO_RETAIN_REGULAR"/>
- <result property="canNotRetainWaterNote" column="CAN_NOT_RETAIN_WATER_NOTE"/>
- <result property="canNotRetainWater" column="CAN_NOT_RETAIN_WATER"/>
- <result property="dikeHasLeakNote" column="DIKE_HAS_LEAK_NOTE"/>
- <result property="dikeHasLeak" column="DIKE_HAS_LEAK"/>
- <result property="leakMakeSafeNote" column="LEAK_MAKE_SAFE_NOTE"/>
- <result property="leakMakeSafe" column="LEAK_MAKE_SAFE"/>
- <result property="hasAstable" column="HAS_ASTABLE"/>
- <result property="astableDesc" column="ASTABLE_DESC"/>
- <result property="setMainFlNote" column="SET_MAIN_FL_NOTE"/>
- <result property="hasSetMainFl" column="HAS_SET_MAIN_FL"/>
- <result property="mainFlNormalNote" column="MAIN_FL_NORMAL_NOTE"/>
- <result property="isMainFlNormal" column="IS_MAIN_FL_NORMAL"/>
- <result property="hasSetWaga" column="HAS_SET_WAGA"/>
- <result property="isWagaOpenNormal" column="IS_WAGA_OPEN_NORMAL"/>
- <result property="wagaDangDesc" column="WAGA_DANG_DESC"/>
- <result property="notSetWagaReason" column="NOT_SET_WAGA_REASON"/>
- <result property="setPorrFlNote" column="SET_PORR_FL_NOTE"/>
- <result property="hasSetPourFl" column="HAS_SET_POUR_FL"/>
- <result property="pourFyNormalNote" column="POUR_FY_NORMAL_NOTE"/>
- <result property="pourFyIsNormal" column="POUR_FY_IS_NORMAL"/>
- <result property="hasSetPourWaga" column="HAS_SET_POUR_WAGA"/>
- <result property="isPourWagaOpenNormal" column="IS_POUR_WAGA_OPEN_NORMAL"/>
- <result property="pourWagaDangDesc" column="POUR_WAGA_DANG_DESC"/>
- <result property="canNotSetFy" column="CAN_NOT_SET_FY"/>
- <result property="flLowLimLevNote" column="FL_LOW_LIM_LEV_NOTE"/>
- <result property="havFlLowLimLev" column="HAV_FL_LOW_LIM_LEV"/>
- <result property="gtFlLowLimLevNote" column="GT_FL_LOW_LIM_LEV_NOTE"/>
- <result property="gtFlLowLimLev" column="GT_FL_LOW_LIM_LEV"/>
- <result property="gtFlLowLimLevDesc" column="GT_FL_LOW_LIM_LEV_DESC"/>
- <result property="damSafeApprNote" column="DAM_SAFE_APPR_NOTE"/>
- <result property="extDamSafeAppr" column="EXT_DAM_SAFE_APPR"/>
- <result property="nearDamSafeApprTime" column="NEAR_DAM_SAFE_APPR_TIME"/>
- <result property="neatDamSafeApprRes" column="NEAT_DAM_SAFE_APPR_RES"/>
- <result property="damSafeApprRequire" column="DAM_SAFE_APPR_REQUIRE"/>
- <result property="noDamSafeApprReson" column="NO_DAM_SAFE_APPR_RESON"/>
- <result property="reinForceNote" column="REIN_FORCE_NOTE"/>
- <result property="ifReinForce" column="IF_REIN_FORCE"/>
- <result property="reinForceTime" column="REIN_FORCE_TIME"/>
- <result property="ifComplateAcc" column="IF_COMPLATE_ACC"/>
- <result property="accDate" column="ACC_DATE"/>
- <result property="ifComplateAccAll" column="IF_COMPLATE_ACC_ALL"/>
- <result property="complateAccAllDesc" column="COMPLATE_ACC_ALL_DESC"/>
- <result property="effectFloodSafe" column="EFFECT_FLOOD_SAFE"/>
- <result property="noReinForceReson" column="NO_REIN_FORCE_RESON"/>
- <result property="accHaveDangNow" column="ACC_HAVE_DANG_NOW"/>
- <result property="accHaveDangDesc" column="ACC_HAVE_DANG_DESC"/>
- <result property="ifWaterLessor" column="IF_WATER_LESSOR"/>
- <result property="waterLessorEffectFl" column="WATER_LESSOR_EFFECT_FL"/>
- <result property="waterLessorEffectFlReson" column="WATER_LESSOR_EFFECT_FL_RESON"/>
- <result property="manageRegRelNote" column="MANAGE_REG_REL_NOTE"/>
- <result property="ifManageRegRel" column="IF_MANAGE_REG_REL"/>
- <result property="manageRegNote" column="MANAGE_REG_NOTE"/>
- <result property="ifManageReg" column="IF_MANAGE_REG"/>
- <result property="damWarnLogoNote" column="DAM_WARN_LOGO_NOTE"/>
- <result property="ifDamWarnLogo" column="IF_DAM_WARN_LOGO"/>
- <result property="otherEffectReson" column="OTHER_EFFECT_RESON"/>
- <result property="recPersId" column="REC_PERS_ID"/>
- <result property="recPers2" column="REC_PERS2"/>
- <result property="recPersTel" column="REC_PERS_TEL"/>
- <result property="createTime" column="CREATE_TIME"/>
- <result property="updateTime" column="UPDATE_TIME"/>
- <result property="status" column="STATUS"/>
- <result property="poorCountry" column="POOR_COUNTRY"/>
- <result property="reverOrg" column="REVER_ORG"/>
- <result property="reverOrgName" column="REVER_ORG_NAME"/>
- <result property="emerPlanSameExta" column="EMER_PLAN_SAME_EXTA"/>
- <result property="emerPlanSameExtaNote" column="EMER_PLAN_SAME_EXTA_NOTE"/>
- <result property="emerPlanSameAppr" column="EMER_PLAN_SAME_APPR"/>
- <result property="emerPlanSameApprNote" column="EMER_PLAN_SAME_APPR_NOTE"/>
- <result property="emerPlanSamePert" column="EMER_PLAN_SAME_PERT"/>
- <result property="emerPlanSamePertNote" column="EMER_PLAN_SAME_PERT_NOTE"/>
- <result property="emerPlanSameEme" column="EMER_PLAN_SAME_EME"/>
- <result property="emerPlanSameEmeNote" column="EMER_PLAN_SAME_EME_NOTE"/>
- <result property="emerPlanSameSpeed" column="EMER_PLAN_SAME_SPEED"/>
- <result property="isHasMangPers" column="IS_HAS_MANG_PERS"/>
- <result property="isClean" column="IS_CLEAN"/>
- <result property="damGrad" column="DAM_GRAD"/>
- </resultMap>
- <sql id="table_columns">
- IS_HAS_MANG_PERS,
- IS_CLEAN,
- DAM_GRAD,
- EMER_PLAN_SAME_EXTA,
- EMER_PLAN_SAME_EXTA_NOTE,
- EMER_PLAN_SAME_APPR,
- EMER_PLAN_SAME_APPR_NOTE,
- EMER_PLAN_SAME_PERT,
- EMER_PLAN_SAME_PERT_NOTE,
- EMER_PLAN_SAME_EME,
- EMER_PLAN_SAME_EME_NOTE,
- EMER_PLAN_SAME_SPEED,
- IF_FSLTDZ,
- IF_FSLTDZ_RUN,
- IF_FSLTDZ_NO,
- MNGRN_ID,
- RGSTR_ID,
- SAFE_COMMONT_NOTE,
- SAFE_COMMENT,
- RETAIN_REGULAR,
- HAS_RETAIN_REGULAR,
- WD_EMNIC,
- HAS_WD_EMNIC,
- MANAGE_PERS_NOTE,
- HAS_MANAGE_PERS,
- SPE_MANAGE_NOTE,
- HAS_SPE_MANAGE,
- NO_RETAIN_REGULAR_NOTE,
- NO_RETAIN_REGULAR,
- CAN_NOT_RETAIN_WATER_NOTE,
- CAN_NOT_RETAIN_WATER,
- DIKE_HAS_LEAK_NOTE,
- DIKE_HAS_LEAK,
- LEAK_MAKE_SAFE_NOTE,
- LEAK_MAKE_SAFE,
- HAS_ASTABLE,
- ASTABLE_DESC,
- SET_MAIN_FL_NOTE,
- HAS_SET_MAIN_FL,
- MAIN_FL_NORMAL_NOTE,
- IS_MAIN_FL_NORMAL,
- HAS_SET_WAGA,
- IS_WAGA_OPEN_NORMAL,
- WAGA_DANG_DESC,
- NOT_SET_WAGA_REASON,
- SET_PORR_FL_NOTE,
- HAS_SET_POUR_FL,
- POUR_FY_NORMAL_NOTE,
- POUR_FY_IS_NORMAL,
- HAS_SET_POUR_WAGA,
- IS_POUR_WAGA_OPEN_NORMAL,
- POUR_WAGA_DANG_DESC,
- CAN_NOT_SET_FY,
- FL_LOW_LIM_LEV_NOTE,
- HAV_FL_LOW_LIM_LEV,
- GT_FL_LOW_LIM_LEV_NOTE,
- GT_FL_LOW_LIM_LEV,
- GT_FL_LOW_LIM_LEV_DESC,
- DAM_SAFE_APPR_NOTE,
- EXT_DAM_SAFE_APPR,
- NEAR_DAM_SAFE_APPR_TIME,
- NEAT_DAM_SAFE_APPR_RES,
- DAM_SAFE_APPR_REQUIRE,
- NO_DAM_SAFE_APPR_RESON,
- REIN_FORCE_NOTE,
- IF_REIN_FORCE,
- REIN_FORCE_TIME,
- IF_COMPLATE_ACC,
- ACC_DATE,
- IF_COMPLATE_ACC_ALL,
- COMPLATE_ACC_ALL_DESC,
- EFFECT_FLOOD_SAFE,
- NO_REIN_FORCE_RESON,
- ACC_HAVE_DANG_NOW,
- ACC_HAVE_DANG_DESC,
- IF_WATER_LESSOR,
- WATER_LESSOR_EFFECT_FL,
- WATER_LESSOR_EFFECT_FL_RESON,
- MANAGE_REG_REL_NOTE,
- IF_MANAGE_REG_REL,
- MANAGE_REG_NOTE,
- IF_MANAGE_REG,
- DAM_WARN_LOGO_NOTE,
- IF_DAM_WARN_LOGO,
- OTHER_EFFECT_RESON,
- REC_PERS_ID,
- REC_PERS2,
- REC_PERS_TEL,
- CREATE_TIME,
- UPDATE_TIME,
- STATUS,POOR_COUNTRY,REVER_ORG,REVER_ORG_NAME
- </sql>
- <sql id="entity_properties">
- #{isHasMangPers},
- #{isClean},
- #{damGrad},
- #{emerPlanSameExta},
- #{emerPlanSameExtaNote},
- #{emerPlanSameAppr},
- #{emerPlanSameApprNote},
- #{emerPlanSamePert},
- #{emerPlanSamePertNote},
- #{emerPlanSameEme},
- #{emerPlanSameEmeNote},
- #{emerPlanSameSpeed},
- #{ifFsltdz},
- #{ifFsltdzRun},
- #{ifFsltdzNo},
- #{mngrnId},
- #{rgstrId},
- #{safeCommontNote},
- #{safeComment},
- #{retainRegular},
- #{hasRetainRegular},
- #{wdEmnic},
- #{hasWdEmnic},
- #{managePersNote},
- #{hasManagePers},
- #{speManageNote},
- #{hasSpeManage},
- #{noRetainRegularNote},
- #{noRetainRegular},
- #{canNotRetainWaterNote},
- #{canNotRetainWater},
- #{dikeHasLeakNote},
- #{dikeHasLeak},
- #{leakMakeSafeNote},
- #{leakMakeSafe},
- #{hasAstable},
- #{astableDesc},
- #{setMainFlNote},
- #{hasSetMainFl},
- #{mainFlNormalNote},
- #{isMainFlNormal},
- #{hasSetWaga},
- #{isWagaOpenNormal},
- #{wagaDangDesc},
- #{notSetWagaReason},
- #{setPorrFlNote},
- #{hasSetPourFl},
- #{pourFyNormalNote},
- #{pourFyIsNormal},
- #{hasSetPourWaga},
- #{isPourWagaOpenNormal},
- #{pourWagaDangDesc},
- #{canNotSetFy},
- #{flLowLimLevNote},
- #{havFlLowLimLev},
- #{gtFlLowLimLevNote},
- #{gtFlLowLimLev},
- #{gtFlLowLimLevDesc},
- #{damSafeApprNote},
- #{extDamSafeAppr},
- #{nearDamSafeApprTime},
- #{neatDamSafeApprRes},
- #{damSafeApprRequire},
- #{noDamSafeApprReson},
- #{reinForceNote},
- #{ifReinForce},
- #{reinForceTime},
- #{ifComplateAcc},
- #{accDate},
- #{ifComplateAccAll},
- #{complateAccAllDesc},
- #{effectFloodSafe},
- #{noReinForceReson},
- #{accHaveDangNow},
- #{accHaveDangDesc},
- #{ifWaterLessor},
- #{waterLessorEffectFl},
- #{waterLessorEffectFlReson},
- #{manageRegRelNote},
- #{ifManageRegRel},
- #{manageRegNote},
- #{ifManageReg},
- #{damWarnLogoNote},
- #{ifDamWarnLogo},
- #{otherEffectReson},
- #{recPersId},
- #{recPers2},
- #{recPersTel},
- #{createTime},
- #{updateTime},
- #{status},#{poorCountry},#{reverOrg},#{reverOrgName}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="isHasMangPers != null and isHasMangPers != ''">and IS_HAS_MANG_PERS =
- #{isHasMangPers}
- </if>
- <if test="isClean != null and isClean != ''">and IS_CLEAN = #{isClean}</if>
- <if test="damGrad != null and damGrad != ''">and DAM_GRAD = #{damGrad}</if>
- <if test="emerPlanSameExta != null and emerPlanSameExta != ''">and EMER_PLAN_SAME_EXTA =
- #{emerPlanSameExta}
- </if>
- <if test="emerPlanSameExtaNote != null and emerPlanSameExtaNote != ''">and EMER_PLAN_SAME_EXTA_NOTE =
- #{emerPlanSameExtaNote}
- </if>
- <if test="emerPlanSameAppr != null and emerPlanSameAppr != ''">and EMER_PLAN_SAME_APPR =
- #{emerPlanSameAppr}
- </if>
- <if test="emerPlanSameApprNote != null and emerPlanSameApprNote != ''">and EMER_PLAN_SAME_APPR_NOTE =
- #{emerPlanSameApprNote}
- </if>
- <if test="emerPlanSamePert != null and emerPlanSamePert != ''">and EMER_PLAN_SAME_PERT =
- #{emerPlanSamePert}
- </if>
- <if test="emerPlanSamePertNote != null and emerPlanSamePertNote != ''">and EMER_PLAN_SAME_PERT_NOTE =
- #{emerPlanSamePertNote}
- </if>
- <if test="emerPlanSameEme != null and emerPlanSameEme != ''">and EMER_PLAN_SAME_EME = #{emerPlanSameEme}
- </if>
- <if test="emerPlanSameEmeNote != null and emerPlanSameEmeNote != ''">and EMER_PLAN_SAME_EME_NOTE =
- #{emerPlanSameEmeNote}
- </if>
- <if test="emerPlanSameSpeed != null and emerPlanSameSpeed != ''">and EMER_PLAN_SAME_SPEED =
- #{emerPlanSameSpeed}
- </if>
- <if test="ifFsltdz != null and ifFsltdz != ''">and IF_FSLTDZ = #{ifFsltdz}</if>
- <if test="ifFsltdzRun != null and ifFsltdzRun != ''">and IF_FSLTDZ_RUN = #{ifFsltdzRun}</if>
- <if test="ifFsltdzNo != null and ifFsltdzNo != ''">and IF_FSLTDZ_NO = #{ifFsltdzNo}</if>
- <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
- <if test="safeCommontNote != null and safeCommontNote != ''">and SAFE_COMMONT_NOTE = #{safeCommontNote}</if>
- <if test="safeComment != null and safeComment != ''">and SAFE_COMMENT = #{safeComment}</if>
- <if test="retainRegular != null and retainRegular != ''">and RETAIN_REGULAR = #{retainRegular}</if>
- <if test="hasRetainRegular != null and hasRetainRegular != ''">and HAS_RETAIN_REGULAR =
- #{hasRetainRegular}
- </if>
- <if test="wdEmnic != null and wdEmnic != ''">and WD_EMNIC = #{wdEmnic}</if>
- <if test="hasWdEmnic != null and hasWdEmnic != ''">and HAS_WD_EMNIC = #{hasWdEmnic}</if>
- <if test="managePersNote != null and managePersNote != ''">and MANAGE_PERS_NOTE = #{managePersNote}</if>
- <if test="hasManagePers != null and hasManagePers != ''">and HAS_MANAGE_PERS = #{hasManagePers}</if>
- <if test="speManageNote != null and speManageNote != ''">and SPE_MANAGE_NOTE = #{speManageNote}</if>
- <if test="hasSpeManage != null and hasSpeManage != ''">and HAS_SPE_MANAGE = #{hasSpeManage}</if>
- <if test="noRetainRegularNote != null and noRetainRegularNote != ''">and NO_RETAIN_REGULAR_NOTE =
- #{noRetainRegularNote}
- </if>
- <if test="noRetainRegular != null and noRetainRegular != ''">and NO_RETAIN_REGULAR = #{noRetainRegular}</if>
- <if test="canNotRetainWaterNote != null and canNotRetainWaterNote != ''">and CAN_NOT_RETAIN_WATER_NOTE =
- #{canNotRetainWaterNote}
- </if>
- <if test="canNotRetainWater != null and canNotRetainWater != ''">and CAN_NOT_RETAIN_WATER =
- #{canNotRetainWater}
- </if>
- <if test="dikeHasLeakNote != null and dikeHasLeakNote != ''">and DIKE_HAS_LEAK_NOTE = #{dikeHasLeakNote}
- </if>
- <if test="dikeHasLeak != null and dikeHasLeak != ''">and DIKE_HAS_LEAK = #{dikeHasLeak}</if>
- <if test="leakMakeSafeNote != null and leakMakeSafeNote != ''">and LEAK_MAKE_SAFE_NOTE =
- #{leakMakeSafeNote}
- </if>
- <if test="leakMakeSafe != null and leakMakeSafe != ''">and LEAK_MAKE_SAFE = #{leakMakeSafe}</if>
- <if test="hasAstable != null and hasAstable != ''">and HAS_ASTABLE = #{hasAstable}</if>
- <if test="astableDesc != null and astableDesc != ''">and ASTABLE_DESC = #{astableDesc}</if>
- <if test="setMainFlNote != null and setMainFlNote != ''">and SET_MAIN_FL_NOTE = #{setMainFlNote}</if>
- <if test="hasSetMainFl != null and hasSetMainFl != ''">and HAS_SET_MAIN_FL = #{hasSetMainFl}</if>
- <if test="mainFlNormalNote != null and mainFlNormalNote != ''">and MAIN_FL_NORMAL_NOTE =
- #{mainFlNormalNote}
- </if>
- <if test="isMainFlNormal != null and isMainFlNormal != ''">and IS_MAIN_FL_NORMAL = #{isMainFlNormal}</if>
- <if test="hasSetWaga != null and hasSetWaga != ''">and HAS_SET_WAGA = #{hasSetWaga}</if>
- <if test="isWagaOpenNormal != null and isWagaOpenNormal != ''">and IS_WAGA_OPEN_NORMAL =
- #{isWagaOpenNormal}
- </if>
- <if test="wagaDangDesc != null and wagaDangDesc != ''">and WAGA_DANG_DESC = #{wagaDangDesc}</if>
- <if test="notSetWagaReason != null and notSetWagaReason != ''">and NOT_SET_WAGA_REASON =
- #{notSetWagaReason}
- </if>
- <if test="setPorrFlNote != null and setPorrFlNote != ''">and SET_PORR_FL_NOTE = #{setPorrFlNote}</if>
- <if test="hasSetPourFl != null and hasSetPourFl != ''">and HAS_SET_POUR_FL = #{hasSetPourFl}</if>
- <if test="pourFyNormalNote != null and pourFyNormalNote != ''">and POUR_FY_NORMAL_NOTE =
- #{pourFyNormalNote}
- </if>
- <if test="pourFyIsNormal != null and pourFyIsNormal != ''">and POUR_FY_IS_NORMAL = #{pourFyIsNormal}</if>
- <if test="hasSetPourWaga != null and hasSetPourWaga != ''">and HAS_SET_POUR_WAGA = #{hasSetPourWaga}</if>
- <if test="isPourWagaOpenNormal != null and isPourWagaOpenNormal != ''">and IS_POUR_WAGA_OPEN_NORMAL =
- #{isPourWagaOpenNormal}
- </if>
- <if test="pourWagaDangDesc != null and pourWagaDangDesc != ''">and POUR_WAGA_DANG_DESC =
- #{pourWagaDangDesc}
- </if>
- <if test="canNotSetFy != null and canNotSetFy != ''">and CAN_NOT_SET_FY = #{canNotSetFy}</if>
- <if test="flLowLimLevNote != null and flLowLimLevNote != ''">and FL_LOW_LIM_LEV_NOTE = #{flLowLimLevNote}
- </if>
- <if test="havFlLowLimLev != null and havFlLowLimLev != ''">and HAV_FL_LOW_LIM_LEV = #{havFlLowLimLev}</if>
- <if test="gtFlLowLimLevNote != null and gtFlLowLimLevNote != ''">and GT_FL_LOW_LIM_LEV_NOTE =
- #{gtFlLowLimLevNote}
- </if>
- <if test="gtFlLowLimLev != null and gtFlLowLimLev != ''">and GT_FL_LOW_LIM_LEV = #{gtFlLowLimLev}</if>
- <if test="gtFlLowLimLevDesc != null and gtFlLowLimLevDesc != ''">and GT_FL_LOW_LIM_LEV_DESC =
- #{gtFlLowLimLevDesc}
- </if>
- <if test="damSafeApprNote != null and damSafeApprNote != ''">and DAM_SAFE_APPR_NOTE = #{damSafeApprNote}
- </if>
- <if test="extDamSafeAppr != null and extDamSafeAppr != ''">and EXT_DAM_SAFE_APPR = #{extDamSafeAppr}</if>
- <if test="nearDamSafeApprTime != null">and NEAR_DAM_SAFE_APPR_TIME = #{nearDamSafeApprTime}</if>
- <if test="neatDamSafeApprRes != null and neatDamSafeApprRes != ''">and NEAT_DAM_SAFE_APPR_RES =
- #{neatDamSafeApprRes}
- </if>
- <if test="damSafeApprRequire != null and damSafeApprRequire != ''">and DAM_SAFE_APPR_REQUIRE =
- #{damSafeApprRequire}
- </if>
- <if test="noDamSafeApprReson != null and noDamSafeApprReson != ''">and NO_DAM_SAFE_APPR_RESON =
- #{noDamSafeApprReson}
- </if>
- <if test="reinForceNote != null and reinForceNote != ''">and REIN_FORCE_NOTE = #{reinForceNote}</if>
- <if test="ifReinForce != null and ifReinForce != ''">and IF_REIN_FORCE = #{ifReinForce}</if>
- <if test="reinForceTime != null and reinForceTime != ''">and REIN_FORCE_TIME = #{reinForceTime}</if>
- <if test="ifComplateAcc != null and ifComplateAcc != ''">and IF_COMPLATE_ACC = #{ifComplateAcc}</if>
- <if test="accDate != null">and ACC_DATE = #{accDate}</if>
- <if test="ifComplateAccAll != null and ifComplateAccAll != ''">and IF_COMPLATE_ACC_ALL =
- #{ifComplateAccAll}
- </if>
- <if test="complateAccAllDesc != null and complateAccAllDesc != ''">and COMPLATE_ACC_ALL_DESC =
- #{complateAccAllDesc}
- </if>
- <if test="effectFloodSafe != null and effectFloodSafe != ''">and EFFECT_FLOOD_SAFE = #{effectFloodSafe}</if>
- <if test="noReinForceReson != null and noReinForceReson != ''">and NO_REIN_FORCE_RESON =
- #{noReinForceReson}
- </if>
- <if test="accHaveDangNow != null and accHaveDangNow != ''">and ACC_HAVE_DANG_NOW = #{accHaveDangNow}</if>
- <if test="accHaveDangDesc != null and accHaveDangDesc != ''">and ACC_HAVE_DANG_DESC = #{accHaveDangDesc}
- </if>
- <if test="ifWaterLessor != null and ifWaterLessor != ''">and IF_WATER_LESSOR = #{ifWaterLessor}</if>
- <if test="waterLessorEffectFl != null and waterLessorEffectFl != ''">and WATER_LESSOR_EFFECT_FL =
- #{waterLessorEffectFl}
- </if>
- <if test="waterLessorEffectFlReson != null and waterLessorEffectFlReson != ''">and
- WATER_LESSOR_EFFECT_FL_RESON = #{waterLessorEffectFlReson}
- </if>
- <if test="manageRegRelNote != null and manageRegRelNote != ''">and MANAGE_REG_REL_NOTE =
- #{manageRegRelNote}
- </if>
- <if test="ifManageRegRel != null and ifManageRegRel != ''">and IF_MANAGE_REG_REL = #{ifManageRegRel}</if>
- <if test="manageRegNote != null and manageRegNote != ''">and MANAGE_REG_NOTE = #{manageRegNote}</if>
- <if test="ifManageReg != null and ifManageReg != ''">and IF_MANAGE_REG = #{ifManageReg}</if>
- <if test="damWarnLogoNote != null and damWarnLogoNote != ''">and DAM_WARN_LOGO_NOTE = #{damWarnLogoNote}
- </if>
- <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">and IF_DAM_WARN_LOGO = #{ifDamWarnLogo}</if>
- <if test="otherEffectReson != null and otherEffectReson != ''">and OTHER_EFFECT_RESON =
- #{otherEffectReson}
- </if>
- <if test="recPersId != null and recPersId != ''">and REC_PERS_ID = #{recPersId}</if>
- <if test="recPers2 != null and recPers2 != ''">and REC_PERS2 = #{recPers2}</if>
- <if test="recPersTel != null and recPersTel != ''">and REC_PERS_TEL = #{recPersTel}</if>
- <if test="createTime != null">and CREATE_TIME = #{createTime}</if>
- <if test="updateTime != null">and UPDATE_TIME = #{updateTime}</if>
- <if test="status != null and status != ''">and STATUS = #{status}</if>
- <if test="poorCountry != null and poorCountry != ''">and POOR_COUNTRY = #{poorCountry}</if>
- <if test="reverOrg != null and reverOrg != ''">and REVER_ORG = #{reverOrg}</if>
- <if test="reverOrgName != null and reverOrgName != ''">and REVER_ORG_NAME = #{reverOrgName}</if>
- </trim>
- </sql>
- <select id="get" resultMap="bisInspSafeExtManageResultMap" parameterType="String">
- select
- <include refid="table_columns"/>
- from bis_insp_safe_ext_manage where MNGRN_ID = #{id}
- </select>
- <select id="getBy" resultMap="bisInspSafeExtManageResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_SAFE_EXT_MANAGE
- <include refid="page_where"/>
- </select>
- <select id="getSafeExtApp" resultType="cn.com.goldenwater.dcproj.model.BisInspSafeExtApp">
- select
- <include refid="table_columns"/>
- from BIS_INSP_SAFE_EXT_MANAGE where MNGRN_ID = #{id}
- </select>
- <select id="findAll" resultMap="bisInspSafeExtManageResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_SAFE_EXT_MANAGE
- </select>
- <select id="findList" resultMap="bisInspSafeExtManageResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_SAFE_EXT_MANAGE
- <include refid="page_where"/>
- </select>
- <select id="selectNewCount" resultType="int">
- select count(*) as total from BIS_INSP_SAFE_EXT_MANAGE
- </select>
- <select id="findRsvrProjectList" resultMap="bisInspSafeExtManageResultMap">
- select * from (select
- <include refid="table_columns"/>
- from BIS_INSP_SAFE_EXT_MANAGE where 1=1
- <if test="updateTime != null">and to_char(UPDATE_TIME,'yyyy-mm-dd hh24:mi:ss') >=
- to_char(#{updateTime},'yyyy-mm-dd hh24:mi:ss.ff')
- </if>
- order by update_time asc ) w where rownum <=#{pageNum}
- </select>
- <select id="selectCount" resultType="int">
- select count(ID) from BIS_INSP_SAFE_EXT_MANAGE
- <include refid="page_where"/>
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
- insert into BIS_INSP_SAFE_EXT_MANAGE(
- <include refid="table_columns"/>
- )
- values (
- <include refid="entity_properties"/>
- )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- delete from bis_insp_safe_ext_manage where MNGRN_ID = #{id}
- </delete>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
- delete from BIS_INSP_SAFE_EXT_MANAGE
- <include refid="page_where"/>
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update BIS_INSP_SAFE_EXT_MANAGE set flag_valid = 0 where ID = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
- update BIS_INSP_SAFE_EXT_MANAGE
- <trim prefix="set" suffixOverrides=",">
- <if test="isHasMangPers != null and isHasMangPers != ''">IS_HAS_MANG_PERS =
- #{isHasMangPers},
- </if>
- <if test="isClean != null and isClean != ''">IS_CLEAN =
- #{isClean},
- </if>
- <if test="damGrad != null and damGrad != ''">DAM_GRAD = #{damGrad},</if>
- <if test="emerPlanSameExta != null and emerPlanSameExta != ''">EMER_PLAN_SAME_EXTA = #{emerPlanSameExta},
- </if>
- <if test="emerPlanSameExtaNote != null and emerPlanSameExtaNote != ''">EMER_PLAN_SAME_EXTA_NOTE =
- #{emerPlanSameExtaNote},
- </if>
- <if test="emerPlanSameAppr != null and emerPlanSameAppr != ''">EMER_PLAN_SAME_APPR = #{emerPlanSameAppr},
- </if>
- <if test="emerPlanSameApprNote != null and emerPlanSameApprNote != ''">EMER_PLAN_SAME_APPR_NOTE =
- #{emerPlanSameApprNote},
- </if>
- <if test="emerPlanSamePert != null and emerPlanSamePert != ''">EMER_PLAN_SAME_PERT = #{emerPlanSamePert},
- </if>
- <if test="emerPlanSamePertNote != null and emerPlanSamePertNote != ''">EMER_PLAN_SAME_PERT_NOTE =
- #{emerPlanSamePertNote},
- </if>
- <if test="emerPlanSameEme != null and emerPlanSameEme != ''">EMER_PLAN_SAME_EME = #{emerPlanSameEme},</if>
- <if test="emerPlanSameEmeNote != null and emerPlanSameEmeNote != ''">EMER_PLAN_SAME_EME_NOTE =
- #{emerPlanSameEmeNote},
- </if>
- <if test="emerPlanSameSpeed != null and emerPlanSameSpeed != ''">EMER_PLAN_SAME_SPEED =
- #{emerPlanSameSpeed},
- </if>
- <if test="ifFsltdz != null and ifFsltdz != ''">IF_FSLTDZ = #{ifFsltdz},</if>
- <if test="ifFsltdzRun != null and ifFsltdzRun != ''">IF_FSLTDZ_RUN = #{ifFsltdzRun},</if>
- <if test="ifFsltdzNo != null and ifFsltdzNo != ''">IF_FSLTDZ_NO = #{ifFsltdzNo},</if>
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
- <if test="safeCommontNote != null and safeCommontNote != ''">SAFE_COMMONT_NOTE = #{safeCommontNote},</if>
- <if test="safeComment != null and safeComment != ''">SAFE_COMMENT = #{safeComment},</if>
- <if test="retainRegular != null and retainRegular != ''">RETAIN_REGULAR = #{retainRegular},</if>
- <if test="hasRetainRegular != null and hasRetainRegular != ''">HAS_RETAIN_REGULAR = #{hasRetainRegular},
- </if>
- <if test="wdEmnic != null and wdEmnic != ''">WD_EMNIC = #{wdEmnic},</if>
- <if test="hasWdEmnic != null and hasWdEmnic != ''">HAS_WD_EMNIC = #{hasWdEmnic},</if>
- <if test="managePersNote != null and managePersNote != ''">MANAGE_PERS_NOTE = #{managePersNote},</if>
- <if test="hasManagePers != null and hasManagePers != ''">HAS_MANAGE_PERS = #{hasManagePers},</if>
- <if test="speManageNote != null and speManageNote != ''">SPE_MANAGE_NOTE = #{speManageNote},</if>
- <if test="hasSpeManage != null and hasSpeManage != ''">HAS_SPE_MANAGE = #{hasSpeManage},</if>
- <if test="noRetainRegularNote != null and noRetainRegularNote != ''">NO_RETAIN_REGULAR_NOTE =
- #{noRetainRegularNote},
- </if>
- <if test="noRetainRegular != null and noRetainRegular != ''">NO_RETAIN_REGULAR = #{noRetainRegular},</if>
- <if test="canNotRetainWaterNote != null and canNotRetainWaterNote != ''">CAN_NOT_RETAIN_WATER_NOTE =
- #{canNotRetainWaterNote},
- </if>
- <if test="canNotRetainWater != null and canNotRetainWater != ''">CAN_NOT_RETAIN_WATER =
- #{canNotRetainWater},
- </if>
- <if test="dikeHasLeakNote != null and dikeHasLeakNote != ''">DIKE_HAS_LEAK_NOTE = #{dikeHasLeakNote},</if>
- <if test="dikeHasLeak != null and dikeHasLeak != ''">DIKE_HAS_LEAK = #{dikeHasLeak},</if>
- <if test="leakMakeSafeNote != null and leakMakeSafeNote != ''">LEAK_MAKE_SAFE_NOTE = #{leakMakeSafeNote},
- </if>
- <if test="leakMakeSafe != null and leakMakeSafe != ''">LEAK_MAKE_SAFE = #{leakMakeSafe},</if>
- <if test="hasAstable != null and hasAstable != ''">HAS_ASTABLE = #{hasAstable},</if>
- <if test="astableDesc != null and astableDesc != ''">ASTABLE_DESC = #{astableDesc},</if>
- <if test="setMainFlNote != null and setMainFlNote != ''">SET_MAIN_FL_NOTE = #{setMainFlNote},</if>
- <if test="hasSetMainFl != null and hasSetMainFl != ''">HAS_SET_MAIN_FL = #{hasSetMainFl},</if>
- <if test="mainFlNormalNote != null and mainFlNormalNote != ''">MAIN_FL_NORMAL_NOTE = #{mainFlNormalNote},
- </if>
- <if test="isMainFlNormal != null and isMainFlNormal != ''">IS_MAIN_FL_NORMAL = #{isMainFlNormal},</if>
- <if test="hasSetWaga != null and hasSetWaga != ''">HAS_SET_WAGA = #{hasSetWaga},</if>
- <if test="isWagaOpenNormal != null and isWagaOpenNormal != ''">IS_WAGA_OPEN_NORMAL = #{isWagaOpenNormal},
- </if>
- <if test="wagaDangDesc != null and wagaDangDesc != ''">WAGA_DANG_DESC = #{wagaDangDesc},</if>
- <if test="notSetWagaReason != null and notSetWagaReason != ''">NOT_SET_WAGA_REASON = #{notSetWagaReason},
- </if>
- <if test="setPorrFlNote != null and setPorrFlNote != ''">SET_PORR_FL_NOTE = #{setPorrFlNote},</if>
- <if test="hasSetPourFl != null and hasSetPourFl != ''">HAS_SET_POUR_FL = #{hasSetPourFl},</if>
- <if test="pourFyNormalNote != null and pourFyNormalNote != ''">POUR_FY_NORMAL_NOTE = #{pourFyNormalNote},
- </if>
- <if test="pourFyIsNormal != null and pourFyIsNormal != ''">POUR_FY_IS_NORMAL = #{pourFyIsNormal},</if>
- <if test="hasSetPourWaga != null and hasSetPourWaga != ''">HAS_SET_POUR_WAGA = #{hasSetPourWaga},</if>
- <if test="isPourWagaOpenNormal != null and isPourWagaOpenNormal != ''">IS_POUR_WAGA_OPEN_NORMAL =
- #{isPourWagaOpenNormal},
- </if>
- <if test="pourWagaDangDesc != null and pourWagaDangDesc != ''">POUR_WAGA_DANG_DESC = #{pourWagaDangDesc},
- </if>
- <if test="canNotSetFy != null and canNotSetFy != ''">CAN_NOT_SET_FY = #{canNotSetFy},</if>
- <if test="flLowLimLevNote != null and flLowLimLevNote != ''">FL_LOW_LIM_LEV_NOTE = #{flLowLimLevNote},</if>
- <if test="havFlLowLimLev != null and havFlLowLimLev != ''">HAV_FL_LOW_LIM_LEV = #{havFlLowLimLev},</if>
- <if test="gtFlLowLimLevNote != null and gtFlLowLimLevNote != ''">GT_FL_LOW_LIM_LEV_NOTE =
- #{gtFlLowLimLevNote},
- </if>
- <if test="gtFlLowLimLev != null and gtFlLowLimLev != ''">GT_FL_LOW_LIM_LEV = #{gtFlLowLimLev},</if>
- <if test="gtFlLowLimLevDesc != null and gtFlLowLimLevDesc != ''">GT_FL_LOW_LIM_LEV_DESC =
- #{gtFlLowLimLevDesc},
- </if>
- <if test="damSafeApprNote != null and damSafeApprNote != ''">DAM_SAFE_APPR_NOTE = #{damSafeApprNote},</if>
- <if test="extDamSafeAppr != null and extDamSafeAppr != ''">EXT_DAM_SAFE_APPR = #{extDamSafeAppr},</if>
- <if test="nearDamSafeApprTime != null">NEAR_DAM_SAFE_APPR_TIME = #{nearDamSafeApprTime},</if>
- <if test="neatDamSafeApprRes != null and neatDamSafeApprRes != ''">NEAT_DAM_SAFE_APPR_RES =
- #{neatDamSafeApprRes},
- </if>
- <if test="damSafeApprRequire != null and damSafeApprRequire != ''">DAM_SAFE_APPR_REQUIRE =
- #{damSafeApprRequire},
- </if>
- <if test="noDamSafeApprReson != null and noDamSafeApprReson != ''">NO_DAM_SAFE_APPR_RESON =
- #{noDamSafeApprReson},
- </if>
- <if test="reinForceNote != null and reinForceNote != ''">REIN_FORCE_NOTE = #{reinForceNote},</if>
- <if test="ifReinForce != null and ifReinForce != ''">IF_REIN_FORCE = #{ifReinForce},</if>
- <if test="reinForceTime != null and reinForceTime != ''">REIN_FORCE_TIME = #{reinForceTime},</if>
- <if test="ifComplateAcc != null and ifComplateAcc != ''">IF_COMPLATE_ACC = #{ifComplateAcc},</if>
- <if test="accDate != null">ACC_DATE = #{accDate},</if>
- <if test="ifComplateAccAll != null and ifComplateAccAll != ''">IF_COMPLATE_ACC_ALL = #{ifComplateAccAll},
- </if>
- <if test="complateAccAllDesc != null and complateAccAllDesc != ''">COMPLATE_ACC_ALL_DESC =
- #{complateAccAllDesc},
- </if>
- <if test="effectFloodSafe != null and effectFloodSafe != ''">EFFECT_FLOOD_SAFE = #{effectFloodSafe},</if>
- <if test="noReinForceReson != null and noReinForceReson != ''">NO_REIN_FORCE_RESON = #{noReinForceReson},
- </if>
- <if test="accHaveDangNow != null and accHaveDangNow != ''">ACC_HAVE_DANG_NOW = #{accHaveDangNow},</if>
- <if test="accHaveDangDesc != null and accHaveDangDesc != ''">ACC_HAVE_DANG_DESC = #{accHaveDangDesc},</if>
- <if test="ifWaterLessor != null and ifWaterLessor != ''">IF_WATER_LESSOR = #{ifWaterLessor},</if>
- <if test="waterLessorEffectFl != null and waterLessorEffectFl != ''">WATER_LESSOR_EFFECT_FL =
- #{waterLessorEffectFl},
- </if>
- <if test="waterLessorEffectFlReson != null and waterLessorEffectFlReson != ''">WATER_LESSOR_EFFECT_FL_RESON
- = #{waterLessorEffectFlReson},
- </if>
- <if test="manageRegRelNote != null and manageRegRelNote != ''">MANAGE_REG_REL_NOTE = #{manageRegRelNote},
- </if>
- <if test="ifManageRegRel != null and ifManageRegRel != ''">IF_MANAGE_REG_REL = #{ifManageRegRel},</if>
- <if test="manageRegNote != null and manageRegNote != ''">MANAGE_REG_NOTE = #{manageRegNote},</if>
- <if test="ifManageReg != null and ifManageReg != ''">IF_MANAGE_REG = #{ifManageReg},</if>
- <if test="damWarnLogoNote != null and damWarnLogoNote != ''">DAM_WARN_LOGO_NOTE = #{damWarnLogoNote},</if>
- <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">IF_DAM_WARN_LOGO = #{ifDamWarnLogo},</if>
- <if test="otherEffectReson != null and otherEffectReson != ''">OTHER_EFFECT_RESON = #{otherEffectReson},
- </if>
- <if test="recPersId != null and recPersId != ''">REC_PERS_ID = #{recPersId},</if>
- <if test="recPers2 != null and recPers2 != ''">REC_PERS2 = #{recPers2},</if>
- <if test="recPersTel != null and recPersTel != ''">REC_PERS_TEL = #{recPersTel},</if>
- <if test="createTime != null">CREATE_TIME = #{createTime},</if>
- <if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
- <if test="status != null and status != ''">STATUS = #{status},</if>
- <if test="poorCountry != null and poorCountry != ''">POOR_COUNTRY = #{poorCountry},</if>
- <if test="reverOrg != null and reverOrg != ''">REVER_ORG = #{reverOrg},</if>
- <if test="reverOrgName != null and reverOrgName != ''">REVER_ORG_NAME = #{reverOrgName},</if>
- </trim>
- <where>MNGRN_ID = #{mngrnId}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
- update BIS_INSP_SAFE_EXT_MANAGE
- <trim prefix="set" suffixOverrides=",">
- <if test="isHasMangPers != null and isHasMangPers != ''">IS_HAS_MANG_PERS =
- #{isHasMangPers},
- </if>
- <if test="isClean != null and isClean != ''">IS_CLEAN =
- #{isClean},
- </if>
- <if test="damGrad != null and damGrad != ''">DAM_GRAD = #{damGrad},</if>
- <if test="emerPlanSameExta != null and emerPlanSameExta != ''">EMER_PLAN_SAME_EXTA = #{emerPlanSameExta},
- </if>
- <if test="emerPlanSameExtaNote != null and emerPlanSameExtaNote != ''">EMER_PLAN_SAME_EXTA_NOTE =
- #{emerPlanSameExtaNote},
- </if>
- <if test="emerPlanSameAppr != null and emerPlanSameAppr != ''">EMER_PLAN_SAME_APPR = #{emerPlanSameAppr},
- </if>
- <if test="emerPlanSameApprNote != null and emerPlanSameApprNote != ''">EMER_PLAN_SAME_APPR_NOTE =
- #{emerPlanSameApprNote},
- </if>
- <if test="emerPlanSamePert != null and emerPlanSamePert != ''">EMER_PLAN_SAME_PERT = #{emerPlanSamePert},
- </if>
- <if test="emerPlanSamePertNote != null and emerPlanSamePertNote != ''">EMER_PLAN_SAME_PERT_NOTE =
- #{emerPlanSamePertNote},
- </if>
- <if test="emerPlanSameEme != null and emerPlanSameEme != ''">EMER_PLAN_SAME_EME = #{emerPlanSameEme},</if>
- <if test="emerPlanSameEmeNote != null and emerPlanSameEmeNote != ''">EMER_PLAN_SAME_EME_NOTE =
- #{emerPlanSameEmeNote},
- </if>
- <if test="emerPlanSameSpeed != null and emerPlanSameSpeed != ''">EMER_PLAN_SAME_SPEED =
- #{emerPlanSameSpeed},
- </if>
- <if test="ifFsltdz != null and ifFsltdz != ''">IF_FSLTDZ = #{ifFsltdz},</if>
- <if test="ifFsltdzRun != null and ifFsltdzRun != ''">IF_FSLTDZ_RUN = #{ifFsltdzRun},</if>
- <if test="ifFsltdzNo != null and ifFsltdzNo != ''">IF_FSLTDZ_NO = #{ifFsltdzNo},</if>
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
- <if test="safeCommontNote != null and safeCommontNote != ''">SAFE_COMMONT_NOTE = #{safeCommontNote},</if>
- <if test="safeComment != null and safeComment != ''">SAFE_COMMENT = #{safeComment},</if>
- <if test="retainRegular != null and retainRegular != ''">RETAIN_REGULAR = #{retainRegular},</if>
- <if test="hasRetainRegular != null and hasRetainRegular != ''">HAS_RETAIN_REGULAR = #{hasRetainRegular},
- </if>
- <if test="wdEmnic != null and wdEmnic != ''">WD_EMNIC = #{wdEmnic},</if>
- <if test="hasWdEmnic != null and hasWdEmnic != ''">HAS_WD_EMNIC = #{hasWdEmnic},</if>
- <if test="managePersNote != null and managePersNote != ''">MANAGE_PERS_NOTE = #{managePersNote},</if>
- <if test="hasManagePers != null and hasManagePers != ''">HAS_MANAGE_PERS = #{hasManagePers},</if>
- <if test="speManageNote != null and speManageNote != ''">SPE_MANAGE_NOTE = #{speManageNote},</if>
- <if test="hasSpeManage != null and hasSpeManage != ''">HAS_SPE_MANAGE = #{hasSpeManage},</if>
- <if test="noRetainRegularNote != null and noRetainRegularNote != ''">NO_RETAIN_REGULAR_NOTE =
- #{noRetainRegularNote},
- </if>
- <if test="noRetainRegular != null and noRetainRegular != ''">NO_RETAIN_REGULAR = #{noRetainRegular},</if>
- <if test="canNotRetainWaterNote != null and canNotRetainWaterNote != ''">CAN_NOT_RETAIN_WATER_NOTE =
- #{canNotRetainWaterNote},
- </if>
- <if test="canNotRetainWater != null and canNotRetainWater != ''">CAN_NOT_RETAIN_WATER =
- #{canNotRetainWater},
- </if>
- <if test="dikeHasLeakNote != null and dikeHasLeakNote != ''">DIKE_HAS_LEAK_NOTE = #{dikeHasLeakNote},</if>
- <if test="dikeHasLeak != null and dikeHasLeak != ''">DIKE_HAS_LEAK = #{dikeHasLeak},</if>
- <if test="leakMakeSafeNote != null and leakMakeSafeNote != ''">LEAK_MAKE_SAFE_NOTE = #{leakMakeSafeNote},
- </if>
- <if test="leakMakeSafe != null and leakMakeSafe != ''">LEAK_MAKE_SAFE = #{leakMakeSafe},</if>
- <if test="hasAstable != null and hasAstable != ''">HAS_ASTABLE = #{hasAstable},</if>
- <if test="astableDesc != null and astableDesc != ''">ASTABLE_DESC = #{astableDesc},</if>
- <if test="setMainFlNote != null and setMainFlNote != ''">SET_MAIN_FL_NOTE = #{setMainFlNote},</if>
- <if test="hasSetMainFl != null and hasSetMainFl != ''">HAS_SET_MAIN_FL = #{hasSetMainFl},</if>
- <if test="mainFlNormalNote != null and mainFlNormalNote != ''">MAIN_FL_NORMAL_NOTE = #{mainFlNormalNote},
- </if>
- <if test="isMainFlNormal != null and isMainFlNormal != ''">IS_MAIN_FL_NORMAL = #{isMainFlNormal},</if>
- <if test="hasSetWaga != null and hasSetWaga != ''">HAS_SET_WAGA = #{hasSetWaga},</if>
- <if test="isWagaOpenNormal != null and isWagaOpenNormal != ''">IS_WAGA_OPEN_NORMAL = #{isWagaOpenNormal},
- </if>
- <if test="wagaDangDesc != null and wagaDangDesc != ''">WAGA_DANG_DESC = #{wagaDangDesc},</if>
- <if test="notSetWagaReason != null and notSetWagaReason != ''">NOT_SET_WAGA_REASON = #{notSetWagaReason},
- </if>
- <if test="setPorrFlNote != null and setPorrFlNote != ''">SET_PORR_FL_NOTE = #{setPorrFlNote},</if>
- <if test="hasSetPourFl != null and hasSetPourFl != ''">HAS_SET_POUR_FL = #{hasSetPourFl},</if>
- <if test="pourFyNormalNote != null and pourFyNormalNote != ''">POUR_FY_NORMAL_NOTE = #{pourFyNormalNote},
- </if>
- <if test="pourFyIsNormal != null and pourFyIsNormal != ''">POUR_FY_IS_NORMAL = #{pourFyIsNormal},</if>
- <if test="hasSetPourWaga != null and hasSetPourWaga != ''">HAS_SET_POUR_WAGA = #{hasSetPourWaga},</if>
- <if test="isPourWagaOpenNormal != null and isPourWagaOpenNormal != ''">IS_POUR_WAGA_OPEN_NORMAL =
- #{isPourWagaOpenNormal},
- </if>
- <if test="pourWagaDangDesc != null and pourWagaDangDesc != ''">POUR_WAGA_DANG_DESC = #{pourWagaDangDesc},
- </if>
- <if test="canNotSetFy != null and canNotSetFy != ''">CAN_NOT_SET_FY = #{canNotSetFy},</if>
- <if test="flLowLimLevNote != null and flLowLimLevNote != ''">FL_LOW_LIM_LEV_NOTE = #{flLowLimLevNote},</if>
- <if test="havFlLowLimLev != null and havFlLowLimLev != ''">HAV_FL_LOW_LIM_LEV = #{havFlLowLimLev},</if>
- <if test="gtFlLowLimLevNote != null and gtFlLowLimLevNote != ''">GT_FL_LOW_LIM_LEV_NOTE =
- #{gtFlLowLimLevNote},
- </if>
- <if test="gtFlLowLimLev != null and gtFlLowLimLev != ''">GT_FL_LOW_LIM_LEV = #{gtFlLowLimLev},</if>
- <if test="gtFlLowLimLevDesc != null and gtFlLowLimLevDesc != ''">GT_FL_LOW_LIM_LEV_DESC =
- #{gtFlLowLimLevDesc},
- </if>
- <if test="damSafeApprNote != null and damSafeApprNote != ''">DAM_SAFE_APPR_NOTE = #{damSafeApprNote},</if>
- <if test="extDamSafeAppr != null and extDamSafeAppr != ''">EXT_DAM_SAFE_APPR = #{extDamSafeAppr},</if>
- <if test="nearDamSafeApprTime != null">NEAR_DAM_SAFE_APPR_TIME = #{nearDamSafeApprTime},</if>
- <if test="neatDamSafeApprRes != null and neatDamSafeApprRes != ''">NEAT_DAM_SAFE_APPR_RES =
- #{neatDamSafeApprRes},
- </if>
- <if test="damSafeApprRequire != null and damSafeApprRequire != ''">DAM_SAFE_APPR_REQUIRE =
- #{damSafeApprRequire},
- </if>
- <if test="noDamSafeApprReson != null and noDamSafeApprReson != ''">NO_DAM_SAFE_APPR_RESON =
- #{noDamSafeApprReson},
- </if>
- <if test="reinForceNote != null and reinForceNote != ''">REIN_FORCE_NOTE = #{reinForceNote},</if>
- <if test="ifReinForce != null and ifReinForce != ''">IF_REIN_FORCE = #{ifReinForce},</if>
- <if test="reinForceTime != null and reinForceTime != ''">REIN_FORCE_TIME = #{reinForceTime},</if>
- <if test="ifComplateAcc != null and ifComplateAcc != ''">IF_COMPLATE_ACC = #{ifComplateAcc},</if>
- <if test="accDate != null">ACC_DATE = #{accDate},</if>
- <if test="ifComplateAccAll != null and ifComplateAccAll != ''">IF_COMPLATE_ACC_ALL = #{ifComplateAccAll},
- </if>
- <if test="complateAccAllDesc != null and complateAccAllDesc != ''">COMPLATE_ACC_ALL_DESC =
- #{complateAccAllDesc},
- </if>
- <if test="effectFloodSafe != null and effectFloodSafe != ''">EFFECT_FLOOD_SAFE = #{effectFloodSafe},</if>
- <if test="noReinForceReson != null and noReinForceReson != ''">NO_REIN_FORCE_RESON = #{noReinForceReson},
- </if>
- <if test="accHaveDangNow != null and accHaveDangNow != ''">ACC_HAVE_DANG_NOW = #{accHaveDangNow},</if>
- <if test="accHaveDangDesc != null and accHaveDangDesc != ''">ACC_HAVE_DANG_DESC = #{accHaveDangDesc},</if>
- <if test="ifWaterLessor != null and ifWaterLessor != ''">IF_WATER_LESSOR = #{ifWaterLessor},</if>
- <if test="waterLessorEffectFl != null and waterLessorEffectFl != ''">WATER_LESSOR_EFFECT_FL =
- #{waterLessorEffectFl},
- </if>
- <if test="waterLessorEffectFlReson != null and waterLessorEffectFlReson != ''">WATER_LESSOR_EFFECT_FL_RESON
- = #{waterLessorEffectFlReson},
- </if>
- <if test="manageRegRelNote != null and manageRegRelNote != ''">MANAGE_REG_REL_NOTE = #{manageRegRelNote},
- </if>
- <if test="ifManageRegRel != null and ifManageRegRel != ''">IF_MANAGE_REG_REL = #{ifManageRegRel},</if>
- <if test="manageRegNote != null and manageRegNote != ''">MANAGE_REG_NOTE = #{manageRegNote},</if>
- <if test="ifManageReg != null and ifManageReg != ''">IF_MANAGE_REG = #{ifManageReg},</if>
- <if test="damWarnLogoNote != null and damWarnLogoNote != ''">DAM_WARN_LOGO_NOTE = #{damWarnLogoNote},</if>
- <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">IF_DAM_WARN_LOGO = #{ifDamWarnLogo},</if>
- <if test="otherEffectReson != null and otherEffectReson != ''">OTHER_EFFECT_RESON = #{otherEffectReson},
- </if>
- <if test="recPersId != null and recPersId != ''">REC_PERS_ID = #{recPersId},</if>
- <if test="recPers2 != null and recPers2 != ''">REC_PERS2 = #{recPers2},</if>
- <if test="recPersTel != null and recPersTel != ''">REC_PERS_TEL = #{recPersTel},</if>
- <if test="createTime != null">CREATE_TIME = #{createTime},</if>
- <if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
- <if test="status != null and status != ''">STATUS = #{status},</if>
- <if test="poorCountry != null and poorCountry != ''">POOR_COUNTRY = #{poorCountry},</if>
- <if test="reverOrg != null and reverOrg != ''">REVER_ORG = #{reverOrg},</if>
- <if test="reverOrgName != null and reverOrgName != ''">REVER_ORG_NAME = #{reverOrgName},</if>
- </trim>
- <include refid="page_where"/>
- </update>
- <!-- 其他自定义SQL -->
- <!--运行管理情况-->
- <update id="updateResRun" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
- update BIS_INSP_SAFE_EXT_MANAGE
- <trim prefix="set" suffixOverrides=",">
- <!--管理机构及经费情况 是否有管理机构-->
- <if test="hasSpeManage != null and hasSpeManage != ''">HAS_SPE_MANAGE = #{hasSpeManage},</if>
- <!--管理机构及经费情况 是否有管护人员-->
- <if test="isHasMangPers != null and isHasMangPers != ''">IS_HAS_MANG_PERS =#{isHasMangPers},</if>
- <!--管理机构及经费情况 是否有稳定经费来源-->
- <if test="hasWdEmnic != null and hasWdEmnic != ''">HAS_WD_EMNIC = #{hasWdEmnic},</if>
- <!--注册登记情况 是否注册登记-->
- <if test="ifManageRegRel != null and ifManageRegRel != ''">IF_MANAGE_REG_REL = #{ifManageRegRel},</if>
- <!--注册登记情况 注册登记信息准确情况-->
- <if test="ifManageReg != null and ifManageReg != ''">IF_MANAGE_REG = #{ifManageReg},</if>
- <!--公示情况 是否设置水库公示牌-->
- <if test="ifDamWarnLogo != null and ifDamWarnLogo != ''">IF_DAM_WARN_LOGO = #{ifDamWarnLogo},</if>
- <!--坝周情况 坝体周边是否整洁 -->
- <if test="isClean != null and isClean != ''">IS_CLEAN =#{isClean},</if>
- <!--执行汛限水位情况 是否鉴定为三类坝的水库 -->
- <if test="ifFsltdz != null and ifFsltdz != ''">IF_FSLTDZ = #{ifFsltdz},</if>
- <!--执行汛限水位情况 不是三类坝 限制/超汛运行 -->
- <if test="ifFsltdzNo != null and ifFsltdzNo != ''">IF_FSLTDZ_NO = #{ifFsltdzNo},</if>
- <!--执行汛限水位情况 是否采取限制运用措施 -->
- <if test="ifFsltdzRun != null and ifFsltdzRun != ''">IF_FSLTDZ_RUN = #{ifFsltdzRun},</if>
- </trim>
- where MNGRN_ID=#{mngrnId}
- </update>
- <!--安全运行总体评价-->
- <update id="updateDam" parameterType="cn.com.goldenwater.dcproj.model.BisInspSafeExtManage">
- update BIS_INSP_SAFE_EXT_MANAGE
- <trim prefix="set" suffixOverrides=",">
- <!--安全运行总体评价 -->
- <if test="safeComment != null and safeComment != ''">SAFE_COMMENT = #{safeComment},</if>
- </trim>
- where MNGRN_ID=#{mngrnId}
- </update>
- </mapper>
|