@@ -207,7 +207,7 @@
customer_info_basic c
where 1=1
<if test="p_code != null and p_code !=''">
- and id = #{p_code}
+ and p_code = #{p_code}
</if>
<if test="id != null and id !=''">
and id = #{id}