Browse Source

客户查询时间搜索BUG修复

anderx 7 years ago
parent
commit
fed8c88a63
1 changed files with 20 additions and 20 deletions
  1. 20 20
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 20 - 20
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -24,10 +24,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.province = #{province,jdbcType=INTEGER}
@@ -59,10 +59,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.province = #{province,jdbcType=INTEGER}
@@ -107,10 +107,10 @@
 			and t0.identify_name like concat('%',#{name},'%')
 		</if>
 		<if test="startDate != null and startDate != ''">
-			and t0.transfer_time &gt; startDate
+			and t0.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and t0.transfer_time &lt; endDate
+			and t0.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.province = #{province,jdbcType=INTEGER}
@@ -135,10 +135,10 @@
 			and t0.identify_name like concat('%',#{name},'%')
 		</if>	
 		<if test="startDate != null and startDate != ''">
-			and t0.transfer_time &gt; startDate
+			and t0.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and t0.transfer_time &lt; endDate
+			and t0.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.province = #{province,jdbcType=INTEGER}
@@ -176,10 +176,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>	
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.province = #{province,jdbcType=INTEGER}
@@ -211,10 +211,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>	
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.province = #{province,jdbcType=INTEGER}
@@ -338,10 +338,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.location_province = #{province,jdbcType=INTEGER}
@@ -373,10 +373,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.location_province = #{province,jdbcType=INTEGER}
@@ -499,10 +499,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>	
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.location_province = #{province,jdbcType=INTEGER}
@@ -537,10 +537,10 @@
 			and a.identify_name like concat('%',#{name},'%')
 		</if>	
 		<if test="startDate != null and startDate != ''">
-			and a.transfer_time &gt; startDate
+			and a.transfer_time &gt; #{startDate}
 		</if>
 		<if test="endDate != null and endDate != ''">
-			and a.transfer_time &lt; endDate
+			and a.transfer_time &lt; #{endDate}
 		</if>
 		<if test="province != null">
 			and b.location_province = #{province,jdbcType=INTEGER}