| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- <?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.BisInspRsfcoRgstrFlliDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.BisInspRsfcoRgstrFlli" id="bisInspRsfcoRgstrFlliResultMap">
- <result property="id" column="ID"/>
- <result property="rgstrId" column="RGSTR_ID"/>
- <result property="isCompFssp" column="IS_COMP_FSSP"/>
- <result property="isCompRpl" column="IS_COMP_RPL"/>
- <result property="compOpblt" column="COMP_OPBLT"/>
- <result property="isUpFssp" column="IS_UP_FSSP"/>
- <result property="isExeFssp" column="IS_EXE_FSSP"/>
- <result property="isFsspFcadrEws" column="IS_FSSP_FCADR_EWS"/>
- <result property="isWfDc" column="IS_WF_DC"/>
- <result property="dcTmFlSzIsAc" column="DC_TM_FL_SZ_IS_AC"/>
- <result property="isWdosiIrdauada" column="IS_WDOSI_IRDAUADA"/>
- <result property="roasiIsSar" column="ROASI_IS_SAR"/>
- <result property="isRcoSil" column="IS_RCO_SIL"/>
- <result property="silIsSai" column="SIL_IS_SAI"/>
- <result property="silIsIscwtass" column="SIL_IS_ISCWTASS"/>
- <result property="isIawrrSrarfll" column="IS_IAWRR_SRARFLL"/>
- <result property="isIawrrRrwsws" column="IS_IAWRR_RRWSWS"/>
- <result property="isAttafllPrs" column="IS_ATTAFLL_PRS"/>
- <result property="nfspIsUobfl" column="NFSP_IS_UOBFL"/>
- <result property="trsofdpIsAtrrofcoiOafl" column="TRSOFDP_IS_ATRROFCOI_OAFL"/>
- <result property="wadsoiaaatsofcIsLwr" column="WADSOIAAATSOFC_IS_LWR"/>
- <result property="tcoeatnaofcadrfewIsTrofu" column="TCOEATNAOFCADRFEW_IS_TROFU"/>
- <result property="isTcPsaifp" column="IS_TC_PSAIFP"/>
- <result property="status" column="STATUS"/>
- <result property="recPersId" column="REC_PERS_ID"/>
- <result property="recPers" column="REC_PERS"/>
- <result property="recPersTel" column="REC_PERS_TEL"/>
- <result property="intm" column="INTM"/>
- <result property="uptm" column="UPTM"/>
- <result property="iawrrSrarfll" column="IAWRR_SRARFLL"/>
- </resultMap>
-
- <sql id="table_columns">
- IAWRR_SRARFLL,
- ID,
- RGSTR_ID,
- IS_COMP_FSSP,
- IS_COMP_RPL,
- COMP_OPBLT,
- IS_UP_FSSP,
- IS_EXE_FSSP,
- IS_FSSP_FCADR_EWS,
- IS_WF_DC,
- DC_TM_FL_SZ_IS_AC,
- IS_WDOSI_IRDAUADA,
- ROASI_IS_SAR,
- IS_RCO_SIL,
- SIL_IS_SAI,
- SIL_IS_ISCWTASS,
- IS_IAWRR_SRARFLL,
- IS_IAWRR_RRWSWS,
- IS_ATTAFLL_PRS,
- NFSP_IS_UOBFL,
- TRSOFDP_IS_ATRROFCOI_OAFL,
- WADSOIAAATSOFC_IS_LWR,
- TCOEATNAOFCADRFEW_IS_TROFU,
- IS_TC_PSAIFP,
- STATUS,
- REC_PERS_ID,
- REC_PERS,
- REC_PERS_TEL,
- INTM,
- UPTM
- </sql>
- <sql id="entity_properties">
- #{iawrrSrarfll},
- #{id},
- #{rgstrId},
- #{isCompFssp},
- #{isCompRpl},
- #{compOpblt},
- #{isUpFssp},
- #{isExeFssp},
- #{isFsspFcadrEws},
- #{isWfDc},
- #{dcTmFlSzIsAc},
- #{isWdosiIrdauada},
- #{roasiIsSar},
- #{isRcoSil},
- #{silIsSai},
- #{silIsIscwtass},
- #{isIawrrSrarfll},
- #{isIawrrRrwsws},
- #{isAttafllPrs},
- #{nfspIsUobfl},
- #{trsofdpIsAtrrofcoiOafl},
- #{wadsoiaaatsofcIsLwr},
- #{tcoeatnaofcadrfewIsTrofu},
- #{isTcPsaifp},
- #{status},
- #{recPersId},
- #{recPers},
- #{recPersTel},
- #{intm},
- #{uptm}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="iawrrSrarfll != null and iawrrSrarfll != ''">and IAWRR_SRARFLL #{iawrrSrarfll}</if>
- <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
- <if test="isCompFssp != null and isCompFssp != ''">and IS_COMP_FSSP = #{isCompFssp}</if>
- <if test="isCompRpl != null and isCompRpl != ''">and IS_COMP_RPL = #{isCompRpl}</if>
- <if test="compOpblt != null and compOpblt != ''">and COMP_OPBLT = #{compOpblt}</if>
- <if test="isUpFssp != null and isUpFssp != ''">and IS_UP_FSSP = #{isUpFssp}</if>
- <if test="isExeFssp != null and isExeFssp != ''">and IS_EXE_FSSP = #{isExeFssp}</if>
- <if test="isFsspFcadrEws != null and isFsspFcadrEws != ''">and IS_FSSP_FCADR_EWS = #{isFsspFcadrEws}</if>
- <if test="isWfDc != null and isWfDc != ''">and IS_WF_DC = #{isWfDc}</if>
- <if test="dcTmFlSzIsAc != null and dcTmFlSzIsAc != ''">and DC_TM_FL_SZ_IS_AC = #{dcTmFlSzIsAc}</if>
- <if test="isWdosiIrdauada != null and isWdosiIrdauada != ''">and IS_WDOSI_IRDAUADA = #{isWdosiIrdauada}</if>
- <if test="roasiIsSar != null and roasiIsSar != ''">and ROASI_IS_SAR = #{roasiIsSar}</if>
- <if test="isRcoSil != null and isRcoSil != ''">and IS_RCO_SIL = #{isRcoSil}</if>
- <if test="silIsSai != null and silIsSai != ''">and SIL_IS_SAI = #{silIsSai}</if>
- <if test="silIsIscwtass != null and silIsIscwtass != ''">and SIL_IS_ISCWTASS = #{silIsIscwtass}</if>
- <if test="isIawrrSrarfll != null and isIawrrSrarfll != ''">and IS_IAWRR_SRARFLL = #{isIawrrSrarfll}</if>
- <if test="isIawrrRrwsws != null and isIawrrRrwsws != ''">and IS_IAWRR_RRWSWS = #{isIawrrRrwsws}</if>
- <if test="isAttafllPrs != null and isAttafllPrs != ''">and IS_ATTAFLL_PRS = #{isAttafllPrs}</if>
- <if test="nfspIsUobfl != null and nfspIsUobfl != ''">and NFSP_IS_UOBFL = #{nfspIsUobfl}</if>
- <if test="trsofdpIsAtrrofcoiOafl != null and trsofdpIsAtrrofcoiOafl != ''">and TRSOFDP_IS_ATRROFCOI_OAFL = #{trsofdpIsAtrrofcoiOafl}</if>
- <if test="wadsoiaaatsofcIsLwr != null and wadsoiaaatsofcIsLwr != ''">and WADSOIAAATSOFC_IS_LWR = #{wadsoiaaatsofcIsLwr}</if>
- <if test="tcoeatnaofcadrfewIsTrofu != null and tcoeatnaofcadrfewIsTrofu != ''">and TCOEATNAOFCADRFEW_IS_TROFU = #{tcoeatnaofcadrfewIsTrofu}</if>
- <if test="isTcPsaifp != null and isTcPsaifp != ''">and IS_TC_PSAIFP = #{isTcPsaifp}</if>
- <if test="status != null and status != ''">and STATUS = #{status}</if>
- <if test="recPersId != null and recPersId != ''">and REC_PERS_ID = #{recPersId}</if>
- <if test="recPers != null and recPers != ''">and REC_PERS = #{recPers}</if>
- <if test="recPersTel != null and recPersTel != ''">and REC_PERS_TEL = #{recPersTel}</if>
- <if test="intm != null">and INTM = #{intm}</if>
- <if test="uptm != null">and UPTM = #{uptm}</if>
- </trim>
- </sql>
- <select id="get" resultMap="bisInspRsfcoRgstrFlliResultMap" parameterType="String" >
- select <include refid="table_columns" /> from BIS_INSP_RSFCO_RGSTR_FLLI where ID = #{id}
- </select>
- <select id="getBy" resultMap="bisInspRsfcoRgstrFlliResultMap">
- select <include refid="table_columns" /> from BIS_INSP_RSFCO_RGSTR_FLLI <include refid="page_where" />
- </select>
- <select id="findAll" resultMap="bisInspRsfcoRgstrFlliResultMap">
- select <include refid="table_columns" /> from BIS_INSP_RSFCO_RGSTR_FLLI
- </select>
- <select id="findList" resultMap="bisInspRsfcoRgstrFlliResultMap">
- select <include refid="table_columns" /> from BIS_INSP_RSFCO_RGSTR_FLLI <include refid="page_where" />
- </select>
- <select id="selectCount" resultType="int" >
- select count(ID) from BIS_INSP_RSFCO_RGSTR_FLLI <include refid="page_where" />
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspRsfcoRgstrFlli">
- insert into BIS_INSP_RSFCO_RGSTR_FLLI( <include refid="table_columns" /> )
- values ( <include refid="entity_properties" /> )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- delete from BIS_INSP_RSFCO_RGSTR_FLLI where ID = #{id}
- </delete>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspRsfcoRgstrFlli">
- delete from BIS_INSP_RSFCO_RGSTR_FLLI <include refid="page_where" />
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update BIS_INSP_RSFCO_RGSTR_FLLI set flag_valid = 0 where ID = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspRsfcoRgstrFlli">
- update BIS_INSP_RSFCO_RGSTR_FLLI
- <trim prefix="set" suffixOverrides=",">
- <if test="iawrrSrarfll != null and iawrrSrarfll != ''">IAWRR_SRARFLL = #{iawrrSrarfll},</if>
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
- <if test="isCompFssp != null and isCompFssp != ''">IS_COMP_FSSP = #{isCompFssp},</if>
- <if test="isCompRpl != null and isCompRpl != ''">IS_COMP_RPL = #{isCompRpl},</if>
- <if test="compOpblt != null and compOpblt != ''">COMP_OPBLT = #{compOpblt},</if>
- <if test="isUpFssp != null and isUpFssp != ''">IS_UP_FSSP = #{isUpFssp},</if>
- <if test="isExeFssp != null and isExeFssp != ''">IS_EXE_FSSP = #{isExeFssp},</if>
- <if test="isFsspFcadrEws != null and isFsspFcadrEws != ''">IS_FSSP_FCADR_EWS = #{isFsspFcadrEws},</if>
- <if test="isWfDc != null and isWfDc != ''">IS_WF_DC = #{isWfDc},</if>
- <if test="dcTmFlSzIsAc != null and dcTmFlSzIsAc != ''">DC_TM_FL_SZ_IS_AC = #{dcTmFlSzIsAc},</if>
- <if test="isWdosiIrdauada != null and isWdosiIrdauada != ''">IS_WDOSI_IRDAUADA = #{isWdosiIrdauada},</if>
- <if test="roasiIsSar != null and roasiIsSar != ''">ROASI_IS_SAR = #{roasiIsSar},</if>
- <if test="isRcoSil != null and isRcoSil != ''">IS_RCO_SIL = #{isRcoSil},</if>
- <if test="silIsSai != null and silIsSai != ''">SIL_IS_SAI = #{silIsSai},</if>
- <if test="silIsIscwtass != null and silIsIscwtass != ''">SIL_IS_ISCWTASS = #{silIsIscwtass},</if>
- <if test="isIawrrSrarfll != null and isIawrrSrarfll != ''">IS_IAWRR_SRARFLL = #{isIawrrSrarfll},</if>
- <if test="isIawrrRrwsws != null and isIawrrRrwsws != ''">IS_IAWRR_RRWSWS = #{isIawrrRrwsws},</if>
- <if test="isAttafllPrs != null and isAttafllPrs != ''">IS_ATTAFLL_PRS = #{isAttafllPrs},</if>
- <if test="nfspIsUobfl != null and nfspIsUobfl != ''">NFSP_IS_UOBFL = #{nfspIsUobfl},</if>
- <if test="trsofdpIsAtrrofcoiOafl != null and trsofdpIsAtrrofcoiOafl != ''">TRSOFDP_IS_ATRROFCOI_OAFL = #{trsofdpIsAtrrofcoiOafl},</if>
- <if test="wadsoiaaatsofcIsLwr != null and wadsoiaaatsofcIsLwr != ''">WADSOIAAATSOFC_IS_LWR = #{wadsoiaaatsofcIsLwr},</if>
- <if test="tcoeatnaofcadrfewIsTrofu != null and tcoeatnaofcadrfewIsTrofu != ''">TCOEATNAOFCADRFEW_IS_TROFU = #{tcoeatnaofcadrfewIsTrofu},</if>
- <if test="isTcPsaifp != null and isTcPsaifp != ''">IS_TC_PSAIFP = #{isTcPsaifp},</if>
- <if test="status != null and status != ''">STATUS = #{status},</if>
- <if test="recPersId != null and recPersId != ''">REC_PERS_ID = #{recPersId},</if>
- <if test="recPers != null and recPers != ''">REC_PERS = #{recPers},</if>
- <if test="recPersTel != null and recPersTel != ''">REC_PERS_TEL = #{recPersTel},</if>
- <if test="intm != null">INTM = #{intm},</if>
- <if test="uptm != null">UPTM = #{uptm},</if>
- </trim>
- <where>ID = #{id}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspRsfcoRgstrFlli">
- update BIS_INSP_RSFCO_RGSTR_FLLI
- <trim prefix="set" suffixOverrides=",">
- <if test="iawrrSrarfll != null and iawrrSrarfll != ''">IAWRR_SRARFLL = #{iawrrSrarfll},</if>
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
- <if test="isCompFssp != null and isCompFssp != ''">IS_COMP_FSSP = #{isCompFssp},</if>
- <if test="isCompRpl != null and isCompRpl != ''">IS_COMP_RPL = #{isCompRpl},</if>
- <if test="compOpblt != null and compOpblt != ''">COMP_OPBLT = #{compOpblt},</if>
- <if test="isUpFssp != null and isUpFssp != ''">IS_UP_FSSP = #{isUpFssp},</if>
- <if test="isExeFssp != null and isExeFssp != ''">IS_EXE_FSSP = #{isExeFssp},</if>
- <if test="isFsspFcadrEws != null and isFsspFcadrEws != ''">IS_FSSP_FCADR_EWS = #{isFsspFcadrEws},</if>
- <if test="isWfDc != null and isWfDc != ''">IS_WF_DC = #{isWfDc},</if>
- <if test="dcTmFlSzIsAc != null and dcTmFlSzIsAc != ''">DC_TM_FL_SZ_IS_AC = #{dcTmFlSzIsAc},</if>
- <if test="isWdosiIrdauada != null and isWdosiIrdauada != ''">IS_WDOSI_IRDAUADA = #{isWdosiIrdauada},</if>
- <if test="roasiIsSar != null and roasiIsSar != ''">ROASI_IS_SAR = #{roasiIsSar},</if>
- <if test="isRcoSil != null and isRcoSil != ''">IS_RCO_SIL = #{isRcoSil},</if>
- <if test="silIsSai != null and silIsSai != ''">SIL_IS_SAI = #{silIsSai},</if>
- <if test="silIsIscwtass != null and silIsIscwtass != ''">SIL_IS_ISCWTASS = #{silIsIscwtass},</if>
- <if test="isIawrrSrarfll != null and isIawrrSrarfll != ''">IS_IAWRR_SRARFLL = #{isIawrrSrarfll},</if>
- <if test="isIawrrRrwsws != null and isIawrrRrwsws != ''">IS_IAWRR_RRWSWS = #{isIawrrRrwsws},</if>
- <if test="isAttafllPrs != null and isAttafllPrs != ''">IS_ATTAFLL_PRS = #{isAttafllPrs},</if>
- <if test="nfspIsUobfl != null and nfspIsUobfl != ''">NFSP_IS_UOBFL = #{nfspIsUobfl},</if>
- <if test="trsofdpIsAtrrofcoiOafl != null and trsofdpIsAtrrofcoiOafl != ''">TRSOFDP_IS_ATRROFCOI_OAFL = #{trsofdpIsAtrrofcoiOafl},</if>
- <if test="wadsoiaaatsofcIsLwr != null and wadsoiaaatsofcIsLwr != ''">WADSOIAAATSOFC_IS_LWR = #{wadsoiaaatsofcIsLwr},</if>
- <if test="tcoeatnaofcadrfewIsTrofu != null and tcoeatnaofcadrfewIsTrofu != ''">TCOEATNAOFCADRFEW_IS_TROFU = #{tcoeatnaofcadrfewIsTrofu},</if>
- <if test="isTcPsaifp != null and isTcPsaifp != ''">IS_TC_PSAIFP = #{isTcPsaifp},</if>
- <if test="status != null and status != ''">STATUS = #{status},</if>
- <if test="recPersId != null and recPersId != ''">REC_PERS_ID = #{recPersId},</if>
- <if test="recPers != null and recPers != ''">REC_PERS = #{recPers},</if>
- <if test="recPersTel != null and recPersTel != ''">REC_PERS_TEL = #{recPersTel},</if>
- <if test="intm != null">INTM = #{intm},</if>
- <if test="uptm != null">UPTM = #{uptm},</if>
- </trim>
- <include refid="page_where" />
- </update>
- <!-- 其他自定义SQL -->
- </mapper>
|