<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="质量设计公差">
	<query id="SlmOrdDesignStdSicDAL.query" desc="查询质量设计公差">
		<![CDATA[
 SELECT 
       T.DESGIN_KEY,
       T.SIC,
       T.USE_CODE,
       T.USE_DESC,
       T.SPECL_FL,
       T.INDEX_SEQ,
       T.BIAS_CODE,
       T.BIAS_NAME,
       T.LV,
       T.BIAS_CODE_Z,
       T.BIAS_NAME_Z,
       T.ZMIN_SIGN,
       T.ZMIN,
       T.ZMAX_SIGN,
       T.ZMAX,
       T.BIAS_CODE_C,
       T.BIAS_NAME_C,
       T.CMIN_SIGN,
       T.CMIN,
       T.CMAX_SIGN,
       T.CMAX,
       T.BIAS_CODE_S,
       T.BIAS_NAME_S,
       T.SMIN_SIGN,
       T.SMIN,
       T.SMAX_SIGN,
       T.SMAX,
       T.ISCHECK,
       T.STD_MIN_VAL,
       T.STD_MAX_VAL,
       T.STD_MIN_IN,
       T.STD_MAX_IN,
       T.STD_MIN_PERCENT,
       T.STD_MAX_PERCENT,
       T.STD_MIN_FORMULA,
       T.STD_MAX_FORMULA,
       T.STD_MIN_FORMULA_V,
       T.STD_MAX_FORMULA_V,
       T.STDMEMO
 FROM SLM_ORD_DESIGN_STD_SIC T
 WHERE
T.DESGIN_KEY = '#DESGIN_KEY#'
AND INSTR('#SIC#', T.SIC) > 0
		]]>
	</query>
	
	<query id="SlmOrdDesignStdSicDAL.querySicByDesignKey" desc="查询质量设计公差">
		<![CDATA[
 SELECT 
       T.DESGIN_KEY,
       T.SIC
 FROM SLM_ORD_DESIGN_STD_SIC T
 WHERE
T.DESGIN_KEY = '#DESGIN_KEY#'
AND INSTR('#SIC#', T.SIC) > 0
		]]>
	</query>
</queryMap>