Antiloveg 8 years ago
parent
commit
64f461d6d7
1 changed files with 10 additions and 10 deletions
  1. 10 10
      src/main/java/com/goafanti/common/mapper/DemandMapper.xml

+ 10 - 10
src/main/java/com/goafanti/common/mapper/DemandMapper.xml

@@ -525,13 +525,13 @@
 		and  d.release_status = #{releaseStatus,jdbcType=INTEGER}
 	</if>
 	<if test="vStart != null">
-	   and d.validity_veriod <![CDATA[ > ]]> #{vStart,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ >= ]]> #{vStart,jdbcType=TIMESTAMP}
 	</if>
 	<if test="vEnd != null">
-	   and d.validity_veriod <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
 	</if>
 	<if test="rStart != null">
-       and	d.release_date <![CDATA[ > ]]> #{rStart,jdbcType=TIMESTAMP}
+       and	d.release_date <![CDATA[ >= ]]> #{rStart,jdbcType=TIMESTAMP}
 	</if>
 	<if test="rEnd != null">
 	   and d.release_date <![CDATA[ < ]]> #{rEnd,jdbcType=TIMESTAMP}
@@ -592,10 +592,10 @@
 		and  d.release_status = #{releaseStatus,jdbcType=INTEGER}
 	</if>
 	<if test="vStart != null">
-	   and d.validity_veriod <![CDATA[ > ]]> #{vStart,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ > ]]> #{vStart,jdbcType=TIMESTAMP}
 	</if>
 	<if test="vEnd != null">
-	   and d.validity_veriod <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
 	</if>
 	<if test="rStart != null">
        and	d.release_date <![CDATA[ > ]]> #{rStart,jdbcType=TIMESTAMP}
@@ -661,10 +661,10 @@
 		and  d.release_status = #{releaseStatus,jdbcType=VARCHAR}
 	</if>
 	<if test="vStart != null">
-	   and d.validity_veriod <![CDATA[ >= ]]> #{vStart,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ >= ]]> #{vStart,jdbcType=TIMESTAMP}
 	</if>
 	<if test="vEnd != null">
-	   and d.validity_veriod <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
 	</if>
 	<if test="rStart != null">
        and	d.release_date <![CDATA[ >= ]]> #{rStart,jdbcType=TIMESTAMP}
@@ -728,13 +728,13 @@
 		and  d.release_status = #{releaseStatus,jdbcType=VARCHAR}
 	</if>
 	<if test="vStart != null">
-	   and d.validity_veriod <![CDATA[ > ]]> #{vStart,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ >= ]]> #{vStart,jdbcType=TIMESTAMP}
 	</if>
 	<if test="vEnd != null">
-	   and d.validity_veriod <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
+	   and d.validity_period <![CDATA[ < ]]> #{vEnd,jdbcType=TIMESTAMP}
 	</if>
 	<if test="rStart != null">
-       and	d.release_date <![CDATA[ > ]]> #{rStart,jdbcType=TIMESTAMP}
+       and	d.release_date <![CDATA[ >= ]]> #{rStart,jdbcType=TIMESTAMP}
 	</if>
 	<if test="rEnd != null">
 	   and d.release_date <![CDATA[ < ]]> #{rEnd,jdbcType=TIMESTAMP}