<?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.PmPdSlabTraMapper">


    <sql id = "BaseSql">
        PPST.TRA_ID,
        PPST.OPERATION_TYPE,
        PPST.OPERATION_USER,
        PPST.OPERATION_TIME,
        PPST.PM_PD_SLAB_TRA_ID,
        PPST.VIRTUAL_SLAB_NO,
        PPST.MAT_DESIGN_KIND,
        PPST.SLAB_NO,
        PPST.PONO,
        PPST.SLAB_DIV_NO,
        PPST.PD_STATUS_HP,
        PPST.PD_RESP,
        PPST.FORM_PLATE_MODE,
        PPST.PICK_MODE_LEN_DIR,
        PPST.PICK_MODE_WID_DIR,
        PPST.FUR_TYPE,
        PPST.IG_MAT_DESIGN_KIND,
        PPST.INGOT_TYPE,
        PPST.AUTO_MANUAL_FLAG,
        PPST.ORDER_REMAIN_DIV,
        PPST.CAN_DEL_FLAG,
        PPST.ORDER_NUM_IN_PLATE,
        PPST.TOT_SMALL_PLATE_NUM,
        PPST.AD_TYPE_CODE,
        PPST.AD_MODE_CODE,
        PPST.ULT_CODE,
        PPST.ULT_DETECT_METHOD_CODE,
        PPST.COOL_CODE,
        PPST.CTRL_ROLL_CODE,
        PPST.WITH_SIDE_FLAG,
        PPST.CUT_MODE_CODE,
        PPST.HEAD_CUT,
        PPST.TAIL_CUT,
        PPST.URG_ORDER_FLAG,
        PPST.SG_SIGN,
        PPST.ST_NO,
        PPST.ST_NO1,
        PPST.ST_NO2,
        PPST.ST_NO3,
        PPST.ST_NO4,
        PPST.ST_NO5,
        PPST.ST_NO6,
        PPST.ST_NO7,
        PPST.ST_NO8,
        PPST.ST_NO9,
        PPST.OUT_SG_NO,
        PPST.SG_DECIDE_TIME,
        PPST.TWO_ROLL_INTERIM_FLAG,
        PPST.PRE_CLEAN_SLAB_THICK,
        PPST.PRE_CLEAN_SLAB_WIDTH,
        PPST.PRE_CLEAN_SLAB_LEN,
        PPST.PRE_CLEAN_SLAB_MAX_LEN,
        PPST.PRE_CLEAN_SLAB_MIN_LEN,
        PPST.PRE_CLEAN_SLAB_WT,
        PPST.PRE_CLEAN_SLAB_MAX_WT,
        PPST.PRE_CLEAN_SLAB_MIN_WT,
        PPST.INFUR_SLAB_THICK,
        PPST.INFUR_SLAB_WID,
        PPST.INFUR_SLAB_LEN,
        PPST.INFUR_SLAB_MAX_LEN,
        PPST.INFUR_SLAB_MIN_LEN,
        PPST.INFUR_SLAB_WT,
        PPST.INFUR_SLAB_MAX_WT,
        PPST.INFUR_SLAB_MIN_WT,
        PPST.NEED_SLAB_LEN,
        PPST.NEED_SLAB_WT,
        PPST.FIX_SLAB_LEN_FLAG,
        PPST.FIX_SLAB_LEN,
        PPST.SLAB_CLEAN_WT_LOSS_RATE_ST,
        PPST.SLAB_CLEAN_WT_LOSS_RATE_FR,
        PPST.HP_FLAME_CLEAN_DIV,
        PPST.SLAB_FINISH_CODE,
        PPST.SLAB_PLACE_CODE,
        PPST.ROLL_AIM_THICK,
        PPST.ROLL_AIM_WIDTH,
        PPST.ROLL_AIM_LEN,
        PPST.ORDER_THICK_AXIS,
        PPST.COMBINE_PLATE_WIDTH,
        PPST.COMBINE_PLATE_LEN,
        PPST.ROLL_WT_HP,
        PPST.ROLL_THICK_TOL_MAX,
        PPST.ROLL_THICK_TOL_MIN,
        PPST.NORM_YIELD,
        PPST.COMMAND_YIELD,
        PPST.ROLL_YIELD,
        PPST.EDGER_USE_FLAG,
        PPST.BROAD_MAS_USE_FLAG,
        PPST.FORM_MAS_USE_FLAG,
        PPST.ROLL_DIRECT_CODE,
        PPST.SAMPLE_LEN_HEAD,
        PPST.SAMPLE_LEN_TAIL,
        PPST.SAMPLE_LEN_MID,
        PPST.RS_CODE,
        PPST.BROAD_FLAG,
        PPST.ORDER_NO_AXIS,
        PPST.MSC_LINE_NO,
        PPST.LAST_SLAB_FLAG,
        PPST.ADD_SLAB_FLAG,
        PPST.SHP_CODE,
        PPST.TAPER_ROLL_THICK1,
        PPST.TAPER_ROLL_THICK_MAX1,
        PPST.TAPER_ROLL_THICK_MIN1,
        PPST.TAPER_ROLL_THICK2,
        PPST.TAPER_ROLL_THICK_MAX2,
        PPST.TAPER_ROLL_THICK_MIN2,
        PPST.TAPER_ROLL_THICK3,
        PPST.TAPER_ROLL_THICK_MAX3,
        PPST.TAPER_ROLL_THICK_MIN3,
        PPST.TAPER_ROLL_WIDTH,
        PPST.TAPER_ROLL_LEN1,
        PPST.TAPER_ROLL_LEN2,
        PPST.TAPER_ROLL_LEN3,
        PPST.TAPER_ROLL_LEN4,
        PPST.TAPER_ROLL_THICK4,
        PPST.TAPER_ROLL_THICK_MAX4,
        PPST.TAPER_ROLL_THICK_MIN4,
        PPST.TAPER_ROLL_THICK5,
        PPST.TAPER_ROLL_THICK_MAX5,
        PPST.TAPER_ROLL_THICK_MIN5,
        PPST.TAPER_ROLL_THICK6,
        PPST.TAPER_ROLL_THICK_MAX6,
        PPST.TAPER_ROLL_THICK_MIN6,
        PPST.TAPER_ROLL_THICK7,
        PPST.TAPER_ROLL_THICK_MAX7,
        PPST.TAPER_ROLL_THICK_MIN7,
        PPST.TAPER_ROLL_LEN6,
        PPST.TAPER_ROLL_LEN7,
        PPST.TENANT_ID,
        PPST.ATTRIBUTE1,
        PPST.ATTRIBUTE2,
        PPST.ATTRIBUTE3,
        PPST.ATTRIBUTE4,
        PPST.ATTRIBUTE5,
        PPST.TRANS_FLAG,
        PPST.creation_date,        PPST.created_by,        PPST.last_updated_by,        PPST.last_update_date,        PPST.object_version_number
    </sql>

    <select id = "selectList" resultType = "com.xisc.pm.domain.entity.PmPdSlabTra">
        select
        <include refid = "BaseSql"/>
        from PM_PD_SLAB_TRA PPST
        <where>
            <if test="traId !=null">
                and PPST.TRA_ID = #{traId,jdbcType = INTEGER}
            </if>
            <if test="operationType !=null">
                and PPST.OPERATION_TYPE = #{operationType,jdbcType = VARCHAR}
            </if>
            <if test="operationUser !=null">
                and PPST.OPERATION_USER = #{operationUser,jdbcType = VARCHAR}
            </if>
            <if test="operationTime !=null">
                and PPST.OPERATION_TIME = #{operationTime,jdbcType = OTHER}
            </if>
            <if test="pmPdSlabTraId !=null">
                and PPST.PM_PD_SLAB_TRA_ID = #{pmPdSlabTraId,jdbcType = INTEGER}
            </if>
            <if test="virtualSlabNo !=null">
                and PPST.VIRTUAL_SLAB_NO = #{virtualSlabNo,jdbcType = VARCHAR}
            </if>
            <if test="matDesignKind !=null">
                and PPST.MAT_DESIGN_KIND = #{matDesignKind,jdbcType = VARCHAR}
            </if>
            <if test="slabNo !=null">
                and PPST.SLAB_NO = #{slabNo,jdbcType = VARCHAR}
            </if>
            <if test="pono !=null">
                and PPST.PONO = #{pono,jdbcType = VARCHAR}
            </if>
            <if test="slabDivNo !=null">
                and PPST.SLAB_DIV_NO = #{slabDivNo,jdbcType = INTEGER}
            </if>
            <if test="pdStatusHp !=null">
                and PPST.PD_STATUS_HP = #{pdStatusHp,jdbcType = VARCHAR}
            </if>
            <if test="pdResp !=null">
                and PPST.PD_RESP = #{pdResp,jdbcType = VARCHAR}
            </if>
            <if test="formPlateMode !=null">
                and PPST.FORM_PLATE_MODE = #{formPlateMode,jdbcType = VARCHAR}
            </if>
            <if test="pickModeLenDir !=null">
                and PPST.PICK_MODE_LEN_DIR = #{pickModeLenDir,jdbcType = INTEGER}
            </if>
            <if test="pickModeWidDir !=null">
                and PPST.PICK_MODE_WID_DIR = #{pickModeWidDir,jdbcType = INTEGER}
            </if>
            <if test="furType !=null">
                and PPST.FUR_TYPE = #{furType,jdbcType = VARCHAR}
            </if>
            <if test="igMatDesignKind !=null">
                and PPST.IG_MAT_DESIGN_KIND = #{igMatDesignKind,jdbcType = VARCHAR}
            </if>
            <if test="ingotType !=null">
                and PPST.INGOT_TYPE = #{ingotType,jdbcType = VARCHAR}
            </if>
            <if test="autoManualFlag !=null">
                and PPST.AUTO_MANUAL_FLAG = #{autoManualFlag,jdbcType = VARCHAR}
            </if>
            <if test="orderRemainDiv !=null">
                and PPST.ORDER_REMAIN_DIV = #{orderRemainDiv,jdbcType = VARCHAR}
            </if>
            <if test="canDelFlag !=null">
                and PPST.CAN_DEL_FLAG = #{canDelFlag,jdbcType = VARCHAR}
            </if>
            <if test="orderNumInPlate !=null">
                and PPST.ORDER_NUM_IN_PLATE = #{orderNumInPlate,jdbcType = INTEGER}
            </if>
            <if test="totSmallPlateNum !=null">
                and PPST.TOT_SMALL_PLATE_NUM = #{totSmallPlateNum,jdbcType = INTEGER}
            </if>
            <if test="adTypeCode !=null">
                and PPST.AD_TYPE_CODE = #{adTypeCode,jdbcType = VARCHAR}
            </if>
            <if test="adModeCode !=null">
                and PPST.AD_MODE_CODE = #{adModeCode,jdbcType = VARCHAR}
            </if>
            <if test="ultCode !=null">
                and PPST.ULT_CODE = #{ultCode,jdbcType = VARCHAR}
            </if>
            <if test="ultDetectMethodCode !=null">
                and PPST.ULT_DETECT_METHOD_CODE = #{ultDetectMethodCode,jdbcType = VARCHAR}
            </if>
            <if test="coolCode !=null">
                and PPST.COOL_CODE = #{coolCode,jdbcType = VARCHAR}
            </if>
            <if test="ctrlRollCode !=null">
                and PPST.CTRL_ROLL_CODE = #{ctrlRollCode,jdbcType = VARCHAR}
            </if>
            <if test="withSideFlag !=null">
                and PPST.WITH_SIDE_FLAG = #{withSideFlag,jdbcType = VARCHAR}
            </if>
            <if test="cutModeCode !=null">
                and PPST.CUT_MODE_CODE = #{cutModeCode,jdbcType = VARCHAR}
            </if>
            <if test="headCut !=null">
                and PPST.HEAD_CUT = #{headCut,jdbcType = INTEGER}
            </if>
            <if test="tailCut !=null">
                and PPST.TAIL_CUT = #{tailCut,jdbcType = INTEGER}
            </if>
            <if test="urgOrderFlag !=null">
                and PPST.URG_ORDER_FLAG = #{urgOrderFlag,jdbcType = VARCHAR}
            </if>
            <if test="sgSign !=null">
                and PPST.SG_SIGN = #{sgSign,jdbcType = VARCHAR}
            </if>
            <if test="stNo !=null">
                and PPST.ST_NO = #{stNo,jdbcType = VARCHAR}
            </if>
            <if test="stNo1 !=null">
                and PPST.ST_NO1 = #{stNo1,jdbcType = VARCHAR}
            </if>
            <if test="stNo2 !=null">
                and PPST.ST_NO2 = #{stNo2,jdbcType = VARCHAR}
            </if>
            <if test="stNo3 !=null">
                and PPST.ST_NO3 = #{stNo3,jdbcType = VARCHAR}
            </if>
            <if test="stNo4 !=null">
                and PPST.ST_NO4 = #{stNo4,jdbcType = VARCHAR}
            </if>
            <if test="stNo5 !=null">
                and PPST.ST_NO5 = #{stNo5,jdbcType = VARCHAR}
            </if>
            <if test="stNo6 !=null">
                and PPST.ST_NO6 = #{stNo6,jdbcType = VARCHAR}
            </if>
            <if test="stNo7 !=null">
                and PPST.ST_NO7 = #{stNo7,jdbcType = VARCHAR}
            </if>
            <if test="stNo8 !=null">
                and PPST.ST_NO8 = #{stNo8,jdbcType = VARCHAR}
            </if>
            <if test="stNo9 !=null">
                and PPST.ST_NO9 = #{stNo9,jdbcType = VARCHAR}
            </if>
            <if test="outSgNo !=null">
                and PPST.OUT_SG_NO = #{outSgNo,jdbcType = VARCHAR}
            </if>
            <if test="sgDecideTime !=null">
                and PPST.SG_DECIDE_TIME = #{sgDecideTime,jdbcType = OTHER}
            </if>
            <if test="twoRollInterimFlag !=null">
                and PPST.TWO_ROLL_INTERIM_FLAG = #{twoRollInterimFlag,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabThick !=null">
                and PPST.PRE_CLEAN_SLAB_THICK = #{preCleanSlabThick,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabWidth !=null">
                and PPST.PRE_CLEAN_SLAB_WIDTH = #{preCleanSlabWidth,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabLen !=null">
                and PPST.PRE_CLEAN_SLAB_LEN = #{preCleanSlabLen,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabMaxLen !=null">
                and PPST.PRE_CLEAN_SLAB_MAX_LEN = #{preCleanSlabMaxLen,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabMinLen !=null">
                and PPST.PRE_CLEAN_SLAB_MIN_LEN = #{preCleanSlabMinLen,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabWt !=null">
                and PPST.PRE_CLEAN_SLAB_WT = #{preCleanSlabWt,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabMaxWt !=null">
                and PPST.PRE_CLEAN_SLAB_MAX_WT = #{preCleanSlabMaxWt,jdbcType = INTEGER}
            </if>
            <if test="preCleanSlabMinWt !=null">
                and PPST.PRE_CLEAN_SLAB_MIN_WT = #{preCleanSlabMinWt,jdbcType = INTEGER}
            </if>
            <if test="infurSlabThick !=null">
                and PPST.INFUR_SLAB_THICK = #{infurSlabThick,jdbcType = INTEGER}
            </if>
            <if test="infurSlabWid !=null">
                and PPST.INFUR_SLAB_WID = #{infurSlabWid,jdbcType = INTEGER}
            </if>
            <if test="infurSlabLen !=null">
                and PPST.INFUR_SLAB_LEN = #{infurSlabLen,jdbcType = INTEGER}
            </if>
            <if test="infurSlabMaxLen !=null">
                and PPST.INFUR_SLAB_MAX_LEN = #{infurSlabMaxLen,jdbcType = INTEGER}
            </if>
            <if test="infurSlabMinLen !=null">
                and PPST.INFUR_SLAB_MIN_LEN = #{infurSlabMinLen,jdbcType = INTEGER}
            </if>
            <if test="infurSlabWt !=null">
                and PPST.INFUR_SLAB_WT = #{infurSlabWt,jdbcType = INTEGER}
            </if>
            <if test="infurSlabMaxWt !=null">
                and PPST.INFUR_SLAB_MAX_WT = #{infurSlabMaxWt,jdbcType = INTEGER}
            </if>
            <if test="infurSlabMinWt !=null">
                and PPST.INFUR_SLAB_MIN_WT = #{infurSlabMinWt,jdbcType = INTEGER}
            </if>
            <if test="needSlabLen !=null">
                and PPST.NEED_SLAB_LEN = #{needSlabLen,jdbcType = INTEGER}
            </if>
            <if test="needSlabWt !=null">
                and PPST.NEED_SLAB_WT = #{needSlabWt,jdbcType = INTEGER}
            </if>
            <if test="fixSlabLenFlag !=null">
                and PPST.FIX_SLAB_LEN_FLAG = #{fixSlabLenFlag,jdbcType = INTEGER}
            </if>
            <if test="fixSlabLen !=null">
                and PPST.FIX_SLAB_LEN = #{fixSlabLen,jdbcType = INTEGER}
            </if>
            <if test="slabCleanWtLossRateSt !=null">
                and PPST.SLAB_CLEAN_WT_LOSS_RATE_ST = #{slabCleanWtLossRateSt,jdbcType = INTEGER}
            </if>
            <if test="slabCleanWtLossRateFr !=null">
                and PPST.SLAB_CLEAN_WT_LOSS_RATE_FR = #{slabCleanWtLossRateFr,jdbcType = INTEGER}
            </if>
            <if test="hpFlameCleanDiv !=null">
                and PPST.HP_FLAME_CLEAN_DIV = #{hpFlameCleanDiv,jdbcType = VARCHAR}
            </if>
            <if test="slabFinishCode !=null">
                and PPST.SLAB_FINISH_CODE = #{slabFinishCode,jdbcType = VARCHAR}
            </if>
            <if test="slabPlaceCode !=null">
                and PPST.SLAB_PLACE_CODE = #{slabPlaceCode,jdbcType = VARCHAR}
            </if>
            <if test="rollAimThick !=null">
                and PPST.ROLL_AIM_THICK = #{rollAimThick,jdbcType = INTEGER}
            </if>
            <if test="rollAimWidth !=null">
                and PPST.ROLL_AIM_WIDTH = #{rollAimWidth,jdbcType = INTEGER}
            </if>
            <if test="rollAimLen !=null">
                and PPST.ROLL_AIM_LEN = #{rollAimLen,jdbcType = INTEGER}
            </if>
            <if test="orderThickAxis !=null">
                and PPST.ORDER_THICK_AXIS = #{orderThickAxis,jdbcType = INTEGER}
            </if>
            <if test="combinePlateWidth !=null">
                and PPST.COMBINE_PLATE_WIDTH = #{combinePlateWidth,jdbcType = INTEGER}
            </if>
            <if test="combinePlateLen !=null">
                and PPST.COMBINE_PLATE_LEN = #{combinePlateLen,jdbcType = INTEGER}
            </if>
            <if test="rollWtHp !=null">
                and PPST.ROLL_WT_HP = #{rollWtHp,jdbcType = INTEGER}
            </if>
            <if test="rollThickTolMax !=null">
                and PPST.ROLL_THICK_TOL_MAX = #{rollThickTolMax,jdbcType = INTEGER}
            </if>
            <if test="rollThickTolMin !=null">
                and PPST.ROLL_THICK_TOL_MIN = #{rollThickTolMin,jdbcType = INTEGER}
            </if>
            <if test="normYield !=null">
                and PPST.NORM_YIELD = #{normYield,jdbcType = INTEGER}
            </if>
            <if test="commandYield !=null">
                and PPST.COMMAND_YIELD = #{commandYield,jdbcType = INTEGER}
            </if>
            <if test="rollYield !=null">
                and PPST.ROLL_YIELD = #{rollYield,jdbcType = INTEGER}
            </if>
            <if test="edgerUseFlag !=null">
                and PPST.EDGER_USE_FLAG = #{edgerUseFlag,jdbcType = VARCHAR}
            </if>
            <if test="broadMasUseFlag !=null">
                and PPST.BROAD_MAS_USE_FLAG = #{broadMasUseFlag,jdbcType = VARCHAR}
            </if>
            <if test="formMasUseFlag !=null">
                and PPST.FORM_MAS_USE_FLAG = #{formMasUseFlag,jdbcType = VARCHAR}
            </if>
            <if test="rollDirectCode !=null">
                and PPST.ROLL_DIRECT_CODE = #{rollDirectCode,jdbcType = VARCHAR}
            </if>
            <if test="sampleLenHead !=null">
                and PPST.SAMPLE_LEN_HEAD = #{sampleLenHead,jdbcType = INTEGER}
            </if>
            <if test="sampleLenTail !=null">
                and PPST.SAMPLE_LEN_TAIL = #{sampleLenTail,jdbcType = INTEGER}
            </if>
            <if test="sampleLenMid !=null">
                and PPST.SAMPLE_LEN_MID = #{sampleLenMid,jdbcType = INTEGER}
            </if>
            <if test="rsCode !=null">
                and PPST.RS_CODE = #{rsCode,jdbcType = VARCHAR}
            </if>
            <if test="broadFlag !=null">
                and PPST.BROAD_FLAG = #{broadFlag,jdbcType = VARCHAR}
            </if>
            <if test="orderNoAxis !=null">
                and PPST.ORDER_NO_AXIS = #{orderNoAxis,jdbcType = VARCHAR}
            </if>
            <if test="mscLineNo !=null">
                and PPST.MSC_LINE_NO = #{mscLineNo,jdbcType = VARCHAR}
            </if>
            <if test="lastSlabFlag !=null">
                and PPST.LAST_SLAB_FLAG = #{lastSlabFlag,jdbcType = INTEGER}
            </if>
            <if test="addSlabFlag !=null">
                and PPST.ADD_SLAB_FLAG = #{addSlabFlag,jdbcType = VARCHAR}
            </if>
            <if test="shpCode !=null">
                and PPST.SHP_CODE = #{shpCode,jdbcType = VARCHAR}
            </if>
            <if test="taperRollThick1 !=null">
                and PPST.TAPER_ROLL_THICK1 = #{taperRollThick1,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax1 !=null">
                and PPST.TAPER_ROLL_THICK_MAX1 = #{taperRollThickMax1,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin1 !=null">
                and PPST.TAPER_ROLL_THICK_MIN1 = #{taperRollThickMin1,jdbcType = INTEGER}
            </if>
            <if test="taperRollThick2 !=null">
                and PPST.TAPER_ROLL_THICK2 = #{taperRollThick2,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax2 !=null">
                and PPST.TAPER_ROLL_THICK_MAX2 = #{taperRollThickMax2,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin2 !=null">
                and PPST.TAPER_ROLL_THICK_MIN2 = #{taperRollThickMin2,jdbcType = INTEGER}
            </if>
            <if test="taperRollThick3 !=null">
                and PPST.TAPER_ROLL_THICK3 = #{taperRollThick3,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax3 !=null">
                and PPST.TAPER_ROLL_THICK_MAX3 = #{taperRollThickMax3,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin3 !=null">
                and PPST.TAPER_ROLL_THICK_MIN3 = #{taperRollThickMin3,jdbcType = INTEGER}
            </if>
            <if test="taperRollWidth !=null">
                and PPST.TAPER_ROLL_WIDTH = #{taperRollWidth,jdbcType = INTEGER}
            </if>
            <if test="taperRollLen1 !=null">
                and PPST.TAPER_ROLL_LEN1 = #{taperRollLen1,jdbcType = INTEGER}
            </if>
            <if test="taperRollLen2 !=null">
                and PPST.TAPER_ROLL_LEN2 = #{taperRollLen2,jdbcType = INTEGER}
            </if>
            <if test="taperRollLen3 !=null">
                and PPST.TAPER_ROLL_LEN3 = #{taperRollLen3,jdbcType = INTEGER}
            </if>
            <if test="taperRollLen4 !=null">
                and PPST.TAPER_ROLL_LEN4 = #{taperRollLen4,jdbcType = INTEGER}
            </if>
            <if test="taperRollThick4 !=null">
                and PPST.TAPER_ROLL_THICK4 = #{taperRollThick4,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax4 !=null">
                and PPST.TAPER_ROLL_THICK_MAX4 = #{taperRollThickMax4,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin4 !=null">
                and PPST.TAPER_ROLL_THICK_MIN4 = #{taperRollThickMin4,jdbcType = INTEGER}
            </if>
            <if test="taperRollThick5 !=null">
                and PPST.TAPER_ROLL_THICK5 = #{taperRollThick5,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax5 !=null">
                and PPST.TAPER_ROLL_THICK_MAX5 = #{taperRollThickMax5,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin5 !=null">
                and PPST.TAPER_ROLL_THICK_MIN5 = #{taperRollThickMin5,jdbcType = INTEGER}
            </if>
            <if test="taperRollThick6 !=null">
                and PPST.TAPER_ROLL_THICK6 = #{taperRollThick6,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax6 !=null">
                and PPST.TAPER_ROLL_THICK_MAX6 = #{taperRollThickMax6,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin6 !=null">
                and PPST.TAPER_ROLL_THICK_MIN6 = #{taperRollThickMin6,jdbcType = INTEGER}
            </if>
            <if test="taperRollThick7 !=null">
                and PPST.TAPER_ROLL_THICK7 = #{taperRollThick7,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMax7 !=null">
                and PPST.TAPER_ROLL_THICK_MAX7 = #{taperRollThickMax7,jdbcType = INTEGER}
            </if>
            <if test="taperRollThickMin7 !=null">
                and PPST.TAPER_ROLL_THICK_MIN7 = #{taperRollThickMin7,jdbcType = INTEGER}
            </if>
            <if test="taperRollLen6 !=null">
                and PPST.TAPER_ROLL_LEN6 = #{taperRollLen6,jdbcType = INTEGER}
            </if>
            <if test="taperRollLen7 !=null">
                and PPST.TAPER_ROLL_LEN7 = #{taperRollLen7,jdbcType = INTEGER}
            </if>
            <if test="tenantId !=null">
                and PPST.TENANT_ID = #{tenantId,jdbcType = INTEGER}
            </if>
            <if test="attribute1 !=null">
                and PPST.ATTRIBUTE1 = #{attribute1,jdbcType = VARCHAR}
            </if>
            <if test="attribute2 !=null">
                and PPST.ATTRIBUTE2 = #{attribute2,jdbcType = VARCHAR}
            </if>
            <if test="attribute3 !=null">
                and PPST.ATTRIBUTE3 = #{attribute3,jdbcType = VARCHAR}
            </if>
            <if test="attribute4 !=null">
                and PPST.ATTRIBUTE4 = #{attribute4,jdbcType = VARCHAR}
            </if>
            <if test="attribute5 !=null">
                and PPST.ATTRIBUTE5 = #{attribute5,jdbcType = VARCHAR}
            </if>
            <if test="transFlag !=null">
                and PPST.TRANS_FLAG = #{transFlag,jdbcType = INTEGER}
            </if>
        </where>
    </select>
</mapper>

