<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="MODECOEFFICIENT （生成工具：代码生成工具1.0.0.0   访问地址：http://172.16.2.128/tool/）">
    <query id="ModecoefficientDAL.Query" desc="查询">
        <![CDATA[
 SELECT 
       T.MODEL_DESC,
       T.UPSETTING,
       T.TESTING,
       T.THREADING,
       T.THREADCOEFFICIENT,
       T.PHOSPHATING,
       T.SCREWING,
       T.HYDRAULIC,
       T.PATHWAY,
       T.LENGTHWEIGHING,
       T.LOGOPAINTING,
       T.WRAP,
       T.BALING,
       T.COUPLINGS
 FROM MODECOEFFICIENT T
 WHERE
      1<>1
        ]]>
    </query>
    <query id="ModecoefficientDAL.QueryByPk" desc="通过主键查询">
        <![CDATA[
 SELECT 
       T.MODEL_DESC,
       T.UPSETTING,
       T.TESTING,
       T.THREADING,
       T.THREADCOEFFICIENT,
       T.PHOSPHATING,
       T.SCREWING,
       T.HYDRAULIC,
       T.PATHWAY,
       T.LENGTHWEIGHING,
       T.LOGOPAINTING,
       T.WRAP,
       T.BALING,
       T.COUPLINGS
 FROM MODECOEFFICIENT T
 WHERE
      1<>1
        ]]>
    </query>
    <query id="ModecoefficientDAL.Insert" desc="新增">
        <![CDATA[
 INSERT INTO MODECOEFFICIENT(
        MODEL_DESC,
        UPSETTING,
        TESTING,
        THREADING,
        THREADCOEFFICIENT,
        PHOSPHATING,
        SCREWING,
        HYDRAULIC,
        PATHWAY,
        LENGTHWEIGHING,
        LOGOPAINTING,
        WRAP,
        BALING,
        COUPLINGS)
 VALUES( 
        '#MODEL_DESC#',
        '#UPSETTING#',
        '#TESTING#',
        '#THREADING#',
        '#THREADCOEFFICIENT#',
        '#PHOSPHATING#',
        '#SCREWING#',
        '#HYDRAULIC#',
        '#PATHWAY#',
        '#LENGTHWEIGHING#',
        '#LOGOPAINTING#',
        '#WRAP#',
        '#BALING#',
        '#COUPLINGS#')
        ]]>
    </query>
    <query id="ModecoefficientDAL.Update" desc="修改">
        <![CDATA[
 UPDATE MODECOEFFICIENT T
   SET 
        T.UPSETTING = '#UPSETTING#',
        T.TESTING = '#TESTING#',
        T.THREADING = '#THREADING#',
        T.THREADCOEFFICIENT = '#THREADCOEFFICIENT#',
        T.PHOSPHATING = '#PHOSPHATING#',
        T.SCREWING = '#SCREWING#',
        T.HYDRAULIC = '#HYDRAULIC#',
        T.PATHWAY = '#PATHWAY#',
        T.LENGTHWEIGHING = '#LENGTHWEIGHING#',
        T.LOGOPAINTING = '#LOGOPAINTING#',
        T.WRAP = '#WRAP#',
        T.BALING = '#BALING#',
        T.COUPLINGS = '#COUPLINGS#'
 WHERE
      T.MODEL_DESC = '#MODEL_DESC#'
        ]]>
    </query>
    <query id="ModecoefficientDAL.GetMaxPk" desc="获取最大主键">
        <![CDATA[
SELECT NVL(MAX(?), 0) + 1 MAX_VALUE FROM MODECOEFFICIENT T
        ]]>
    </query>
    <query id="ModecoefficientDAL.Delete" desc="作废">
        <![CDATA[
      DELETE FROM  MODECOEFFICIENT
      WHERE 
      MODEL_DESC = ?
        ]]>
    </query>
    <query id="ModecoefficientDAL.Resume" desc="恢复">
        <![CDATA[
UPDATE MODECOEFFICIENT T
   SET
       T.VALIDFLAG = '1',
       T.DELETE_NAME = NULL,
       T.DELETE_TIME = NULL,
       T.UPDATE_NAME = '#UPDATE_NAME#',
       T.UPDATE_TIME = SYSDATE
WHERE
      1<>1
        ]]>
    </query>
</queryMap>