<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="">
	<query id="JhyPhyDbBaseInfoToQcmPhyEntrust.queryJhyPhyDbBaseInfo" desc="">
		<![CDATA[
select * from steer_phydb_baseinfo t WHERE T.CX_FLAG = '0' AND ROWNUM <= 50
		]]>
	</query>
	<query id="JhyPhyDbBaseInfoToQcmPhyEntrust.updateJhyPhyDbBaseInfo" desc="">
		<![CDATA[
update steer_phydb_baseinfo t set t.cx_flag = '#CX_FLAG#' where t.id = '#ID#'
		]]>
	</query>
	<query id="JhyPhyDbBaseInfoToQcmPhyEntrust.insertQcmPhyEntrust" desc="新增记录">
		<![CDATA[
INSERT INTO QCM_PHY_ENTRUST(
        ID,
        HEAT_NO,
        CHANGE_HEAT_NO,
        HEAT_NUM,
        STEEL_NO,
        SAMPLE_SOURCE,
        DB_SOURCE,
        SAMPLE_TYPE,
        PRODUCT_STD,
        PRODUCCODE,
        ORDER_NO_SEQ,
        PRODUCNAME,
        CUSTOMER_NO,
        CUSTOMER_NM,
        SAMPLE_SIZE,
        PLAN_TIME,
        CHECK_NAME,
        CHECK_TIME,
        CHECK_SHIFT,
        CHECK_CLASS,
        CHECK_TEMP,
        DEVICE_NO,
        DEVICE_NAME,
        AUDIT_NAME,
        AUDIT_TIME,
        FLAG,
        CX_FLAG,
        REMARK)
 VALUES( 
        '#ID#',
        '#HEAT_NO#',
        '#CHANGE_HEAT_NO#',
        '#HEAT_NUM#',
        '#STEEL_NO#',
        '#SAMPLE_SOURCE#',
        '#DB_SOURCE#',
        '#SAMPLE_TYPE#',
        '#PRODUCT_STD#',
        '#PRODUCCODE#',
        '#ORDER_NO_SEQ#',
        '#PRODUCNAME#',
        '#CUSTOMER_NO#',
        '#CUSTOMER_NM#',
        '#SAMPLE_SIZE#',
        SYSDATE,
        '#CHECK_NAME#',
        SYSDATE,
        '#CHECK_SHIFT#',
        '#CHECK_CLASS#',
        '#CHECK_TEMP#',
        '#DEVICE_NO#',
        '#DEVICE_NAME#',
        '#AUDIT_NAME#',
        SYSDATE,
        '#FLAG#',
        '#CX_FLAG#',
        '#REMARK#')
		]]>
	</query>
	<query id="JhyPhyDbBaseInfoToQcmPhyEntrust.deleteQcmPhyEntrust" desc="">
		<![CDATA[
DELETE FROM qcm_phy_entrust T WHERE T.ID = '#ID#'
		]]>
	</query>
</queryMap>