|
|
@@ -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}
|