Antiloveg преди 8 години
родител
ревизия
8630dc7c88
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/main/java/com/goafanti/common/mapper/ContractMapper.xml

+ 3 - 3
src/main/java/com/goafanti/common/mapper/ContractMapper.xml

@@ -314,7 +314,7 @@
     and c.serialNumber = #{serialNumber,jdbcType=INTEGER}
   </if>
   <if test="id !=null">
-    and c.id = #{id,jdbcType=VARCAHR}
+    and c.id = #{id,jdbcType=VARCHAR}
   </if>
   <if test="type !=null">
     and c.type = #{type,jdbcType=INTEGER}
@@ -359,8 +359,8 @@
   <if test="principal != null">
 	and cl.principal = #{principal,jdbcType=VARCHAR}
   </if>
- <if test="contractId !=null">
-    and c.id = #{contractId,jdbcType=VARCAHR}
+ <if test="id !=null">
+    and c.id = #{id,jdbcType=VARCHAR}
   </if>
   <if test="serialNumber !=null">
     and c.serialNumber = #{serialNumber,jdbcType=INTEGER}