|
@@ -42,7 +42,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<include refid="selectTFurnancePressureVo"/>
|
|
<include refid="selectTFurnancePressureVo"/>
|
|
<where>
|
|
<where>
|
|
<if test="furnanceName != null and furnanceName != ''"> and furnance_name = #{furnanceName}</if>
|
|
<if test="furnanceName != null and furnanceName != ''"> and furnance_name = #{furnanceName}</if>
|
|
- <if test="recordTime != null "> and record_time = #{recordTime}</if>
|
|
|
|
|
|
+ <if test="recordTime != null ">
|
|
|
|
+ and extract (year from record_time) = extract (year from #{recordTime})
|
|
|
|
+ and extract (month from record_time) = extract (month from #{recordTime})
|
|
|
|
+ </if>
|
|
<if test="pass1 != null and pass1 != ''"> and pass1 = #{pass1}</if>
|
|
<if test="pass1 != null and pass1 != ''"> and pass1 = #{pass1}</if>
|
|
<if test="pass2 != null and pass2 != ''"> and pass2 = #{pass2}</if>
|
|
<if test="pass2 != null and pass2 != ''"> and pass2 = #{pass2}</if>
|
|
<if test="pass3 != null and pass3 != ''"> and pass3 = #{pass3}</if>
|
|
<if test="pass3 != null and pass3 != ''"> and pass3 = #{pass3}</if>
|