|
@@ -120,10 +120,16 @@ public interface FsStoreOrderMapper
|
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|
|
@@ -232,10 +238,16 @@ public interface FsStoreOrderMapper
|
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|
|
@@ -342,10 +354,16 @@ public interface FsStoreOrderMapper
|
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|
|
@@ -622,10 +640,16 @@ public interface FsStoreOrderMapper
|
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
"and o.real_name like CONCAT('%',#{maps.realName},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|
|
@@ -727,10 +751,16 @@ public interface FsStoreOrderMapper
|
|
|
"and u.nickname like CONCAT('%',#{maps.nickname},'%') " +
|
|
"and u.nickname like CONCAT('%',#{maps.nickname},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|
|
@@ -820,10 +850,16 @@ public interface FsStoreOrderMapper
|
|
|
"and u.nickname like CONCAT('%',#{maps.nickname},'%') " +
|
|
"and u.nickname like CONCAT('%',#{maps.nickname},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|
|
@@ -879,10 +915,16 @@ public interface FsStoreOrderMapper
|
|
|
"and u.nickname like CONCAT('%',#{maps.nickname},'%') " +
|
|
"and u.nickname like CONCAT('%',#{maps.nickname},'%') " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
"<if test = 'maps.phone != null and maps.phone !=\"\" '> " +
|
|
|
- "and u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
|
|
+ "and (u.phone like CONCAT('%',#{maps.phone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.phoneEncrypted != null and maps.phoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or u.phone like CONCAT('%',#{maps.phoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
"<if test = 'maps.userPhone != null and maps.userPhone !=\"\" '> " +
|
|
|
- "and o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
|
|
+ "and (o.user_phone like CONCAT('%',#{maps.userPhone},'%') " +
|
|
|
|
|
+ "<if test = 'maps.userPhoneEncrypted != null and maps.userPhoneEncrypted !=\"\"'> " +
|
|
|
|
|
+ "or o.user_phone like CONCAT('%',#{maps.userPhoneEncrypted},'%') " +
|
|
|
|
|
+ "</if>) " +
|
|
|
"</if>" +
|
|
"</if>" +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and o.status =#{maps.status} " +
|
|
"and o.status =#{maps.status} " +
|