Commit 668dbeb4 authored by 祁强's avatar 祁强

修改客户查询中输入客户座机及负责人查询失败问题

parent 4a1e562c
...@@ -61,11 +61,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -61,11 +61,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
c.del_flag='0' c.del_flag='0'
<if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if> <if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if>
<if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if> <if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if>
<if test="telephone != null and telephone != ''"> and tc.elephone like concat('%', #{telephone}, '%')</if> <if test="telephone != null and telephone != ''"> and c.telephone like concat('%', #{telephone}, '%')</if>
<if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if> <if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if>
<if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if> <if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if>
<if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if> <if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if>
<if test="belongTo != null and belongTo != ''"> and c.belongTo like concat('%', #{belongTo}, '%')</if> <if test="belongTo != null and belongTo != ''"> and c.belong_to like concat('%', #{belongTo}, '%')</if>
<if test="industry != null and industry != ''"> and c.industry = #{industry}</if> <if test="industry != null and industry != ''"> and c.industry = #{industry}</if>
<if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if> <if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if>
<if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if> <if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if>
...@@ -90,11 +90,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -90,11 +90,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
c.del_flag='0' c.del_flag='0'
<if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if> <if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if>
<if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if> <if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if>
<if test="telephone != null and telephone != ''"> and tc.elephone like concat('%', #{telephone}, '%')</if> <if test="telephone != null and telephone != ''"> and c.telephone like concat('%', #{telephone}, '%')</if>
<if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if> <if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if>
<if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if> <if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if>
<if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if> <if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if>
<if test="belongTo != null and belongTo != ''"> and c.belongTo like concat('%', #{belongTo}, '%')</if> <if test="belongTo != null and belongTo != ''"> and c.belong_to like concat('%', #{belongTo}, '%')</if>
<if test="industry != null and industry != ''"> and c.industry = #{industry}</if> <if test="industry != null and industry != ''"> and c.industry = #{industry}</if>
<if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if> <if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if>
<if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if> <if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if>
...@@ -124,11 +124,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -124,11 +124,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
c.del_flag='0' c.del_flag='0'
<if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if> <if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if>
<if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if> <if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if>
<if test="telephone != null and telephone != ''"> and tc.elephone like concat('%', #{telephone}, '%')</if> <if test="telephone != null and telephone != ''"> and c.telephone like concat('%', #{telephone}, '%')</if>
<if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if> <if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if>
<if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if> <if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if>
<if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if> <if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if>
<if test="belongTo != null and belongTo != ''"> and c.belongTo like concat('%', #{belongTo}, '%')</if> <if test="belongTo != null and belongTo != ''"> and c.belong_to like concat('%', #{belongTo}, '%')</if>
<if test="industry != null and industry != ''"> and c.industry = #{industry}</if> <if test="industry != null and industry != ''"> and c.industry = #{industry}</if>
<if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if> <if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if>
<if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if> <if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if>
...@@ -154,11 +154,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -154,11 +154,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
c.del_flag='0' c.del_flag='0'
<if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if> <if test="customerName != null and customerName != ''"> and c.customer_name like concat('%', #{customerName}, '%')</if>
<if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if> <if test="nameShort != null and nameShort != ''"> and c.name_short like concat('%', #{nameShort}, '%')</if>
<if test="telephone != null and telephone != ''"> and tc.elephone like concat('%', #{telephone}, '%')</if> <if test="telephone != null and telephone != ''"> and c.telephone like concat('%', #{telephone}, '%')</if>
<if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if> <if test="mobile != null and mobile != ''"> and c.mobile like concat('%', #{mobile}, '%')</if>
<if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if> <if test="email != null and email != ''"> and c.email like concat('%', #{email}, '%')</if>
<if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if> <if test="address != null and address != ''"> and c.address like concat('%', #{address}, '%')</if>
<if test="belongTo != null and belongTo != ''"> and c.belongTo like concat('%', #{belongTo}, '%')</if> <if test="belongTo != null and belongTo != ''"> and c.belong_to like concat('%', #{belongTo}, '%')</if>
<if test="industry != null and industry != ''"> and c.industry = #{industry}</if> <if test="industry != null and industry != ''"> and c.industry = #{industry}</if>
<if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if> <if test="customerStatus != null and customerStatus != ''"> and c.customer_status = #{customerStatus}</if>
<if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if> <if test="customerSource != null and customerSource != ''"> and c.customer_source = #{customerSource}</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment