<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="质量设计备料">
	<query id="SlmOrdDesignBlDAL.query" desc="查询质量设计备料">
		<![CDATA[
 SELECT 
       T.PSC_BL,
       T.PRODUCCODE,
       T.PRODUCNAME,
       T.STD_CODE,
       T.STD_NAME,
       T.STEELCODE,
       T.STEELNAME,
       T.STD_STYLE,
       T.STD_STYLE_DESC,
       T.MODEL_CODE,
       T.MODEL_DESC,
       T.MIN_D,
       T.MIN_H,
       T.USE_CODE,
       T.USE_DESC,
       T.CREATE_NAME,
       TO_CHAR(T.CREATE_TIME, 'YYYY-MM-DD HH24:MI:SS') CREATE_TIME,
       T.UPDATE_NAME,
       TO_CHAR(T.UPDATE_TIME, 'YYYY-MM-DD HH24:MI:SS') UPDATE_TIME,
       T.DELETE_NAME,
       TO_CHAR(T.DELETE_TIME, 'YYYY-MM-DD HH24:MI:SS') DELETE_TIME,
       T.VALIDFLAG,
       T.MEMO,
       T.MIN_L,
       T.MAX_L,
       T.FILE_JPG,
       T.DESGIN_KEY,
       T.REVIEW_STATUS
 FROM SLM_ORD_DESIGN_BL T
 WHERE
 T.DESGIN_KEY = '#DESGIN_KEY#'
 AND T.VALIDFLAG = '1'
		]]>
	</query>
	
	<query id="SlmOrdDesignBlDAL.queryByDesignKeys" desc="查询质量设计备料">
		<![CDATA[
 SELECT 
       T.PSC_BL,
       T.PRODUCCODE,
       T.PRODUCNAME,
       T.STD_CODE,
       T.STD_NAME,
       T.STEELCODE,
       T.STEELNAME,
       T.STD_STYLE,
       T.STD_STYLE_DESC,
       T.MODEL_CODE,
       T.MODEL_DESC,
       T.MIN_D,
       T.MIN_H,
       T.USE_CODE,
       T.USE_DESC,
       T.CREATE_NAME,
       TO_CHAR(T.CREATE_TIME, 'YYYY-MM-DD HH24:MI:SS') CREATE_TIME,
       T.UPDATE_NAME,
       TO_CHAR(T.UPDATE_TIME, 'YYYY-MM-DD HH24:MI:SS') UPDATE_TIME,
       T.DELETE_NAME,
       TO_CHAR(T.DELETE_TIME, 'YYYY-MM-DD HH24:MI:SS') DELETE_TIME,
       T.VALIDFLAG,
       T.MEMO,
       T.MIN_L,
       T.MAX_L,
       T.FILE_JPG,
       T.DESGIN_KEY,
       T.REVIEW_STATUS
 FROM SLM_ORD_DESIGN_BL T
 WHERE
 T.DESGIN_KEY IN ('#DESGIN_KEY#')
 AND T.VALIDFLAG = '1'
		]]>
	</query>
</queryMap>