<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="">
    <query id="JdgMchWatergageResult.getInfo" desc="获取水压信息">
        <![CDATA[
SELECT T.PLINE_CODE,T.TEST_PRESSURE, T.HOLDTIME_TIME, T.TEST_PRESSURE_Y, '合格' WATER_RESULT, T.REPORT_PATH,
T.PRO_NUM, T.FAIL_NUM
  FROM MCH_WATERGAGE_RESULT T
 WHERE T.JUDGE_STOVE_NO = {0}
   AND T.BATCH_NO = {1}
        ]]>
    </query>

    <query id="JdgMchWatergageResult.getInfoByPline" desc="获取水压信息">
        <![CDATA[
SELECT T.TEST_PRESSURE, T.HOLDTIME_TIME, T.TEST_PRESSURE_Y, '合格' WATER_RESULT, T.REPORT_PATH,
T.PRO_NUM, T.FAIL_NUM
  FROM MCH_WATERGAGE_RESULT T
 WHERE T.JUDGE_STOVE_NO = {0}
   AND T.BATCH_NO = {1}
   AND T.PLINE_CODE = {2}
        ]]>
    </query>

    <query id="JdgMchWatergageResult.getZgInfo" desc="获取轧管水压信息">
        <![CDATA[
SELECT T.TEST_PRESSURE,
       T.HOLDTIME_TIME,
       T.TEST_PRESSURE_Y,
       '合格' WATER_RESULT,
       T.WPRESSURE_RESULT_PATH REPORT_PATH,
       T.ACT_COUNT PRO_NUM,
       0 FAIL_NUM
  FROM QCM_ZG_JUGDE_APPLY T
 WHERE T.JUDGE_STOVE_NO = {0}
   AND T.BATCH_NO = {1}
   AND T.PROCESS_CODE = {2}
   AND T.IS_FLAG = '0'
   AND T.IS_ALL_SCRAP = '0'
        ]]>
    </query>

    <query id="JdgMchWatergageResult.getInfoByPline" desc="获取轧管水压信息">
        <![CDATA[
SELECT T.TEST_PRESSURE,
       T.HOLDTIME_TIME,
       T.TEST_PRESSURE_Y,
       '合格' WATER_RESULT,
       T.WPRESSURE_RESULT_PATH REPORT_PATH,
       T.ACT_COUNT PRO_NUM,
       0 FAIL_NUM
  FROM QCM_ZG_JUGDE_APPLY T
 WHERE T.JUDGE_STOVE_NO = {0}
   AND T.BATCH_NO = {1}
   AND T.PROCESS_CODE = {2}
   AND T.PLINE_CODE = {3}
   AND T.IS_FLAG = '0'
   AND T.IS_ALL_SCRAP = '0'
        ]]>
    </query>

</queryMap>