<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="JGXPRICE （生成工具：代码生成工具1.0.0.0   访问地址：http://172.16.2.128/tool/）">
    <query id="JgxpriceDAL.Query" desc="查询">
        <![CDATA[
 SELECT 
       T.PROCESS_CODE,
       T.PROCESS_POINTS,
       T.PRICE
 FROM JGXPRICE T
 WHERE
      1<>1
        ]]>
    </query>
    <query id="JgxpriceDAL.QueryByPk" desc="通过主键查询">
        <![CDATA[
 SELECT 
       T.PROCESS_CODE,
       T.PROCESS_POINTS,
       T.PRICE
 FROM JGXPRICE T
 WHERE
      1<>1
        ]]>
    </query>
    <query id="JgxpriceDAL.Insert" desc="新增">
        <![CDATA[
 INSERT INTO JGXPRICE(
        PROCESS_CODE,
        PROCESS_POINTS,
        PRICE)
 VALUES( 
        '#PROCESS_CODE#',
        '#PROCESS_POINTS#',
        '#PRICE#')
        ]]>
    </query>
    <query id="JgxpriceDAL.Update" desc="修改">
        <![CDATA[
 UPDATE JGXPRICE T
   SET 
        T.PRICE = '#PRICE#'
 WHERE
        T.PROCESS_CODE = '#PROCESS_CODE#'
        AND
        T.PROCESS_POINTS = '#PROCESS_POINTS#'
        ]]>
    </query>
    <query id="JgxpriceDAL.GetMaxPk" desc="获取最大主键">
        <![CDATA[
SELECT NVL(MAX(?), 0) + 1 MAX_VALUE FROM JGXPRICE T
        ]]>
    </query>
    <query id="JgxpriceDAL.Delete" desc="作废">
        <![CDATA[
        
        DELETE FROM  JGXPRICE
        WHERE 
        PROCESS_CODE = ?
        AND
        PROCESS_POINTS = ?
        ]]>
    </query>
    <query id="JgxpriceDAL.Resume" desc="恢复">
        <![CDATA[
UPDATE JGXPRICE 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>