| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044 |
- <?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.BisInspWrm2021WellwDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw" id="bisInspWrm2021WellwResultMap">
- <result property="id" column="ID"/>
- <result property="rgstrId" column="RGSTR_ID"/>
- <result property="bchkDep" column="BCHK_DEP"/>
- <result property="bchkDepCon" column="BCHK_DEP_CON"/>
- <result property="chkDep" column="CHK_DEP"/>
- <result property="chkDepPers" column="CHK_DEP_PERS"/>
- <result property="chkTm" column="CHK_TM"/>
- <result property="yearAckPlan" column="YEAR_ACK_PLAN"/>
- <result property="yearAckFnsh" column="YEAR_ACK_FNSH"/>
- <result property="yearAckPblm" column="YEAR_ACK_PBLM"/>
- <result property="yearAckChk" column="YEAR_ACK_CHK"/>
- <result property="snwtPlan" column="SNWT_PLAN"/>
- <result property="snwtFnsh" column="SNWT_FNSH"/>
- <result property="snwtPblm" column="SNWT_PBLM"/>
- <result property="snwtChk" column="SNWT_CHK"/>
- <result property="zNote" column="Z_NOTE"/>
- <result property="zPblm" column="Z_PBLM"/>
- <result property="zChk" column="Z_CHK"/>
- <result property="rvwtNote" column="RVWT_NOTE"/>
- <result property="rvwtPblm" column="RVWT_PBLM"/>
- <result property="rvwtChk" column="RVWT_CHK"/>
- <result property="awtsvPblan" column="AWTSV_PBLAN"/>
- <result property="awtsvFnsh" column="AWTSV_FNSH"/>
- <result property="awtsvPblm" column="AWTSV_PBLM"/>
- <result property="awtsvChk" column="AWTSV_CHK"/>
- <result property="twtsvPlan" column="TWTSV_PLAN"/>
- <result property="twtsvFnsh" column="TWTSV_FNSH"/>
- <result property="twtsvPblm" column="TWTSV_PBLM"/>
- <result property="twtsvChk" column="TWTSV_CHK"/>
- <result property="iwtsvPlan" column="IWTSV_PLAN"/>
- <result property="iwtsvFnsh" column="IWTSV_FNSH"/>
- <result property="iwtsvPblm" column="IWTSV_PBLM"/>
- <result property="iwtsvChk" column="IWTSV_CHK"/>
- <result property="appSnwtPlan" column="APP_SNWT_PLAN"/>
- <result property="appSnwtFnsh" column="APP_SNWT_FNSH"/>
- <result property="appSnwtPblm" column="APP_SNWT_PBLM"/>
- <result property="appSnwtChk" column="APP_SNWT_CHK"/>
- <result property="rplcPlan" column="RPLC_PLAN"/>
- <result property="rplcPblm" column="RPLC_PBLM"/>
- <result property="rplcChk" column="RPLC_CHK"/>
- <result property="suwtPlan" column="SUWT_PLAN"/>
- <result property="suwtFnsh" column="SUWT_FNSH"/>
- <result property="suwtPblm" column="SUWT_PBLM"/>
- <result property="suwtChk" column="SUWT_CHK"/>
- <result property="nborNote" column="NBOR_NOTE"/>
- <result property="nborPblm" column="NBOR_PBLM"/>
- <result property="nborChk" column="NBOR_CHK"/>
- <result property="wellPlan" column="WELL_PLAN"/>
- <result property="wellFnsh" column="WELL_FNSH"/>
- <result property="wellPblm" column="WELL_PBLM"/>
- <result property="wellChk" column="WELL_CHK"/>
- <result property="nwellNote" column="NWELL_NOTE"/>
- <result property="nwellPblm" column="NWELL_PBLM"/>
- <result property="nwellChk" column="NWELL_CHK"/>
- <result property="uwtNote" column="UWT_NOTE"/>
- <result property="uwtPblm" column="UWT_PBLM"/>
- <result property="uwtChk" column="UWT_CHK"/>
- <result property="isWtprRfm" column="IS_WTPR_RFM"/>
- <result property="wtprRfmPblm" column="WTPR_RFM_PBLM"/>
- <result property="wtprRfmChk" column="WTPR_RFM_CHK"/>
- <result property="isBuldPlan" column="IS_BULD_PLAN"/>
- <result property="buldPlanPblm" column="BULD_PLAN_PBLM"/>
- <result property="buldPlanChk" column="BULD_PLAN_CHK"/>
- <result property="isDutyWrk" column="IS_DUTY_WRK"/>
- <result property="dutyWrkPblm" column="DUTY_WRK_PBLM"/>
- <result property="dutyWrkChk" column="DUTY_WRK_CHK"/>
- <result property="isPbuSys" column="IS_PBU_SYS"/>
- <result property="pbuSysPblm" column="PBU_SYS_PBLM"/>
- <result property="pbuSysChk" column="PBU_SYS_CHK"/>
- <result property="isWrkChk" column="IS_WRK_CHK"/>
- <result property="wrkChkPblm" column="WRK_CHK_PBLM"/>
- <result property="wrkChkChk" column="WRK_CHK_CHK"/>
- <result property="isMendPyear" column="IS_MEND_PYEAR"/>
- <result property="mendPyearPblm" column="MEND_PYEAR_PBLM"/>
- <result property="mendPyearChk" column="MEND_PYEAR_CHK"/>
- <result property="persId" column="PERS_ID"/>
- <result property="intm" column="INTM"/>
- <result property="uptm" column="UPTM"/>
- <result property="status" column="STATUS"/>
- <result property="dataStat" column="DATA_STAT"/>
- </resultMap>
- <sql id="table_columns">
- ID,
- RGSTR_ID,
- BCHK_DEP,
- BCHK_DEP_CON,
- CHK_DEP,
- CHK_DEP_PERS,
- CHK_TM,
- YEAR_ACK_PLAN,
- YEAR_ACK_FNSH,
- YEAR_ACK_PBLM,
- YEAR_ACK_CHK,
- SNWT_PLAN,
- SNWT_FNSH,
- SNWT_PBLM,
- SNWT_CHK,
- Z_NOTE,
- Z_PBLM,
- Z_CHK,
- RVWT_NOTE,
- RVWT_PBLM,
- RVWT_CHK,
- AWTSV_PBLAN,
- AWTSV_FNSH,
- AWTSV_PBLM,
- AWTSV_CHK,
- TWTSV_PLAN,
- TWTSV_FNSH,
- TWTSV_PBLM,
- TWTSV_CHK,
- IWTSV_PLAN,
- IWTSV_FNSH,
- IWTSV_PBLM,
- IWTSV_CHK,
- APP_SNWT_PLAN,
- APP_SNWT_FNSH,
- APP_SNWT_PBLM,
- APP_SNWT_CHK,
- RPLC_PLAN,
- RPLC_PBLM,
- RPLC_CHK,
- SUWT_PLAN,
- SUWT_FNSH,
- SUWT_PBLM,
- SUWT_CHK,
- NBOR_NOTE,
- NBOR_PBLM,
- NBOR_CHK,
- WELL_PLAN,
- WELL_FNSH,
- WELL_PBLM,
- WELL_CHK,
- NWELL_NOTE,
- NWELL_PBLM,
- NWELL_CHK,
- UWT_NOTE,
- UWT_PBLM,
- UWT_CHK,
- IS_WTPR_RFM,
- WTPR_RFM_PBLM,
- WTPR_RFM_CHK,
- IS_BULD_PLAN,
- BULD_PLAN_PBLM,
- BULD_PLAN_CHK,
- IS_DUTY_WRK,
- DUTY_WRK_PBLM,
- DUTY_WRK_CHK,
- IS_PBU_SYS,
- PBU_SYS_PBLM,
- PBU_SYS_CHK,
- IS_WRK_CHK,
- WRK_CHK_PBLM,
- WRK_CHK_CHK,
- IS_MEND_PYEAR,
- MEND_PYEAR_PBLM,
- MEND_PYEAR_CHK,
- PERS_ID,
- INTM,
- UPTM,
- STATUS,
- DATA_STAT
- </sql>
- <sql id="entity_properties">
- #{id},
- #{rgstrId},
- #{bchkDep},
- #{bchkDepCon},
- #{chkDep},
- #{chkDepPers},
- #{chkTm},
- #{yearAckPlan},
- #{yearAckFnsh},
- #{yearAckPblm},
- #{yearAckChk},
- #{snwtPlan},
- #{snwtFnsh},
- #{snwtPblm},
- #{snwtChk},
- #{zNote},
- #{zPblm},
- #{zChk},
- #{rvwtNote},
- #{rvwtPblm},
- #{rvwtChk},
- #{awtsvPblan},
- #{awtsvFnsh},
- #{awtsvPblm},
- #{awtsvChk},
- #{twtsvPlan},
- #{twtsvFnsh},
- #{twtsvPblm},
- #{twtsvChk},
- #{iwtsvPlan},
- #{iwtsvFnsh},
- #{iwtsvPblm},
- #{iwtsvChk},
- #{appSnwtPlan},
- #{appSnwtFnsh},
- #{appSnwtPblm},
- #{appSnwtChk},
- #{rplcPlan},
- #{rplcPblm},
- #{rplcChk},
- #{suwtPlan},
- #{suwtFnsh},
- #{suwtPblm},
- #{suwtChk},
- #{nborNote},
- #{nborPblm},
- #{nborChk},
- #{wellPlan},
- #{wellFnsh},
- #{wellPblm},
- #{wellChk},
- #{nwellNote},
- #{nwellPblm},
- #{nwellChk},
- #{uwtNote},
- #{uwtPblm},
- #{uwtChk},
- #{isWtprRfm},
- #{wtprRfmPblm},
- #{wtprRfmChk},
- #{isBuldPlan},
- #{buldPlanPblm},
- #{buldPlanChk},
- #{isDutyWrk},
- #{dutyWrkPblm},
- #{dutyWrkChk},
- #{isPbuSys},
- #{pbuSysPblm},
- #{pbuSysChk},
- #{isWrkChk},
- #{wrkChkPblm},
- #{wrkChkChk},
- #{isMendPyear},
- #{mendPyearPblm},
- #{mendPyearChk},
- #{persId},
- #{intm},
- #{uptm},
- #{status},
- #{dataStat}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="rgstrId != null and rgstrId != ''">
- and RGSTR_ID = #{rgstrId}
- </if>
- <if test="bchkDep != null and bchkDep != ''">
- and BCHK_DEP = #{bchkDep}
- </if>
- <if test="bchkDepCon != null and bchkDepCon != ''">
- and BCHK_DEP_CON = #{bchkDepCon}
- </if>
- <if test="chkDep != null and chkDep != ''">
- and CHK_DEP = #{chkDep}
- </if>
- <if test="chkDepPers != null and chkDepPers != ''">
- and CHK_DEP_PERS = #{chkDepPers}
- </if>
- <if test="chkTm != null">
- and CHK_TM = #{chkTm}
- </if>
- <if test="yearAckPlan != null and yearAckPlan != ''">
- and YEAR_ACK_PLAN = #{yearAckPlan}
- </if>
- <if test="yearAckFnsh != null and yearAckFnsh != ''">
- and YEAR_ACK_FNSH = #{yearAckFnsh}
- </if>
- <if test="yearAckPblm != null and yearAckPblm != ''">
- and YEAR_ACK_PBLM = #{yearAckPblm}
- </if>
- <if test="yearAckChk != null and yearAckChk != ''">
- and YEAR_ACK_CHK = #{yearAckChk}
- </if>
- <if test="snwtPlan != null and snwtPlan != ''">
- and SNWT_PLAN = #{snwtPlan}
- </if>
- <if test="snwtFnsh != null and snwtFnsh != ''">
- and SNWT_FNSH = #{snwtFnsh}
- </if>
- <if test="snwtPblm != null and snwtPblm != ''">
- and SNWT_PBLM = #{snwtPblm}
- </if>
- <if test="snwtChk != null and snwtChk != ''">
- and SNWT_CHK = #{snwtChk}
- </if>
- <if test="zNote != null and zNote != ''">
- and Z_NOTE = #{zNote}
- </if>
- <if test="zPblm != null and zPblm != ''">
- and Z_PBLM = #{zPblm}
- </if>
- <if test="zChk != null and zChk != ''">
- and Z_CHK = #{zChk}
- </if>
- <if test="rvwtNote != null and rvwtNote != ''">
- and RVWT_NOTE = #{rvwtNote}
- </if>
- <if test="rvwtPblm != null and rvwtPblm != ''">
- and RVWT_PBLM = #{rvwtPblm}
- </if>
- <if test="rvwtChk != null and rvwtChk != ''">
- and RVWT_CHK = #{rvwtChk}
- </if>
- <if test="awtsvPblan != null and awtsvPblan != ''">
- and AWTSV_PBLAN = #{awtsvPblan}
- </if>
- <if test="awtsvFnsh != null and awtsvFnsh != ''">
- and AWTSV_FNSH = #{awtsvFnsh}
- </if>
- <if test="awtsvPblm != null and awtsvPblm != ''">
- and AWTSV_PBLM = #{awtsvPblm}
- </if>
- <if test="awtsvChk != null and awtsvChk != ''">
- and AWTSV_CHK = #{awtsvChk}
- </if>
- <if test="twtsvPlan != null and twtsvPlan != ''">
- and TWTSV_PLAN = #{twtsvPlan}
- </if>
- <if test="twtsvFnsh != null and twtsvFnsh != ''">
- and TWTSV_FNSH = #{twtsvFnsh}
- </if>
- <if test="twtsvPblm != null and twtsvPblm != ''">
- and TWTSV_PBLM = #{twtsvPblm}
- </if>
- <if test="twtsvChk != null and twtsvChk != ''">
- and TWTSV_CHK = #{twtsvChk}
- </if>
- <if test="iwtsvPlan != null and iwtsvPlan != ''">
- and IWTSV_PLAN = #{iwtsvPlan}
- </if>
- <if test="iwtsvFnsh != null and iwtsvFnsh != ''">
- and IWTSV_FNSH = #{iwtsvFnsh}
- </if>
- <if test="iwtsvPblm != null and iwtsvPblm != ''">
- and IWTSV_PBLM = #{iwtsvPblm}
- </if>
- <if test="iwtsvChk != null and iwtsvChk != ''">
- and IWTSV_CHK = #{iwtsvChk}
- </if>
- <if test="appSnwtPlan != null and appSnwtPlan != ''">
- and APP_SNWT_PLAN = #{appSnwtPlan}
- </if>
- <if test="appSnwtFnsh != null and appSnwtFnsh != ''">
- and APP_SNWT_FNSH = #{appSnwtFnsh}
- </if>
- <if test="appSnwtPblm != null and appSnwtPblm != ''">
- and APP_SNWT_PBLM = #{appSnwtPblm}
- </if>
- <if test="appSnwtChk != null and appSnwtChk != ''">
- and APP_SNWT_CHK = #{appSnwtChk}
- </if>
- <if test="rplcPlan != null and rplcPlan != ''">
- and RPLC_PLAN = #{rplcPlan}
- </if>
- <if test="rplcPblm != null and rplcPblm != ''">
- and RPLC_PBLM = #{rplcPblm}
- </if>
- <if test="rplcChk != null and rplcChk != ''">
- and RPLC_CHK = #{rplcChk}
- </if>
- <if test="suwtPlan != null and suwtPlan != ''">
- and SUWT_PLAN = #{suwtPlan}
- </if>
- <if test="suwtFnsh != null and suwtFnsh != ''">
- and SUWT_FNSH = #{suwtFnsh}
- </if>
- <if test="suwtPblm != null and suwtPblm != ''">
- and SUWT_PBLM = #{suwtPblm}
- </if>
- <if test="suwtChk != null and suwtChk != ''">
- and SUWT_CHK = #{suwtChk}
- </if>
- <if test="nborNote != null and nborNote != ''">
- and NBOR_NOTE = #{nborNote}
- </if>
- <if test="nborPblm != null and nborPblm != ''">
- and NBOR_PBLM = #{nborPblm}
- </if>
- <if test="nborChk != null and nborChk != ''">
- and NBOR_CHK = #{nborChk}
- </if>
- <if test="wellPlan != null and wellPlan != ''">
- and WELL_PLAN = #{wellPlan}
- </if>
- <if test="wellFnsh != null and wellFnsh != ''">
- and WELL_FNSH = #{wellFnsh}
- </if>
- <if test="wellPblm != null and wellPblm != ''">
- and WELL_PBLM = #{wellPblm}
- </if>
- <if test="wellChk != null and wellChk != ''">
- and WELL_CHK = #{wellChk}
- </if>
- <if test="nwellNote != null and nwellNote != ''">
- and NWELL_NOTE = #{nwellNote}
- </if>
- <if test="nwellPblm != null and nwellPblm != ''">
- and NWELL_PBLM = #{nwellPblm}
- </if>
- <if test="nwellChk != null and nwellChk != ''">
- and NWELL_CHK = #{nwellChk}
- </if>
- <if test="uwtNote != null and uwtNote != ''">
- and UWT_NOTE = #{uwtNote}
- </if>
- <if test="uwtPblm != null and uwtPblm != ''">
- and UWT_PBLM = #{uwtPblm}
- </if>
- <if test="uwtChk != null and uwtChk != ''">
- and UWT_CHK = #{uwtChk}
- </if>
- <if test="isWtprRfm != null and isWtprRfm != ''">
- and IS_WTPR_RFM = #{isWtprRfm}
- </if>
- <if test="wtprRfmPblm != null and wtprRfmPblm != ''">
- and WTPR_RFM_PBLM = #{wtprRfmPblm}
- </if>
- <if test="wtprRfmChk != null and wtprRfmChk != ''">
- and WTPR_RFM_CHK = #{wtprRfmChk}
- </if>
- <if test="isBuldPlan != null and isBuldPlan != ''">
- and IS_BULD_PLAN = #{isBuldPlan}
- </if>
- <if test="buldPlanPblm != null and buldPlanPblm != ''">
- and BULD_PLAN_PBLM = #{buldPlanPblm}
- </if>
- <if test="buldPlanChk != null and buldPlanChk != ''">
- and BULD_PLAN_CHK = #{buldPlanChk}
- </if>
- <if test="isDutyWrk != null and isDutyWrk != ''">
- and IS_DUTY_WRK = #{isDutyWrk}
- </if>
- <if test="dutyWrkPblm != null and dutyWrkPblm != ''">
- and DUTY_WRK_PBLM = #{dutyWrkPblm}
- </if>
- <if test="dutyWrkChk != null and dutyWrkChk != ''">
- and DUTY_WRK_CHK = #{dutyWrkChk}
- </if>
- <if test="isPbuSys != null and isPbuSys != ''">
- and IS_PBU_SYS = #{isPbuSys}
- </if>
- <if test="pbuSysPblm != null and pbuSysPblm != ''">
- and PBU_SYS_PBLM = #{pbuSysPblm}
- </if>
- <if test="pbuSysChk != null and pbuSysChk != ''">
- and PBU_SYS_CHK = #{pbuSysChk}
- </if>
- <if test="isWrkChk != null and isWrkChk != ''">
- and IS_WRK_CHK = #{isWrkChk}
- </if>
- <if test="wrkChkPblm != null and wrkChkPblm != ''">
- and WRK_CHK_PBLM = #{wrkChkPblm}
- </if>
- <if test="wrkChkChk != null and wrkChkChk != ''">
- and WRK_CHK_CHK = #{wrkChkChk}
- </if>
- <if test="isMendPyear != null and isMendPyear != ''">
- and IS_MEND_PYEAR = #{isMendPyear}
- </if>
- <if test="mendPyearPblm != null and mendPyearPblm != ''">
- and MEND_PYEAR_PBLM = #{mendPyearPblm}
- </if>
- <if test="mendPyearChk != null and mendPyearChk != ''">
- and MEND_PYEAR_CHK = #{mendPyearChk}
- </if>
- <if test="persId != null and persId != ''">
- and PERS_ID = #{persId}
- </if>
- <if test="intm != null">
- and INTM = #{intm}
- </if>
- <if test="uptm != null">
- and UPTM = #{uptm}
- </if>
- <if test="status != null and status != ''">
- and STATUS = #{status}
- </if>
- <if test="dataStat != null and dataStat != ''">
- and DATA_STAT = #{dataStat}
- </if>
- and DATA_STAT='0'
- </trim>
- </sql>
- <select id="get" resultMap="bisInspWrm2021WellwResultMap" parameterType="String">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WRM2021_WELLW where RGSTR_ID = #{id}
- </select>
- <select id="getBy" resultMap="bisInspWrm2021WellwResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WRM2021_WELLW
- <include refid="page_where"/>
- </select>
- <select id="findAll" resultMap="bisInspWrm2021WellwResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WRM2021_WELLW
- </select>
- <select id="findList" resultMap="bisInspWrm2021WellwResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WRM2021_WELLW
- <include refid="page_where"/>
- </select>
- <select id="selectCount" resultType="int">
- select count(ID) from BIS_INSP_WRM2021_WELLW
- <include refid="page_where"/>
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
- insert into BIS_INSP_WRM2021_WELLW(
- <include refid="table_columns"/>
- )
- values (
- <include refid="entity_properties"/>
- )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- update BIS_INSP_WRM2021_WELLW set DATA_STAT='9' where ID = #{id}
- </delete>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
- update BIS_INSP_WRM2021_WELLW set DATA_STAT='9'
- <include refid="page_where"/>
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update BIS_INSP_WRM2021_WELLW set DATA_STAT = '9' where ID = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
- update BIS_INSP_WRM2021_WELLW
- <trim prefix="set" suffixOverrides=",">
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID
- = #{rgstrId},
- </if>
- <if test="bchkDep != null and bchkDep != ''">BCHK_DEP
- = #{bchkDep},
- </if>
- <if test="bchkDepCon != null and bchkDepCon != ''">BCHK_DEP_CON
- = #{bchkDepCon},
- </if>
- <if test="chkDep != null and chkDep != ''">CHK_DEP
- = #{chkDep},
- </if>
- <if test="chkDepPers != null and chkDepPers != ''">CHK_DEP_PERS
- = #{chkDepPers},
- </if>
- <if test="chkTm != null">CHK_TM
- = #{chkTm},
- </if>
- <if test="yearAckPlan != null and yearAckPlan != ''">YEAR_ACK_PLAN
- = #{yearAckPlan},
- </if>
- <if test="yearAckFnsh != null and yearAckFnsh != ''">YEAR_ACK_FNSH
- = #{yearAckFnsh},
- </if>
- <if test="yearAckPblm != null and yearAckPblm != ''">YEAR_ACK_PBLM
- = #{yearAckPblm},
- </if>
- <if test="yearAckChk != null and yearAckChk != ''">YEAR_ACK_CHK
- = #{yearAckChk},
- </if>
- <if test="snwtPlan != null and snwtPlan != ''">SNWT_PLAN
- = #{snwtPlan},
- </if>
- <if test="snwtFnsh != null and snwtFnsh != ''">SNWT_FNSH
- = #{snwtFnsh},
- </if>
- <if test="snwtPblm != null and snwtPblm != ''">SNWT_PBLM
- = #{snwtPblm},
- </if>
- <if test="snwtChk != null and snwtChk != ''">SNWT_CHK
- = #{snwtChk},
- </if>
- <if test="zNote != null and zNote != ''">Z_NOTE
- = #{zNote},
- </if>
- <if test="zPblm != null and zPblm != ''">Z_PBLM
- = #{zPblm},
- </if>
- <if test="zChk != null and zChk != ''">Z_CHK
- = #{zChk},
- </if>
- <if test="rvwtNote != null and rvwtNote != ''">RVWT_NOTE
- = #{rvwtNote},
- </if>
- <if test="rvwtPblm != null and rvwtPblm != ''">RVWT_PBLM
- = #{rvwtPblm},
- </if>
- <if test="rvwtChk != null and rvwtChk != ''">RVWT_CHK
- = #{rvwtChk},
- </if>
- <if test="awtsvPblan != null and awtsvPblan != ''">AWTSV_PBLAN
- = #{awtsvPblan},
- </if>
- <if test="awtsvFnsh != null and awtsvFnsh != ''">AWTSV_FNSH
- = #{awtsvFnsh},
- </if>
- <if test="awtsvPblm != null and awtsvPblm != ''">AWTSV_PBLM
- = #{awtsvPblm},
- </if>
- <if test="awtsvChk != null and awtsvChk != ''">AWTSV_CHK
- = #{awtsvChk},
- </if>
- <if test="twtsvPlan != null and twtsvPlan != ''">TWTSV_PLAN
- = #{twtsvPlan},
- </if>
- <if test="twtsvFnsh != null and twtsvFnsh != ''">TWTSV_FNSH
- = #{twtsvFnsh},
- </if>
- <if test="twtsvPblm != null and twtsvPblm != ''">TWTSV_PBLM
- = #{twtsvPblm},
- </if>
- <if test="twtsvChk != null and twtsvChk != ''">TWTSV_CHK
- = #{twtsvChk},
- </if>
- <if test="iwtsvPlan != null and iwtsvPlan != ''">IWTSV_PLAN
- = #{iwtsvPlan},
- </if>
- <if test="iwtsvFnsh != null and iwtsvFnsh != ''">IWTSV_FNSH
- = #{iwtsvFnsh},
- </if>
- <if test="iwtsvPblm != null and iwtsvPblm != ''">IWTSV_PBLM
- = #{iwtsvPblm},
- </if>
- <if test="iwtsvChk != null and iwtsvChk != ''">IWTSV_CHK
- = #{iwtsvChk},
- </if>
- <if test="appSnwtPlan != null and appSnwtPlan != ''">APP_SNWT_PLAN
- = #{appSnwtPlan},
- </if>
- <if test="appSnwtFnsh != null and appSnwtFnsh != ''">APP_SNWT_FNSH
- = #{appSnwtFnsh},
- </if>
- <if test="appSnwtPblm != null and appSnwtPblm != ''">APP_SNWT_PBLM
- = #{appSnwtPblm},
- </if>
- <if test="appSnwtChk != null and appSnwtChk != ''">APP_SNWT_CHK
- = #{appSnwtChk},
- </if>
- <if test="rplcPlan != null and rplcPlan != ''">RPLC_PLAN
- = #{rplcPlan},
- </if>
- <if test="rplcPblm != null and rplcPblm != ''">RPLC_PBLM
- = #{rplcPblm},
- </if>
- <if test="rplcChk != null and rplcChk != ''">RPLC_CHK
- = #{rplcChk},
- </if>
- <if test="suwtPlan != null and suwtPlan != ''">SUWT_PLAN
- = #{suwtPlan},
- </if>
- <if test="suwtFnsh != null and suwtFnsh != ''">SUWT_FNSH
- = #{suwtFnsh},
- </if>
- <if test="suwtPblm != null and suwtPblm != ''">SUWT_PBLM
- = #{suwtPblm},
- </if>
- <if test="suwtChk != null and suwtChk != ''">SUWT_CHK
- = #{suwtChk},
- </if>
- <if test="nborNote != null and nborNote != ''">NBOR_NOTE
- = #{nborNote},
- </if>
- <if test="nborPblm != null and nborPblm != ''">NBOR_PBLM
- = #{nborPblm},
- </if>
- <if test="nborChk != null and nborChk != ''">NBOR_CHK
- = #{nborChk},
- </if>
- <if test="wellPlan != null and wellPlan != ''">WELL_PLAN
- = #{wellPlan},
- </if>
- <if test="wellFnsh != null and wellFnsh != ''">WELL_FNSH
- = #{wellFnsh},
- </if>
- <if test="wellPblm != null and wellPblm != ''">WELL_PBLM
- = #{wellPblm},
- </if>
- <if test="wellChk != null and wellChk != ''">WELL_CHK
- = #{wellChk},
- </if>
- <if test="nwellNote != null and nwellNote != ''">NWELL_NOTE
- = #{nwellNote},
- </if>
- <if test="nwellPblm != null and nwellPblm != ''">NWELL_PBLM
- = #{nwellPblm},
- </if>
- <if test="nwellChk != null and nwellChk != ''">NWELL_CHK
- = #{nwellChk},
- </if>
- <if test="uwtNote != null and uwtNote != ''">UWT_NOTE
- = #{uwtNote},
- </if>
- <if test="uwtPblm != null and uwtPblm != ''">UWT_PBLM
- = #{uwtPblm},
- </if>
- <if test="uwtChk != null and uwtChk != ''">UWT_CHK
- = #{uwtChk},
- </if>
- <if test="isWtprRfm != null and isWtprRfm != ''">IS_WTPR_RFM
- = #{isWtprRfm},
- </if>
- <if test="wtprRfmPblm != null and wtprRfmPblm != ''">WTPR_RFM_PBLM
- = #{wtprRfmPblm},
- </if>
- <if test="wtprRfmChk != null and wtprRfmChk != ''">WTPR_RFM_CHK
- = #{wtprRfmChk},
- </if>
- <if test="isBuldPlan != null and isBuldPlan != ''">IS_BULD_PLAN
- = #{isBuldPlan},
- </if>
- <if test="buldPlanPblm != null and buldPlanPblm != ''">BULD_PLAN_PBLM
- = #{buldPlanPblm},
- </if>
- <if test="buldPlanChk != null and buldPlanChk != ''">BULD_PLAN_CHK
- = #{buldPlanChk},
- </if>
- <if test="isDutyWrk != null and isDutyWrk != ''">IS_DUTY_WRK
- = #{isDutyWrk},
- </if>
- <if test="dutyWrkPblm != null and dutyWrkPblm != ''">DUTY_WRK_PBLM
- = #{dutyWrkPblm},
- </if>
- <if test="dutyWrkChk != null and dutyWrkChk != ''">DUTY_WRK_CHK
- = #{dutyWrkChk},
- </if>
- <if test="isPbuSys != null and isPbuSys != ''">IS_PBU_SYS
- = #{isPbuSys},
- </if>
- <if test="pbuSysPblm != null and pbuSysPblm != ''">PBU_SYS_PBLM
- = #{pbuSysPblm},
- </if>
- <if test="pbuSysChk != null and pbuSysChk != ''">PBU_SYS_CHK
- = #{pbuSysChk},
- </if>
- <if test="isWrkChk != null and isWrkChk != ''">IS_WRK_CHK
- = #{isWrkChk},
- </if>
- <if test="wrkChkPblm != null and wrkChkPblm != ''">WRK_CHK_PBLM
- = #{wrkChkPblm},
- </if>
- <if test="wrkChkChk != null and wrkChkChk != ''">WRK_CHK_CHK
- = #{wrkChkChk},
- </if>
- <if test="isMendPyear != null and isMendPyear != ''">IS_MEND_PYEAR
- = #{isMendPyear},
- </if>
- <if test="mendPyearPblm != null and mendPyearPblm != ''">MEND_PYEAR_PBLM
- = #{mendPyearPblm},
- </if>
- <if test="mendPyearChk != null and mendPyearChk != ''">MEND_PYEAR_CHK
- = #{mendPyearChk},
- </if>
- <if test="persId != null and persId != ''">PERS_ID
- = #{persId},
- </if>
- <if test="intm != null">INTM
- = #{intm},
- </if>
- <if test="uptm != null">UPTM
- = #{uptm},
- </if>
- <if test="status != null and status != ''">STATUS
- = #{status},
- </if>
- <if test="dataStat != null and dataStat != ''">DATA_STAT
- = #{dataStat},
- </if>
- </trim>
- <where>ID = #{id}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWrm2021Wellw">
- update BIS_INSP_WRM2021_WELLW
- <trim prefix="set" suffixOverrides=",">
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID
- = #{rgstrId},
- </if>
- <if test="bchkDep != null and bchkDep != ''">BCHK_DEP
- = #{bchkDep},
- </if>
- <if test="bchkDepCon != null and bchkDepCon != ''">BCHK_DEP_CON
- = #{bchkDepCon},
- </if>
- <if test="chkDep != null and chkDep != ''">CHK_DEP
- = #{chkDep},
- </if>
- <if test="chkDepPers != null and chkDepPers != ''">CHK_DEP_PERS
- = #{chkDepPers},
- </if>
- <if test="chkTm != null">CHK_TM
- = #{chkTm},
- </if>
- <if test="yearAckPlan != null and yearAckPlan != ''">YEAR_ACK_PLAN
- = #{yearAckPlan},
- </if>
- <if test="yearAckFnsh != null and yearAckFnsh != ''">YEAR_ACK_FNSH
- = #{yearAckFnsh},
- </if>
- <if test="yearAckPblm != null and yearAckPblm != ''">YEAR_ACK_PBLM
- = #{yearAckPblm},
- </if>
- <if test="yearAckChk != null and yearAckChk != ''">YEAR_ACK_CHK
- = #{yearAckChk},
- </if>
- <if test="snwtPlan != null and snwtPlan != ''">SNWT_PLAN
- = #{snwtPlan},
- </if>
- <if test="snwtFnsh != null and snwtFnsh != ''">SNWT_FNSH
- = #{snwtFnsh},
- </if>
- <if test="snwtPblm != null and snwtPblm != ''">SNWT_PBLM
- = #{snwtPblm},
- </if>
- <if test="snwtChk != null and snwtChk != ''">SNWT_CHK
- = #{snwtChk},
- </if>
- <if test="zNote != null and zNote != ''">Z_NOTE
- = #{zNote},
- </if>
- <if test="zPblm != null and zPblm != ''">Z_PBLM
- = #{zPblm},
- </if>
- <if test="zChk != null and zChk != ''">Z_CHK
- = #{zChk},
- </if>
- <if test="rvwtNote != null and rvwtNote != ''">RVWT_NOTE
- = #{rvwtNote},
- </if>
- <if test="rvwtPblm != null and rvwtPblm != ''">RVWT_PBLM
- = #{rvwtPblm},
- </if>
- <if test="rvwtChk != null and rvwtChk != ''">RVWT_CHK
- = #{rvwtChk},
- </if>
- <if test="awtsvPblan != null and awtsvPblan != ''">AWTSV_PBLAN
- = #{awtsvPblan},
- </if>
- <if test="awtsvFnsh != null and awtsvFnsh != ''">AWTSV_FNSH
- = #{awtsvFnsh},
- </if>
- <if test="awtsvPblm != null and awtsvPblm != ''">AWTSV_PBLM
- = #{awtsvPblm},
- </if>
- <if test="awtsvChk != null and awtsvChk != ''">AWTSV_CHK
- = #{awtsvChk},
- </if>
- <if test="twtsvPlan != null and twtsvPlan != ''">TWTSV_PLAN
- = #{twtsvPlan},
- </if>
- <if test="twtsvFnsh != null and twtsvFnsh != ''">TWTSV_FNSH
- = #{twtsvFnsh},
- </if>
- <if test="twtsvPblm != null and twtsvPblm != ''">TWTSV_PBLM
- = #{twtsvPblm},
- </if>
- <if test="twtsvChk != null and twtsvChk != ''">TWTSV_CHK
- = #{twtsvChk},
- </if>
- <if test="iwtsvPlan != null and iwtsvPlan != ''">IWTSV_PLAN
- = #{iwtsvPlan},
- </if>
- <if test="iwtsvFnsh != null and iwtsvFnsh != ''">IWTSV_FNSH
- = #{iwtsvFnsh},
- </if>
- <if test="iwtsvPblm != null and iwtsvPblm != ''">IWTSV_PBLM
- = #{iwtsvPblm},
- </if>
- <if test="iwtsvChk != null and iwtsvChk != ''">IWTSV_CHK
- = #{iwtsvChk},
- </if>
- <if test="appSnwtPlan != null and appSnwtPlan != ''">APP_SNWT_PLAN
- = #{appSnwtPlan},
- </if>
- <if test="appSnwtFnsh != null and appSnwtFnsh != ''">APP_SNWT_FNSH
- = #{appSnwtFnsh},
- </if>
- <if test="appSnwtPblm != null and appSnwtPblm != ''">APP_SNWT_PBLM
- = #{appSnwtPblm},
- </if>
- <if test="appSnwtChk != null and appSnwtChk != ''">APP_SNWT_CHK
- = #{appSnwtChk},
- </if>
- <if test="rplcPlan != null and rplcPlan != ''">RPLC_PLAN
- = #{rplcPlan},
- </if>
- <if test="rplcPblm != null and rplcPblm != ''">RPLC_PBLM
- = #{rplcPblm},
- </if>
- <if test="rplcChk != null and rplcChk != ''">RPLC_CHK
- = #{rplcChk},
- </if>
- <if test="suwtPlan != null and suwtPlan != ''">SUWT_PLAN
- = #{suwtPlan},
- </if>
- <if test="suwtFnsh != null and suwtFnsh != ''">SUWT_FNSH
- = #{suwtFnsh},
- </if>
- <if test="suwtPblm != null and suwtPblm != ''">SUWT_PBLM
- = #{suwtPblm},
- </if>
- <if test="suwtChk != null and suwtChk != ''">SUWT_CHK
- = #{suwtChk},
- </if>
- <if test="nborNote != null and nborNote != ''">NBOR_NOTE
- = #{nborNote},
- </if>
- <if test="nborPblm != null and nborPblm != ''">NBOR_PBLM
- = #{nborPblm},
- </if>
- <if test="nborChk != null and nborChk != ''">NBOR_CHK
- = #{nborChk},
- </if>
- <if test="wellPlan != null and wellPlan != ''">WELL_PLAN
- = #{wellPlan},
- </if>
- <if test="wellFnsh != null and wellFnsh != ''">WELL_FNSH
- = #{wellFnsh},
- </if>
- <if test="wellPblm != null and wellPblm != ''">WELL_PBLM
- = #{wellPblm},
- </if>
- <if test="wellChk != null and wellChk != ''">WELL_CHK
- = #{wellChk},
- </if>
- <if test="nwellNote != null and nwellNote != ''">NWELL_NOTE
- = #{nwellNote},
- </if>
- <if test="nwellPblm != null and nwellPblm != ''">NWELL_PBLM
- = #{nwellPblm},
- </if>
- <if test="nwellChk != null and nwellChk != ''">NWELL_CHK
- = #{nwellChk},
- </if>
- <if test="uwtNote != null and uwtNote != ''">UWT_NOTE
- = #{uwtNote},
- </if>
- <if test="uwtPblm != null and uwtPblm != ''">UWT_PBLM
- = #{uwtPblm},
- </if>
- <if test="uwtChk != null and uwtChk != ''">UWT_CHK
- = #{uwtChk},
- </if>
- <if test="isWtprRfm != null and isWtprRfm != ''">IS_WTPR_RFM
- = #{isWtprRfm},
- </if>
- <if test="wtprRfmPblm != null and wtprRfmPblm != ''">WTPR_RFM_PBLM
- = #{wtprRfmPblm},
- </if>
- <if test="wtprRfmChk != null and wtprRfmChk != ''">WTPR_RFM_CHK
- = #{wtprRfmChk},
- </if>
- <if test="isBuldPlan != null and isBuldPlan != ''">IS_BULD_PLAN
- = #{isBuldPlan},
- </if>
- <if test="buldPlanPblm != null and buldPlanPblm != ''">BULD_PLAN_PBLM
- = #{buldPlanPblm},
- </if>
- <if test="buldPlanChk != null and buldPlanChk != ''">BULD_PLAN_CHK
- = #{buldPlanChk},
- </if>
- <if test="isDutyWrk != null and isDutyWrk != ''">IS_DUTY_WRK
- = #{isDutyWrk},
- </if>
- <if test="dutyWrkPblm != null and dutyWrkPblm != ''">DUTY_WRK_PBLM
- = #{dutyWrkPblm},
- </if>
- <if test="dutyWrkChk != null and dutyWrkChk != ''">DUTY_WRK_CHK
- = #{dutyWrkChk},
- </if>
- <if test="isPbuSys != null and isPbuSys != ''">IS_PBU_SYS
- = #{isPbuSys},
- </if>
- <if test="pbuSysPblm != null and pbuSysPblm != ''">PBU_SYS_PBLM
- = #{pbuSysPblm},
- </if>
- <if test="pbuSysChk != null and pbuSysChk != ''">PBU_SYS_CHK
- = #{pbuSysChk},
- </if>
- <if test="isWrkChk != null and isWrkChk != ''">IS_WRK_CHK
- = #{isWrkChk},
- </if>
- <if test="wrkChkPblm != null and wrkChkPblm != ''">WRK_CHK_PBLM
- = #{wrkChkPblm},
- </if>
- <if test="wrkChkChk != null and wrkChkChk != ''">WRK_CHK_CHK
- = #{wrkChkChk},
- </if>
- <if test="isMendPyear != null and isMendPyear != ''">IS_MEND_PYEAR
- = #{isMendPyear},
- </if>
- <if test="mendPyearPblm != null and mendPyearPblm != ''">MEND_PYEAR_PBLM
- = #{mendPyearPblm},
- </if>
- <if test="mendPyearChk != null and mendPyearChk != ''">MEND_PYEAR_CHK
- = #{mendPyearChk},
- </if>
- <if test="persId != null and persId != ''">PERS_ID
- = #{persId},
- </if>
- <if test="intm != null">INTM
- = #{intm},
- </if>
- <if test="uptm != null">UPTM
- = #{uptm},
- </if>
- <if test="status != null and status != ''">STATUS
- = #{status},
- </if>
- <if test="dataStat != null and dataStat != ''">DATA_STAT
- = #{dataStat},
- </if>
- </trim>
- <include refid="page_where"/>
- </update>
- <!-- 其他自定义SQL -->
- </mapper>
|