You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
3.8 KiB
XML
98 lines
3.8 KiB
XML
3 months ago
|
<?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="com.xisc.pm.infra.mapper.PmIngotThickAddvBtTraMapper">
|
||
|
|
||
|
<sql id = "BaseSql">
|
||
|
PITABT.TRA_ID,
|
||
|
PITABT.OPERATION_TYPE,
|
||
|
PITABT.OPERATION_USER,
|
||
|
PITABT.OPERATION_TIME,
|
||
|
PITABT.PITAB_ID,
|
||
|
PITABT.INGOT_TYPE,
|
||
|
PITABT.PLATE_THICK_FROM,
|
||
|
PITABT.PLATE_THICK_TO,
|
||
|
PITABT.COMBINE_PLATE_WIDTH_FROM,
|
||
|
PITABT.COMBINE_PLATE_WIDTH_TO,
|
||
|
PITABT.HEAT_TREAT_MODE,
|
||
|
PITABT.ROLL_MODE,
|
||
|
PITABT.ROLL_DIRECT_CODE,
|
||
|
PITABT.THICK_ADDV,
|
||
|
PITABT.TENANT_ID,
|
||
|
PITABT.ATTRIBUTE1,
|
||
|
PITABT.ATTRIBUTE2,
|
||
|
PITABT.ATTRIBUTE3,
|
||
|
PITABT.ATTRIBUTE4,
|
||
|
PITABT.ATTRIBUTE5,
|
||
|
PITABT.creation_date, PITABT.created_by, PITABT.last_updated_by, PITABT.last_update_date, PITABT.object_version_number
|
||
|
</sql>
|
||
|
|
||
|
<select id = "selectList" resultType = "com.xisc.pm.domain.entity.PmIngotThickAddvBtTra">
|
||
|
select
|
||
|
<include refid = "BaseSql"/>
|
||
|
from PM_IGNOT_THICK_ADDV_BT_TRA PITABT
|
||
|
<where>
|
||
|
<if test="traId !=null">
|
||
|
and PITABT.TRA_ID = #{traId,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="operationType !=null">
|
||
|
and PITABT.OPERATION_TYPE = #{operationType,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="operationUser !=null">
|
||
|
and PITABT.OPERATION_USER = #{operationUser,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="operationTime !=null">
|
||
|
and PITABT.OPERATION_TIME = #{operationTime,jdbcType = OTHER}
|
||
|
</if>
|
||
|
<if test="pitabId !=null">
|
||
|
and PITABT.PITAB_ID = #{pitabId,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="ingotType !=null">
|
||
|
and PITABT.INGOT_TYPE = #{ingotType,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="plateThickFrom !=null">
|
||
|
and PITABT.PLATE_THICK_FROM = #{plateThickFrom,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="plateThickTo !=null">
|
||
|
and PITABT.PLATE_THICK_TO = #{plateThickTo,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="combinePlateWidthFrom !=null">
|
||
|
and PITABT.COMBINE_PLATE_WIDTH_FROM = #{combinePlateWidthFrom,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="combinePlateWidthTo !=null">
|
||
|
and PITABT.COMBINE_PLATE_WIDTH_TO = #{combinePlateWidthTo,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="heatTreatMode !=null">
|
||
|
and PITABT.HEAT_TREAT_MODE = #{heatTreatMode,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="rollMode !=null">
|
||
|
and PITABT.ROLL_MODE = #{rollMode,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="rollDirectCode !=null">
|
||
|
and PITABT.ROLL_DIRECT_CODE = #{rollDirectCode,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="thickAddv !=null">
|
||
|
and PITABT.THICK_ADDV = #{thickAddv,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="tenantId !=null">
|
||
|
and PITABT.TENANT_ID = #{tenantId,jdbcType = INTEGER}
|
||
|
</if>
|
||
|
<if test="attribute1 !=null">
|
||
|
and PITABT.ATTRIBUTE1 = #{attribute1,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="attribute2 !=null">
|
||
|
and PITABT.ATTRIBUTE2 = #{attribute2,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="attribute3 !=null">
|
||
|
and PITABT.ATTRIBUTE3 = #{attribute3,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="attribute4 !=null">
|
||
|
and PITABT.ATTRIBUTE4 = #{attribute4,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
<if test="attribute5 !=null">
|
||
|
and PITABT.ATTRIBUTE5 = #{attribute5,jdbcType = VARCHAR}
|
||
|
</if>
|
||
|
</where>
|
||
|
</select>
|
||
|
</mapper>
|
||
|
|