<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="TACABXX （生成工具：代码生成工具1.0.0.0   访问地址：http://172.16.2.128/tool/）">
    <query id="TacabxxDAL.Query" desc="查询">
        <![CDATA[
 SELECT 
       T.COST_CENTER_AC,
       T.WHOLE_BACKLOG_CODE,
       T.WHOLE_BACKLOG_ACT,
       T.PRODUCT_CODE,
       T.STEEL_TYPE_CODE,
       T.SG_CODE_AC,
       T.STD_CODE,
       T.SG_SIGN,
       T.CROSS_SHAPE_CODE,
       T.THICK_MIN_AI,
       T.THICK_MAX_AI,
       T.THICK_AI,
       T.WIDTH_MIN_AI,
       T.WIDTH_MAX_AI,
       T.WIDTH_AI,
       T.WIDTH_CHR,
       T.THICK_CHR,
       T.SPEC,
       T.SPECIAL_MARK,
       T.MAT_OUTER_DIA,
       T.MAT_INNER_DIA,
       T.SG_RATIO,
       T.REC_CREATOR,
       T.REC_CREATE_TIME,
       T.REC_REVISOR,
       T.REC_REVISE_TIME,
       T.REC_ERASOR,
       T.REC_ERASE_TIME,
       T.ARCHIVE_FLAG,
       T.ARCH_STAMP_NO,
       T.ARCHIVE_TIME
 FROM TACABXX T
 WHERE
       T.COST_CENTER_AC = '#COST_CENTER_AC#'
       AND T.WHOLE_BACKLOG_CODE = '#WHOLE_BACKLOG_CODE#'
       AND T.WHOLE_BACKLOG_ACT = '#WHOLE_BACKLOG_ACT#'
       AND T.PRODUCT_CODE = '#PRODUCT_CODE#'
       AND T.STEEL_TYPE_CODE = '#STEEL_TYPE_CODE#'
       AND T.SG_CODE_AC = '#SG_CODE_AC#'
       AND T.STD_CODE = '#STD_CODE#'
       AND T.SG_SIGN = '#SG_SIGN#'
       AND T.CROSS_SHAPE_CODE = '#CROSS_SHAPE_CODE#'
       AND T.THICK_MIN_AI = '#THICK_MIN_AI#'
       AND T.THICK_MAX_AI = '#THICK_MAX_AI#'
       AND T.THICK_AI = '#THICK_AI#'
       AND T.WIDTH_MIN_AI = '#WIDTH_MIN_AI#'
       AND T.WIDTH_MAX_AI = '#WIDTH_MAX_AI#'
       AND T.WIDTH_AI = '#WIDTH_AI#'
       AND T.WIDTH_CHR = '#WIDTH_CHR#'
       AND T.THICK_CHR = '#THICK_CHR#'
       AND T.SPEC = '#SPEC#'
       AND T.SPECIAL_MARK = '#SPECIAL_MARK#'
       AND T.MAT_OUTER_DIA = '#MAT_OUTER_DIA#'
       AND T.MAT_INNER_DIA = '#MAT_INNER_DIA#'
        ]]>
    </query>
    <query id="TacabxxDAL.QueryByPk" desc="通过主键查询">
        <![CDATA[
 SELECT 
       T.COST_CENTER_AC,
       T.WHOLE_BACKLOG_CODE,
       T.WHOLE_BACKLOG_ACT,
       T.PRODUCT_CODE,
       T.STEEL_TYPE_CODE,
       T.SG_CODE_AC,
       T.STD_CODE,
       T.SG_SIGN,
       T.CROSS_SHAPE_CODE,
       T.THICK_MIN_AI,
       T.THICK_MAX_AI,
       T.THICK_AI,
       T.WIDTH_MIN_AI,
       T.WIDTH_MAX_AI,
       T.WIDTH_AI,
       T.WIDTH_CHR,
       T.THICK_CHR,
       T.SPEC,
       T.SPECIAL_MARK,
       T.MAT_OUTER_DIA,
       T.MAT_INNER_DIA,
       T.SG_RATIO,
       T.REC_CREATOR,
       T.REC_CREATE_TIME,
       T.REC_REVISOR,
       T.REC_REVISE_TIME,
       T.REC_ERASOR,
       T.REC_ERASE_TIME,
       T.ARCHIVE_FLAG,
       T.ARCH_STAMP_NO,
       T.ARCHIVE_TIME
 FROM TACABXX T
 WHERE
       T.COST_CENTER_AC = '#COST_CENTER_AC#'
       AND T.WHOLE_BACKLOG_CODE = '#WHOLE_BACKLOG_CODE#'
       AND T.WHOLE_BACKLOG_ACT = '#WHOLE_BACKLOG_ACT#'
       AND T.PRODUCT_CODE = '#PRODUCT_CODE#'
       AND T.STEEL_TYPE_CODE = '#STEEL_TYPE_CODE#'
       AND T.SG_CODE_AC = '#SG_CODE_AC#'
       AND T.STD_CODE = '#STD_CODE#'
       AND T.SG_SIGN = '#SG_SIGN#'
       AND T.CROSS_SHAPE_CODE = '#CROSS_SHAPE_CODE#'
       AND T.THICK_MIN_AI = '#THICK_MIN_AI#'
       AND T.THICK_MAX_AI = '#THICK_MAX_AI#'
       AND T.THICK_AI = '#THICK_AI#'
       AND T.WIDTH_MIN_AI = '#WIDTH_MIN_AI#'
       AND T.WIDTH_MAX_AI = '#WIDTH_MAX_AI#'
       AND T.WIDTH_AI = '#WIDTH_AI#'
       AND T.WIDTH_CHR = '#WIDTH_CHR#'
       AND T.THICK_CHR = '#THICK_CHR#'
       AND T.SPEC = '#SPEC#'
       AND T.SPECIAL_MARK = '#SPECIAL_MARK#'
       AND T.MAT_OUTER_DIA = '#MAT_OUTER_DIA#'
       AND T.MAT_INNER_DIA = '#MAT_INNER_DIA#'
        ]]>
    </query>
    <query id="TacabxxDAL.Insert" desc="新增">
        <![CDATA[
 INSERT INTO TACABXX(
        COST_CENTER_AC,
        WHOLE_BACKLOG_CODE,
        WHOLE_BACKLOG_ACT,
        PRODUCT_CODE,
        STEEL_TYPE_CODE,
        SG_CODE_AC,
        STD_CODE,
        SG_SIGN,
        CROSS_SHAPE_CODE,
        THICK_MIN_AI,
        THICK_MAX_AI,
        THICK_AI,
        WIDTH_MIN_AI,
        WIDTH_MAX_AI,
        WIDTH_AI,
        WIDTH_CHR,
        THICK_CHR,
        SPEC,
        SPECIAL_MARK,
        MAT_OUTER_DIA,
        MAT_INNER_DIA,
        SG_RATIO,
        REC_CREATOR,
        REC_CREATE_TIME,
        REC_REVISOR,
        REC_REVISE_TIME,
        REC_ERASOR,
        REC_ERASE_TIME,
        ARCHIVE_FLAG,
        ARCH_STAMP_NO,
        ARCHIVE_TIME)
 VALUES( 
        '#COST_CENTER_AC#',
        '#WHOLE_BACKLOG_CODE#',
        '#WHOLE_BACKLOG_ACT#',
        '#PRODUCT_CODE#',
        '#STEEL_TYPE_CODE#',
        '#SG_CODE_AC#',
        '#STD_CODE#',
        '#SG_SIGN#',
        '#CROSS_SHAPE_CODE#',
        '#THICK_MIN_AI#',
        '#THICK_MAX_AI#',
        '#THICK_AI#',
        '#WIDTH_MIN_AI#',
        '#WIDTH_MAX_AI#',
        '#WIDTH_AI#',
        '#WIDTH_CHR#',
        '#THICK_CHR#',
        '#SPEC#',
        '#SPECIAL_MARK#',
        '#MAT_OUTER_DIA#',
        '#MAT_INNER_DIA#',
        '#SG_RATIO#',
        '#REC_CREATOR#',
        '#REC_CREATE_TIME#',
        '#REC_REVISOR#',
        '#REC_REVISE_TIME#',
        '#REC_ERASOR#',
        '#REC_ERASE_TIME#',
        '#ARCHIVE_FLAG#',
        '#ARCH_STAMP_NO#',
        '#ARCHIVE_TIME#')
        ]]>
    </query>
    <query id="TacabxxDAL.Update" desc="修改">
        <![CDATA[
 UPDATE TACABXX T
   SET 
        T.COST_CENTER_AC = '#COST_CENTER_AC#',
        T.WHOLE_BACKLOG_CODE = '#WHOLE_BACKLOG_CODE#',
        T.WHOLE_BACKLOG_ACT = '#WHOLE_BACKLOG_ACT#',
        T.PRODUCT_CODE = '#PRODUCT_CODE#',
        T.STEEL_TYPE_CODE = '#STEEL_TYPE_CODE#',
        T.SG_CODE_AC = '#SG_CODE_AC#',
        T.STD_CODE = '#STD_CODE#',
        T.SG_SIGN = '#SG_SIGN#',
        T.CROSS_SHAPE_CODE = '#CROSS_SHAPE_CODE#',
        T.THICK_MIN_AI = '#THICK_MIN_AI#',
        T.THICK_MAX_AI = '#THICK_MAX_AI#',
        T.THICK_AI = '#THICK_AI#',
        T.WIDTH_MIN_AI = '#WIDTH_MIN_AI#',
        T.WIDTH_MAX_AI = '#WIDTH_MAX_AI#',
        T.WIDTH_AI = '#WIDTH_AI#',
        T.WIDTH_CHR = '#WIDTH_CHR#',
        T.THICK_CHR = '#THICK_CHR#',
        T.SPEC = '#SPEC#',
        T.SPECIAL_MARK = '#SPECIAL_MARK#',
        T.MAT_OUTER_DIA = '#MAT_OUTER_DIA#',
        T.MAT_INNER_DIA = '#MAT_INNER_DIA#',
        T.SG_RATIO = '#SG_RATIO#',
        T.REC_CREATOR = '#REC_CREATOR#',
        T.REC_CREATE_TIME = '#REC_CREATE_TIME#',
        T.REC_REVISOR = '#REC_REVISOR#',
        T.REC_REVISE_TIME = '#REC_REVISE_TIME#',
        T.REC_ERASOR = '#REC_ERASOR#',
        T.REC_ERASE_TIME = '#REC_ERASE_TIME#',
        T.ARCHIVE_FLAG = '#ARCHIVE_FLAG#',
        T.ARCH_STAMP_NO = '#ARCH_STAMP_NO#',
        T.ARCHIVE_TIME = '#ARCHIVE_TIME#'
 WHERE
       T.COST_CENTER_AC = '#COST_CENTER_AC#'
       AND T.WHOLE_BACKLOG_CODE = '#WHOLE_BACKLOG_CODE#'
       AND T.WHOLE_BACKLOG_ACT = '#WHOLE_BACKLOG_ACT#'
       AND T.PRODUCT_CODE = '#PRODUCT_CODE#'
       AND T.STEEL_TYPE_CODE = '#STEEL_TYPE_CODE#'
       AND T.SG_CODE_AC = '#SG_CODE_AC#'
       AND T.STD_CODE = '#STD_CODE#'
       AND T.SG_SIGN = '#SG_SIGN#'
       AND T.CROSS_SHAPE_CODE = '#CROSS_SHAPE_CODE#'
       AND T.THICK_MIN_AI = '#THICK_MIN_AI#'
       AND T.THICK_MAX_AI = '#THICK_MAX_AI#'
       AND T.THICK_AI = '#THICK_AI#'
       AND T.WIDTH_MIN_AI = '#WIDTH_MIN_AI#'
       AND T.WIDTH_MAX_AI = '#WIDTH_MAX_AI#'
       AND T.WIDTH_AI = '#WIDTH_AI#'
       AND T.WIDTH_CHR = '#WIDTH_CHR#'
       AND T.THICK_CHR = '#THICK_CHR#'
       AND T.SPEC = '#SPEC#'
       AND T.SPECIAL_MARK = '#SPECIAL_MARK#'
       AND T.MAT_OUTER_DIA = '#MAT_OUTER_DIA#'
       AND T.MAT_INNER_DIA = '#MAT_INNER_DIA#'
        ]]>
    </query>
    <query id="TacabxxDAL.GetMaxPk" desc="获取最大主键">
        <![CDATA[
SELECT NVL(MAX(COST_CENTER_AC), 0) + 1 MAX_VALUE FROM TACABXX T
        ]]>
    </query>
    <query id="TacabxxDAL.Delete" desc="作废">
        <![CDATA[
UPDATE TACABXX T
   SET
       T.VALIDFLAG = '0',
       T.DELETE_NAME = '#DELETE_NAME#',
       T.DELETE_TIME = SYSDATE
WHERE
       T.COST_CENTER_AC = '#COST_CENTER_AC#'
       AND T.WHOLE_BACKLOG_CODE = '#WHOLE_BACKLOG_CODE#'
       AND T.WHOLE_BACKLOG_ACT = '#WHOLE_BACKLOG_ACT#'
       AND T.PRODUCT_CODE = '#PRODUCT_CODE#'
       AND T.STEEL_TYPE_CODE = '#STEEL_TYPE_CODE#'
       AND T.SG_CODE_AC = '#SG_CODE_AC#'
       AND T.STD_CODE = '#STD_CODE#'
       AND T.SG_SIGN = '#SG_SIGN#'
       AND T.CROSS_SHAPE_CODE = '#CROSS_SHAPE_CODE#'
       AND T.THICK_MIN_AI = '#THICK_MIN_AI#'
       AND T.THICK_MAX_AI = '#THICK_MAX_AI#'
       AND T.THICK_AI = '#THICK_AI#'
       AND T.WIDTH_MIN_AI = '#WIDTH_MIN_AI#'
       AND T.WIDTH_MAX_AI = '#WIDTH_MAX_AI#'
       AND T.WIDTH_AI = '#WIDTH_AI#'
       AND T.WIDTH_CHR = '#WIDTH_CHR#'
       AND T.THICK_CHR = '#THICK_CHR#'
       AND T.SPEC = '#SPEC#'
       AND T.SPECIAL_MARK = '#SPECIAL_MARK#'
       AND T.MAT_OUTER_DIA = '#MAT_OUTER_DIA#'
       AND T.MAT_INNER_DIA = '#MAT_INNER_DIA#'
        ]]>
    </query>
    <query id="TacabxxDAL.Resume" desc="恢复">
        <![CDATA[
UPDATE TACABXX T
   SET
       T.VALIDFLAG = '1',
       T.DELETE_NAME = NULL,
       T.DELETE_TIME = NULL,
       T.UPDATE_NAME = '#UPDATE_NAME#',
       T.UPDATE_TIME = SYSDATE
WHERE
       T.COST_CENTER_AC = '#COST_CENTER_AC#'
       AND T.WHOLE_BACKLOG_CODE = '#WHOLE_BACKLOG_CODE#'
       AND T.WHOLE_BACKLOG_ACT = '#WHOLE_BACKLOG_ACT#'
       AND T.PRODUCT_CODE = '#PRODUCT_CODE#'
       AND T.STEEL_TYPE_CODE = '#STEEL_TYPE_CODE#'
       AND T.SG_CODE_AC = '#SG_CODE_AC#'
       AND T.STD_CODE = '#STD_CODE#'
       AND T.SG_SIGN = '#SG_SIGN#'
       AND T.CROSS_SHAPE_CODE = '#CROSS_SHAPE_CODE#'
       AND T.THICK_MIN_AI = '#THICK_MIN_AI#'
       AND T.THICK_MAX_AI = '#THICK_MAX_AI#'
       AND T.THICK_AI = '#THICK_AI#'
       AND T.WIDTH_MIN_AI = '#WIDTH_MIN_AI#'
       AND T.WIDTH_MAX_AI = '#WIDTH_MAX_AI#'
       AND T.WIDTH_AI = '#WIDTH_AI#'
       AND T.WIDTH_CHR = '#WIDTH_CHR#'
       AND T.THICK_CHR = '#THICK_CHR#'
       AND T.SPEC = '#SPEC#'
       AND T.SPECIAL_MARK = '#SPECIAL_MARK#'
       AND T.MAT_OUTER_DIA = '#MAT_OUTER_DIA#'
       AND T.MAT_INNER_DIA = '#MAT_INNER_DIA#'
        ]]>
    </query>
</queryMap>