|
@@ -842,4 +842,72 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
AND #{dateEnd}
|
|
AND #{dateEnd}
|
|
ORDER BY a.id ASC
|
|
ORDER BY a.id ASC
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <select id="selectTXinyiIndustryListNew" parameterType="TXinyiIndustry" resultMap="TXinyiIndustryResult">
|
|
|
|
+ <include refid="selectTXinyiIndustryVo"/>
|
|
|
|
+ <where>
|
|
|
|
+ <if test="testDate != null and testDate != ''"> and TEST_DATE = #{testDate}</if>
|
|
|
|
+ <if test="testHour != null and testHour != ''"> and TEST_HOUR = #{testHour}</if>
|
|
|
|
+ <if test="testTime != null and testTime != ''"> and TEST_TIME = #{testTime}</if>
|
|
|
|
+ <if test="jsCod != null "> and JS_COD = #{jsCod}</if>
|
|
|
|
+ <if test="jsPh != null "> and JS_PH = #{jsPh}</if>
|
|
|
|
+ <if test="jsSs != null "> and JS_SS = #{jsSs}</if>
|
|
|
|
+ <if test="jsTp != null "> and JS_TP = #{jsTp}</if>
|
|
|
|
+ <if test="jsTn != null "> and JS_TN = #{jsTn}</if>
|
|
|
|
+ <if test="jsNh3 != null "> and JS_NH3 = #{jsNh3}</if>
|
|
|
|
+ <if test="jsSwPh != null "> and JS_SW_PH = #{jsSwPh}</if>
|
|
|
|
+ <if test="jsBfyw != null "> and JS_BFYW = #{jsBfyw}</if>
|
|
|
|
+ <if test="csSlqc != null "> and CS_SLQC = #{csSlqc}</if>
|
|
|
|
+ <if test="csCod != null "> and CS_COD = #{csCod}</if>
|
|
|
|
+ <if test="csPh != null "> and CS_PH = #{csPh}</if>
|
|
|
|
+ <if test="csSs != null "> and CS_SS = #{csSs}</if>
|
|
|
|
+ <if test="csTn != null "> and CS_TN = #{csTn}</if>
|
|
|
|
+ <if test="csTp != null "> and CS_TP = #{csTp}</if>
|
|
|
|
+ <if test="csNh3 != null "> and CS_NH3 = #{csNh3}</if>
|
|
|
|
+ <if test="oneHyzdDo != null "> and ONE_HYZD_DO = #{oneHyzdDo}</if>
|
|
|
|
+ <if test="oneHymdDo != null "> and ONE_HYMD_DO = #{oneHymdDo}</if>
|
|
|
|
+ <if test="twoHyzdDo != null "> and TWO_HYZD_DO = #{twoHyzdDo}</if>
|
|
|
|
+ <if test="twoHymdDo != null "> and TWO_HYMD_DO = #{twoHymdDo}</if>
|
|
|
|
+ <if test="oneMlss != null "> and ONE_MLSS = #{oneMlss}</if>
|
|
|
|
+ <if test="twoMlss != null "> and TWO_MLSS = #{twoMlss}</if>
|
|
|
|
+ <if test="jsTds != null "> and JS_TDS = #{jsTds}</if>
|
|
|
|
+ <if test="jsSlq != null "> and JS_SLQ = #{jsSlq}</if>
|
|
|
|
+ <if test="nHlbOneGp != null "> and N_HLB_ONE_GP = #{nHlbOneGp}</if>
|
|
|
|
+ <if test="nHlbTwoGp != null "> and N_HLB_TWO_GP = #{nHlbTwoGp}</if>
|
|
|
|
+ <if test="nHlbThreeGp != null "> and N_HLB_THREE_GP = #{nHlbThreeGp}</if>
|
|
|
|
+ <if test="nHlbFourGp != null "> and N_HLB_FOUR_GP = #{nHlbFourGp}</if>
|
|
|
|
+ <if test="nhlBFiveGp != null "> and NHL_B_FIVE_GP = #{nhlBFiveGp}</if>
|
|
|
|
+ <if test="nHlbSixGp != null "> and N_HLB_SIX_GP = #{nHlbSixGp}</if>
|
|
|
|
+ <if test="wHlbOneGp != null "> and W_HLB_ONE_GP = #{wHlbOneGp}</if>
|
|
|
|
+ <if test="wHlbTwoGp != null "> and W_HLB_TWO_GP = #{wHlbTwoGp}</if>
|
|
|
|
+ <if test="wHlbThreeGp != null "> and W_HLB_THREE_GP = #{wHlbThreeGp}</if>
|
|
|
|
+ <if test="wHlbFourGp != null "> and W_HLB_FOUR_GP = #{wHlbFourGp}</if>
|
|
|
|
+ <if test="wHlbFiveGp != null "> and W_HLB_FIVE_GP = #{wHlbFiveGp}</if>
|
|
|
|
+ <if test="fjOne != null "> and FJ_ONE = #{fjOne}</if>
|
|
|
|
+ <if test="fjTwo != null "> and FJ_TWO = #{fjTwo}</if>
|
|
|
|
+ <if test="fjThree != null "> and FJ_THREE = #{fjThree}</if>
|
|
|
|
+ <if test="fjFour != null "> and FJ_FOUR = #{fjFour}</if>
|
|
|
|
+ <if test="fjFive != null "> and FJ_FIVE = #{fjFive}</if>
|
|
|
|
+ <if test="fjSix != null "> and FJ_SIX = #{fjSix}</if>
|
|
|
|
+ <if test="kqllOne != null "> and KQLL_ONE = #{kqllOne}</if>
|
|
|
|
+ <if test="kqllTwo != null "> and KQLL_TWO = #{kqllTwo}</if>
|
|
|
|
+ <if test="kqllThree != null "> and KQLL_THREE = #{kqllThree}</if>
|
|
|
|
+ <if test="kqllFour != null "> and KQLL_FOUR = #{kqllFour}</if>
|
|
|
|
+ <if test="kqllFive != null "> and KQLL_FIVE = #{kqllFive}</if>
|
|
|
|
+ <if test="kqllSix != null "> and KQLL_SIX = #{kqllSix}</if>
|
|
|
|
+ <if test="SJTYJLY != null "> and SJTYJLY = #{SJTYJLY}</if>
|
|
|
|
+ <if test="CLJYSSLL != null "> and CLJYSSLL = #{CLJYSSLL}</if>
|
|
|
|
+ <if test="hycRjyAll != null and hycRjyAll != ''"> and HYC_RJY_ALL = #{hycRjyAll}</if>
|
|
|
|
+ <if test="hycRjyZdAll != null and hycRjyZdAll != ''"> and HYC_RJY_ZD_ALL = #{hycRjyZdAll}</if>
|
|
|
|
+ <if test="hycWnndAll != null and hycWnndAll != ''"> and HYC_WNND_ALL = #{hycWnndAll}</if>
|
|
|
|
+ <if test="CLP04YCZ != null "> and CL_P04_YCZ = #{CLP04YCZ}</if>
|
|
|
|
+ <if test="createdTime != null "> and CREATED_TIME = #{createdTime}</if>
|
|
|
|
+ <!-- 下面是新增的SQL检索条件 -->
|
|
|
|
+ <if test="timeBegin != null and timeBegin != ''"> and TEST_DATE >= #{timeBegin}</if>
|
|
|
|
+ <if test="timeEnd != null and timeEnd != ''"> and TEST_DATE <= #{timeEnd}</if>
|
|
|
|
+ </where>
|
|
|
|
+ order by id asc
|
|
|
|
+ </select>
|
|
</mapper>
|
|
</mapper>
|