| @@ -665,7 +665,7 @@ | |||
| and cu.`final_tenant_id` = #{finalTenantId} | |||
| </if> | |||
| <if test=" null != phone "> | |||
| <if test=" null != phone and '' != phone"> | |||
| and cu.`phone` like concat('%', #{phone},'%') | |||
| </if> | |||
| @@ -673,7 +673,7 @@ | |||
| and cu.`birthdate` = #{birthdate} | |||
| </if> | |||
| <if test=" null != education "> | |||
| <if test=" null != education and '' != education"> | |||
| and cu.`education` like concat('%', #{education},'%') | |||
| </if> | |||
| @@ -681,11 +681,11 @@ | |||
| and cu.`sex` = #{sex} | |||
| </if> | |||
| <if test=" null != email "> | |||
| <if test=" null != email and '' != email"> | |||
| and cu.`email` like concat('%', #{email},'%') | |||
| </if> | |||
| <if test=" null != address "> | |||
| <if test=" null != address and '' != address"> | |||
| and cu.`address` like concat('%', #{address},'%') | |||
| </if> | |||
| @@ -709,7 +709,7 @@ | |||
| and cu.`act_record` = #{actRecord} | |||
| </if> | |||
| <if test=" null != name "> | |||
| <if test=" null != name and '' != name"> | |||
| and cu.`name` like concat('%', #{name},'%') | |||
| </if> | |||
| <if test=" null != startTime and null!=endTime"> | |||
| @@ -741,7 +741,7 @@ | |||
| and cu.`tenant_id` like concat('%,', #{tenantInfo.tenantId},',%') | |||
| </if> | |||
| <if test=" null != basicInfo.phone "> | |||
| <if test=" null != basicInfo.phone and '' != basicInfo.phone"> | |||
| and cu.`phone` like concat('%', #{basicInfo.phone},'%') | |||
| </if> | |||
| @@ -749,7 +749,7 @@ | |||
| and cu.`birthdate` = #{basicInfo.birthdate} | |||
| </if> | |||
| <if test=" null != basicInfo.education "> | |||
| <if test=" null != basicInfo.education and '' != basicInfo.education"> | |||
| and cu.`education` like concat('%', #{basicInfo.education},'%') | |||
| </if> | |||
| @@ -757,11 +757,11 @@ | |||
| and cu.`sex` = #{basicInfo.sex} | |||
| </if> | |||
| <if test=" null != basicInfo.email "> | |||
| <if test=" null != basicInfo.email and '' != basicInfo.email"> | |||
| and cu.`email` like concat('%', #{basicInfo.email},'%') | |||
| </if> | |||
| <if test=" null != basicInfo.address "> | |||
| <if test=" null != basicInfo.address and '' != basicInfo.address"> | |||
| and cu.`address` like concat('%', #{basicInfo.address},'%') | |||
| </if> | |||
| @@ -785,7 +785,7 @@ | |||
| and cu.`act_record` = #{basicInfo.actRecord} | |||
| </if> | |||
| <if test=" null != basicInfo.name "> | |||
| <if test=" null != basicInfo.name and '' != basicInfo.name "> | |||
| and cu.`name` like concat('%', #{basicInfo.name},'%') | |||
| </if> | |||
| <if test=" null != basicInfo.startTime and null != basicInfo.endTime"> | |||