<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="探伤等级">
	<query id="DetectionLeveDao.GetDetectionLeve" desc="获取探伤等级是否有效">
         <![CDATA[
SELECT C.VALIDFLAG VALUE, C.BASENAME VALUE2
  FROM COM_MSC_STD_DETECTION A, COM_MSC_STD_DETECTION_C B
  LEFT JOIN COM_BASE_INFO C
    ON C.BASECODE = B.LV_CODE
 WHERE A.MSC = '#MSC#'
   AND A.DIC = B.DIC
         ]]>
	</query>
</queryMap>