<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="客户特殊要求">

	<query id="ICustSpecialAskDao.getFinalCustomer" desc="通过客户Alpha编码查询最终客户编码">
         <![CDATA[
         SELECT T.CHEM_ALPHA_NO
           FROM SLM_CUST_ALPHA_USE T
          WHERE T.CUST_ALPHA_NO = ?
            AND T.VALIDFLAG = 1
         ]]>
	</query>

	<query id="ICustSpecialAskDao.getFinalCusts" desc="通过用途码查询最终客户编码">
         <![CDATA[
        SELECT CUST_CODE, CUST_NAME
          FROM COM_BASE_STD_R_CUST T
         WHERE T.STD_CODE = ?
           AND T.VALIDFLAG = 1
         ]]>
	</query>

	<query id="ICustSpecialAskDao.getPscInfo" desc="查询产品码信息">
         <![CDATA[
       SELECT PSC,
       PSC_DESC,
       PRODUCCODE,
       PRODUCNAME,
       STD_CODE,
       STD_NAME,
       STEELCODE,
       STEELNAME,
       STD_STYLE,
       STD_STYLE_DESC,
       NEW_PROC_CODE,
       NEW_PROC_DESC,
       DEPARTMENT_CODE,
       DEPARTMENT_DESC,
       UNIT_CODE,
       AUTOJUDGE,
       UNIT_DESC,
       CREATE_NAME,
       CREATE_TIME,
       UPDATE_NAME,
       UPDATE_TIME,
       DELETE_NAME,
       DELETE_TIME,
       VALIDFLAG,
       MEMO,
       PSC_OLD,
       PRODUC_HEAD,
       PRODUC_TYPE,
       PRODUC_STYLE,
       PRODUC_DESC
  FROM COM_PSC T
 WHERE T.PSC = ?
   AND T.VALIDFLAG = '1'
         ]]>
	</query>



</queryMap>