| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353 |
- <?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.BisInspWtuntRgstrSteelDao">
- <resultMap type="cn.com.goldenwater.dcproj.model.BisInspWtuntRgstrSteel" id="bisInspWtuntRgstrSteelResultMap">
- <result property="uwuRaWu" column="UWU_RA_WU"/>
- <result property="uwuRw" column="UWU_RW"/>
- <result property="uwuRwWu" column="UWU_RW_WU"/>
- <result property="uwuOt" column="UWU_OT"/>
- <result property="uwuOtWu" column="UWU_OT_WU"/>
- <result property="orasbowuIsComp" column="ORASBOWU_IS_COMP"/>
- <result property="isPwsikwua" column="IS_PWSIKWUA"/>
- <result property="intm" column="INTM"/>
- <result property="uptm" column="UPTM"/>
- <result property="status" column="STATUS"/>
- <result property="id" column="ID"/>
- <result property="rgstrId" column="RGSTR_ID"/>
- <result property="fctwu18" column="FCTWU18"/>
- <result property="fctwu19" column="FCTWU19"/>
- <result property="isPlWs" column="IS_PL_WS"/>
- <result property="planDpt" column="PLAN_DPT"/>
- <result property="planUseWw18" column="PLAN_USE_WW18"/>
- <result property="planUseWw19" column="PLAN_USE_WW19"/>
- <result property="isOvPlanUseWw" column="IS_OV_PLAN_USE_WW"/>
- <result property="isExeTopmus" column="IS_EXE_TOPMUS"/>
- <result property="iascWu" column="IASC_WU"/>
- <result property="iascWuIsOver" column="IASC_WU_IS_OVER"/>
- <result property="spWu" column="SP_WU"/>
- <result property="spWuIsOver" column="SP_WU_IS_OVER"/>
- <result property="ckWu" column="CK_WU"/>
- <result property="ckWuIsOver" column="CK_WU_IS_OVER"/>
- <result property="ironWu" column="IRON_WU"/>
- <result property="ironWuIsOver" column="IRON_WU_IS_OVER"/>
- <result property="steelWu" column="STEEL_WU"/>
- <result property="steelWuIsOver" column="STEEL_WU_IS_OVER"/>
- <result property="rollWu" column="ROLL_WU"/>
- <result property="rollWuIsOver" column="ROLL_WU_IS_OVER"/>
- <result property="isNkmwun" column="IS_NKMWUN"/>
- <result property="sittmowrIsExact" column="SITTMOWR_IS_EXACT"/>
- <result property="isBuldSrarfwc" column="IS_BULD_SRARFWC"/>
- <result property="isIowsaouWmf" column="IS_IOWSAOU_WMF"/>
- <result property="wmfIsNr" column="WMF_IS_NR"/>
- <result property="isBuldOwmp" column="IS_BULD_OWMP"/>
- <result property="owmpIsNr" column="OWMP_IS_NR"/>
- <result property="uwuRa" column="UWU_RA"/>
- <result property="fctwu18Well" column="FCTWU18_WELL"/>
- <result property="fctwu19Well" column="FCTWU19_WELL"/>
- <result property="fctwu18Swhs" column="FCTWU18_SWHS"/>
- <result property="fctwu19Swhs" column="FCTWU19_SWHS"/>
- </resultMap>
- <sql id="table_columns">
- UWU_RA_WU,
- UWU_RW,
- UWU_RW_WU,
- UWU_OT,
- UWU_OT_WU,
- ORASBOWU_IS_COMP,
- IS_PWSIKWUA,
- INTM,
- UPTM,
- STATUS,
- ID,
- RGSTR_ID,
- FCTWU18,
- FCTWU19,
- FCTWU18_WELL,
- FCTWU19_WELL,
- FCTWU18_SWHS,
- FCTWU19_SWHS,
- IS_PL_WS,
- PLAN_DPT,
- PLAN_USE_WW18,
- PLAN_USE_WW19,
- IS_OV_PLAN_USE_WW,
- IS_EXE_TOPMUS,
- IASC_WU,
- IASC_WU_IS_OVER,
- SP_WU,
- SP_WU_IS_OVER,
- CK_WU,
- CK_WU_IS_OVER,
- IRON_WU,
- IRON_WU_IS_OVER,
- STEEL_WU,
- STEEL_WU_IS_OVER,
- ROLL_WU,
- ROLL_WU_IS_OVER,
- IS_NKMWUN,
- SITTMOWR_IS_EXACT,
- IS_BULD_SRARFWC,
- IS_IOWSAOU_WMF,
- WMF_IS_NR,
- IS_BULD_OWMP,
- OWMP_IS_NR,
- UWU_RA
- </sql>
- <sql id="entity_properties">
- #{uwuRaWu},
- #{uwuRw},
- #{uwuRwWu},
- #{uwuOt},
- #{uwuOtWu},
- #{orasbowuIsComp},
- #{isPwsikwua},
- #{intm},
- #{uptm},
- #{status},
- #{id},
- #{rgstrId},
- #{fctwu18},
- #{fctwu19},
- #{fctwu18Well},
- #{fctwu19Well},
- #{fctwu18Swhs},
- #{fctwu19Swhs},
- #{isPlWs},
- #{planDpt},
- #{planUseWw18},
- #{planUseWw19},
- #{isOvPlanUseWw},
- #{isExeTopmus},
- #{iascWu},
- #{iascWuIsOver},
- #{spWu},
- #{spWuIsOver},
- #{ckWu},
- #{ckWuIsOver},
- #{ironWu},
- #{ironWuIsOver},
- #{steelWu},
- #{steelWuIsOver},
- #{rollWu},
- #{rollWuIsOver},
- #{isNkmwun},
- #{sittmowrIsExact},
- #{isBuldSrarfwc},
- #{isIowsaouWmf},
- #{wmfIsNr},
- #{isBuldOwmp},
- #{owmpIsNr},
- #{uwuRa}
- </sql>
- <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
- <sql id="page_where">
- <trim prefix="where" prefixOverrides="and | or ">
- <if test="uwuRw != null and uwuRw != ''">and UWU_RW = #{uwuRw}</if>
- <if test="uwuRwWu != null and uwuRwWu != ''">and UWU_RW_WU = #{uwuRwWu}</if>
- <if test="uwuOt != null and uwuOt != ''">and UWU_OT = #{uwuOt}</if>
- <if test="uwuOtWu != null and uwuOtWu != ''">and UWU_OT_WU = #{uwuOtWu}</if>
- <if test="orasbowuIsComp != null and orasbowuIsComp != ''">and ORASBOWU_IS_COMP = #{orasbowuIsComp}</if>
- <if test="isPwsikwua != null and isPwsikwua != ''">and IS_PWSIKWUA = #{isPwsikwua}</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="id != null and id != ''">and ID = #{id}</if>
- <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
- <if test="fctwu18 != null and fctwu18 != ''">and FCTWU18 = #{fctwu18}</if>
- <if test="fctwu19 != null and fctwu19 != ''">and FCTWU19 = #{fctwu19}</if>
- <if test="isPlWs != null and isPlWs != ''">and IS_PL_WS = #{isPlWs}</if>
- <if test="planDpt != null and planDpt != ''">and PLAN_DPT = #{planDpt}</if>
- <if test="planUseWw18 != null and planUseWw18 != ''">and PLAN_USE_WW18 = #{planUseWw18}</if>
- <if test="planUseWw19 != null and planUseWw19 != ''">and PLAN_USE_WW19 = #{planUseWw19}</if>
- <if test="fctwu18Well != null and fctwu18Well != ''">and FCTWU18_WELL = #{fctwu18Well}</if>
- <if test="fctwu19Well != null and fctwu19Well != ''">and FCTWU19_WELL = #{fctwu19Well}</if>
- <if test="fctwu18Swhs != null and fctwu18Swhs != ''">and FCTWU18_SWHS = #{fctwu18Swhs}</if>
- <if test="fctwu19Swhs != null and fctwu19Swhs != ''">and FCTWU19_SWHS = #{fctwu19Swhs}</if>
- <if test="isOvPlanUseWw != null and isOvPlanUseWw != ''">and IS_OV_PLAN_USE_WW = #{isOvPlanUseWw}</if>
- <if test="isExeTopmus != null and isExeTopmus != ''">and IS_EXE_TOPMUS = #{isExeTopmus}</if>
- <if test="iascWu != null and iascWu != ''">and IASC_WU = #{iascWu}</if>
- <if test="iascWuIsOver != null and iascWuIsOver != ''">and IASC_WU_IS_OVER = #{iascWuIsOver}</if>
- <if test="spWu != null and spWu != ''">and SP_WU = #{spWu}</if>
- <if test="spWuIsOver != null and spWuIsOver != ''">and SP_WU_IS_OVER = #{spWuIsOver}</if>
- <if test="ckWu != null and ckWu != ''">and CK_WU = #{ckWu}</if>
- <if test="ckWuIsOver != null and ckWuIsOver != ''">and CK_WU_IS_OVER = #{ckWuIsOver}</if>
- <if test="ironWu != null and ironWu != ''">and IRON_WU = #{ironWu}</if>
- <if test="ironWuIsOver != null and ironWuIsOver != ''">and IRON_WU_IS_OVER = #{ironWuIsOver}</if>
- <if test="steelWu != null and steelWu != ''">and STEEL_WU = #{steelWu}</if>
- <if test="steelWuIsOver != null and steelWuIsOver != ''">and STEEL_WU_IS_OVER = #{steelWuIsOver}</if>
- <if test="rollWu != null and rollWu != ''">and ROLL_WU = #{rollWu}</if>
- <if test="rollWuIsOver != null and rollWuIsOver != ''">and ROLL_WU_IS_OVER = #{rollWuIsOver}</if>
- <if test="isNkmwun != null and isNkmwun != ''">and IS_NKMWUN = #{isNkmwun}</if>
- <if test="sittmowrIsExact != null and sittmowrIsExact != ''">and SITTMOWR_IS_EXACT = #{sittmowrIsExact}</if>
- <if test="isBuldSrarfwc != null and isBuldSrarfwc != ''">and IS_BULD_SRARFWC = #{isBuldSrarfwc}</if>
- <if test="isIowsaouWmf != null and isIowsaouWmf != ''">and IS_IOWSAOU_WMF = #{isIowsaouWmf}</if>
- <if test="wmfIsNr != null and wmfIsNr != ''">and WMF_IS_NR = #{wmfIsNr}</if>
- <if test="isBuldOwmp != null and isBuldOwmp != ''">and IS_BULD_OWMP = #{isBuldOwmp}</if>
- <if test="owmpIsNr != null and owmpIsNr != ''">and OWMP_IS_NR = #{owmpIsNr}</if>
- <if test="uwuRa != null and uwuRa != ''">and UWU_RA = #{uwuRa}</if>
- </trim>
- </sql>
- <select id="get" resultMap="bisInspWtuntRgstrSteelResultMap" parameterType="String">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WTUNT_RGSTR_STEEL where ID = #{id}
- </select>
- <select id="getBy" resultMap="bisInspWtuntRgstrSteelResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WTUNT_RGSTR_STEEL
- <include refid="page_where"/>
- </select>
- <select id="findAll" resultMap="bisInspWtuntRgstrSteelResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WTUNT_RGSTR_STEEL
- </select>
- <select id="findList" resultMap="bisInspWtuntRgstrSteelResultMap">
- select
- <include refid="table_columns"/>
- from BIS_INSP_WTUNT_RGSTR_STEEL
- <include refid="page_where"/>
- </select>
- <select id="selectCount" resultType="int">
- select count(ID) from BIS_INSP_WTUNT_RGSTR_STEEL
- <include refid="page_where"/>
- </select>
- <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspWtuntRgstrSteel">
- insert into BIS_INSP_WTUNT_RGSTR_STEEL(
- <include refid="table_columns"/>
- )
- values (
- <include refid="entity_properties"/>
- )
- </insert>
- <delete id="delete" parameterType="java.lang.String">
- delete from BIS_INSP_WTUNT_RGSTR_STEEL where ID = #{id}
- </delete>
- <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWtuntRgstrSteel">
- delete from BIS_INSP_WTUNT_RGSTR_STEEL
- <include refid="page_where"/>
- </delete>
- <update id="deleteInFlag" parameterType="java.lang.String">
- update BIS_INSP_WTUNT_RGSTR_STEEL set flag_valid = 0 where>ID = #{id}
- </update>
- <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspWtuntRgstrSteel">
- update BIS_INSP_WTUNT_RGSTR_STEEL
- <trim prefix="set" suffixOverrides=",">
- <if test="uwuRw != null and uwuRw != ''">UWU_RW = #{uwuRw},</if>
- <if test="uwuRwWu != null and uwuRwWu != ''">UWU_RW_WU = #{uwuRwWu},</if>
- <if test="uwuOt != null and uwuOt != ''">UWU_OT = #{uwuOt},</if>
- <if test="uwuOtWu != null and uwuOtWu != ''">UWU_OT_WU = #{uwuOtWu},</if>
- <if test="orasbowuIsComp != null and orasbowuIsComp != ''">ORASBOWU_IS_COMP = #{orasbowuIsComp},</if>
- <if test="isPwsikwua != null and isPwsikwua != ''">IS_PWSIKWUA = #{isPwsikwua},</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="id != null and id != ''">ID = #{id},</if>
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
- <if test="fctwu18 != null and fctwu18 != ''">FCTWU18 = #{fctwu18},</if>
- <if test="fctwu19 != null and fctwu19 != ''">FCTWU19 = #{fctwu19},</if>
- <if test="isPlWs != null and isPlWs != ''">IS_PL_WS = #{isPlWs},</if>
- <if test="planDpt != null and planDpt != ''">PLAN_DPT = #{planDpt},</if>
- <if test="planUseWw18 != null and planUseWw18 != ''">PLAN_USE_WW18 = #{planUseWw18},</if>
- <if test="planUseWw19 != null and planUseWw19 != ''">PLAN_USE_WW19 = #{planUseWw19},</if>
- <if test="fctwu18Well != null and fctwu18Well != ''">FCTWU18_WELL = #{fctwu18Well},</if>
- <if test="fctwu19Well != null and fctwu19Well != ''">FCTWU19_WELL = #{fctwu19Well},</if>
- <if test="fctwu18Swhs != null and fctwu18Swhs != ''">FCTWU18_SWHS = #{fctwu18Swhs},</if>
- <if test="fctwu19Swhs != null and fctwu19Swhs != ''">FCTWU19_SWHS = #{fctwu19Swhs},</if>
- <if test="isOvPlanUseWw != null and isOvPlanUseWw != ''">IS_OV_PLAN_USE_WW = #{isOvPlanUseWw},</if>
- <if test="isExeTopmus != null and isExeTopmus != ''">IS_EXE_TOPMUS = #{isExeTopmus},</if>
- <if test="iascWu != null and iascWu != ''">IASC_WU = #{iascWu},</if>
- <if test="iascWuIsOver != null and iascWuIsOver != ''">IASC_WU_IS_OVER = #{iascWuIsOver},</if>
- <if test="spWu != null and spWu != ''">SP_WU = #{spWu},</if>
- <if test="spWuIsOver != null and spWuIsOver != ''">SP_WU_IS_OVER = #{spWuIsOver},</if>
- <if test="ckWu != null and ckWu != ''">CK_WU = #{ckWu},</if>
- <if test="ckWuIsOver != null and ckWuIsOver != ''">CK_WU_IS_OVER = #{ckWuIsOver},</if>
- <if test="ironWu != null and ironWu != ''">IRON_WU = #{ironWu},</if>
- <if test="ironWuIsOver != null and ironWuIsOver != ''">IRON_WU_IS_OVER = #{ironWuIsOver},</if>
- <if test="steelWu != null and steelWu != ''">STEEL_WU = #{steelWu},</if>
- <if test="steelWuIsOver != null and steelWuIsOver != ''">STEEL_WU_IS_OVER = #{steelWuIsOver},</if>
- <if test="rollWu != null and rollWu != ''">ROLL_WU = #{rollWu},</if>
- <if test="rollWuIsOver != null and rollWuIsOver != ''">ROLL_WU_IS_OVER = #{rollWuIsOver},</if>
- <if test="isNkmwun != null and isNkmwun != ''">IS_NKMWUN = #{isNkmwun},</if>
- <if test="sittmowrIsExact != null and sittmowrIsExact != ''">SITTMOWR_IS_EXACT = #{sittmowrIsExact},</if>
- <if test="isBuldSrarfwc != null and isBuldSrarfwc != ''">IS_BULD_SRARFWC = #{isBuldSrarfwc},</if>
- <if test="isIowsaouWmf != null and isIowsaouWmf != ''">IS_IOWSAOU_WMF = #{isIowsaouWmf},</if>
- <if test="wmfIsNr != null and wmfIsNr != ''">WMF_IS_NR = #{wmfIsNr},</if>
- <if test="isBuldOwmp != null and isBuldOwmp != ''">IS_BULD_OWMP = #{isBuldOwmp},</if>
- <if test="owmpIsNr != null and owmpIsNr != ''">OWMP_IS_NR = #{owmpIsNr},</if>
- <if test="uwuRa != null and uwuRa != ''">UWU_RA = #{uwuRa},</if>
- </trim>
- <where>ID = #{id}</where>
- </update>
- <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspWtuntRgstrSteel">
- update BIS_INSP_WTUNT_RGSTR_STEEL
- <trim prefix="set" suffixOverrides=",">
- <if test="uwuRw != null and uwuRw != ''">UWU_RW = #{uwuRw},</if>
- <if test="uwuRwWu != null and uwuRwWu != ''">UWU_RW_WU = #{uwuRwWu},</if>
- <if test="uwuOt != null and uwuOt != ''">UWU_OT = #{uwuOt},</if>
- <if test="uwuOtWu != null and uwuOtWu != ''">UWU_OT_WU = #{uwuOtWu},</if>
- <if test="orasbowuIsComp != null and orasbowuIsComp != ''">ORASBOWU_IS_COMP = #{orasbowuIsComp},</if>
- <if test="isPwsikwua != null and isPwsikwua != ''">IS_PWSIKWUA = #{isPwsikwua},</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="id != null and id != ''">ID = #{id},</if>
- <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
- <if test="fctwu18 != null and fctwu18 != ''">FCTWU18 = #{fctwu18},</if>
- <if test="fctwu19 != null and fctwu19 != ''">FCTWU19 = #{fctwu19},</if>
- <if test="fctwu18Well != null and fctwu18Well != ''">FCTWU18_WELL = #{fctwu18Well},</if>
- <if test="fctwu19Well != null and fctwu19Well != ''">FCTWU19_WELL = #{fctwu19Well},</if>
- <if test="fctwu18Swhs != null and fctwu18Swhs != ''">FCTWU18_SWHS = #{fctwu18Swhs},</if>
- <if test="fctwu19Swhs != null and fctwu19Swhs != ''">FCTWU19_SWHS = #{fctwu19Swhs},</if>
- <if test="isPlWs != null and isPlWs != ''">IS_PL_WS = #{isPlWs},</if>
- <if test="planDpt != null and planDpt != ''">PLAN_DPT = #{planDpt},</if>
- <if test="planUseWw18 != null and planUseWw18 != ''">PLAN_USE_WW18 = #{planUseWw18},</if>
- <if test="planUseWw19 != null and planUseWw19 != ''">PLAN_USE_WW19 = #{planUseWw19},</if>
- <if test="isOvPlanUseWw != null and isOvPlanUseWw != ''">IS_OV_PLAN_USE_WW = #{isOvPlanUseWw},</if>
- <if test="isExeTopmus != null and isExeTopmus != ''">IS_EXE_TOPMUS = #{isExeTopmus},</if>
- <if test="iascWu != null and iascWu != ''">IASC_WU = #{iascWu},</if>
- <if test="iascWuIsOver != null and iascWuIsOver != ''">IASC_WU_IS_OVER = #{iascWuIsOver},</if>
- <if test="spWu != null and spWu != ''">SP_WU = #{spWu},</if>
- <if test="spWuIsOver != null and spWuIsOver != ''">SP_WU_IS_OVER = #{spWuIsOver},</if>
- <if test="ckWu != null and ckWu != ''">CK_WU = #{ckWu},</if>
- <if test="ckWuIsOver != null and ckWuIsOver != ''">CK_WU_IS_OVER = #{ckWuIsOver},</if>
- <if test="ironWu != null and ironWu != ''">IRON_WU = #{ironWu},</if>
- <if test="ironWuIsOver != null and ironWuIsOver != ''">IRON_WU_IS_OVER = #{ironWuIsOver},</if>
- <if test="steelWu != null and steelWu != ''">STEEL_WU = #{steelWu},</if>
- <if test="steelWuIsOver != null and steelWuIsOver != ''">STEEL_WU_IS_OVER = #{steelWuIsOver},</if>
- <if test="rollWu != null and rollWu != ''">ROLL_WU = #{rollWu},</if>
- <if test="rollWuIsOver != null and rollWuIsOver != ''">ROLL_WU_IS_OVER = #{rollWuIsOver},</if>
- <if test="isNkmwun != null and isNkmwun != ''">IS_NKMWUN = #{isNkmwun},</if>
- <if test="sittmowrIsExact != null and sittmowrIsExact != ''">SITTMOWR_IS_EXACT = #{sittmowrIsExact},</if>
- <if test="isBuldSrarfwc != null and isBuldSrarfwc != ''">IS_BULD_SRARFWC = #{isBuldSrarfwc},</if>
- <if test="isIowsaouWmf != null and isIowsaouWmf != ''">IS_IOWSAOU_WMF = #{isIowsaouWmf},</if>
- <if test="wmfIsNr != null and wmfIsNr != ''">WMF_IS_NR = #{wmfIsNr},</if>
- <if test="isBuldOwmp != null and isBuldOwmp != ''">IS_BULD_OWMP = #{isBuldOwmp},</if>
- <if test="owmpIsNr != null and owmpIsNr != ''">OWMP_IS_NR = #{owmpIsNr},</if>
- <if test="uwuRa != null and uwuRa != ''">UWU_RA = #{uwuRa},</if>
- </trim>
- <include refid="page_where"/>
- </update>
- <!-- 其他自定义SQL -->
- </mapper>
|