<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="质量设计理化">
	<query id="SlmOrdDesignStdPicDAL.query" desc="查询质量设计理化">
		<![CDATA[
 SELECT 
       T.DESGIN_KEY,
       T.PIC,
       T.USE_CODE,
       T.USE_DESC,
       T.SPECL_FL,
       T.INDEX_SEQ,
       T.PHY_CODE_MAX,
       T.PHY_NAME_MAX,
       T.PHY_CODE_MIN,
       T.PHY_NAME_MIN,
       T.PHY_CODE,
       T.PHY_NAME,
       T.ITEM_CODE_F,
       T.ITEM_NAME_F,
       T.ITEM_CODE_W,
       T.ITEM_NAME_W,
       T.ITEM_CODE_S,
       T.ITEM_NAME_S,
       T.GROUP_SEQ,
       T.ISCHECK,
       T.ISQUOTE,
       T.RESULT_COUNT,
       T.ISJUDGE,
       T.PHY_TYPE,
       T.PHY_FORMULA,
       T.STDMIN_SIGN,
       T.STDMIN,
       T.STDMAX_SIGN,
       T.STDMAX,
       T.JUDGE_BASIS,
       T.DELIVERYSTATE,
       T.MODEL_CODE,
       T.MODEL_DESC,
       T.STDMEMO,
       T.SIZE_CODE,
       T.SIZE_NAME,
       T.SIZE_MIN_SIGN,
       T.SIZE_MIN,
       T.SIZE_MAX_SIGN,
       T.SIZE_MAX,
       T.SIZE_CODE2,
       T.SIZE_NAME2,
       T.SIZE_MIN_SIGN2,
       T.SIZE_MIN2,
       T.SIZE_MAX_SIGN2,
       T.SIZE_MAX2,
       T.SPEC_JG,
       T.SPEC_JG_DESC,
       T.ADDCONDITION,
       T.ADDSTDCON_CODE,
       T.ADDSTD_MIN_SIGN,
       T.ADDSTD_MIN,
       T.ADDSTD_MAX_SIGN,
       T.ADDSTD_MAX,
       T.ADDPERCENT,
       T.STDMIN_SIGN2,
       T.STDMIN2,
       T.STDMAX_SIGN2,
       T.STDMAX2,
       T.STD_CHOOSE
 FROM SLM_ORD_DESIGN_STD_PIC T
 WHERE
T.DESGIN_KEY = '#DESGIN_KEY#'
AND INSTR('#PIC#', T.PIC) > 0
		]]>
	</query>
	
	<query id="SlmOrdDesignStdPicDAL.queryPicByDesignKey" desc="查询质量设计理化">
		<![CDATA[
 SELECT 
       T.DESGIN_KEY,
       T.PIC
 FROM SLM_ORD_DESIGN_STD_PIC T
 WHERE
T.DESGIN_KEY = '#DESGIN_KEY#'
AND INSTR('#PIC#', T.PIC) > 0
		]]>
	</query>
</queryMap>