|
|
@@ -98,6 +98,12 @@ public interface FsStoreOrderMapper
|
|
|
"<if test = 'maps.userId != null '> " +
|
|
|
"and o.user_id =#{maps.userId} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.appUserId != null '> " +
|
|
|
+ "and u.app_user_id =#{maps.appUserId} " +
|
|
|
+ "</if>" +
|
|
|
+ "<if test = 'maps.appDeptName != null and maps.appDeptName != \"\" '> " +
|
|
|
+ "and u.app_dept_name like CONCAT('%',#{maps.appDeptName},'%') " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deliveryId != null and maps.deliveryId !=\"\" '> " +
|
|
|
"and o.delivery_id =#{maps.deliveryId} " +
|
|
|
"</if>" +
|
|
|
@@ -198,6 +204,12 @@ public interface FsStoreOrderMapper
|
|
|
"<if test = 'maps.userId != null '> " +
|
|
|
"and o.user_id =#{maps.userId} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.appUserId != null '> " +
|
|
|
+ "and u.app_user_id =#{maps.appUserId} " +
|
|
|
+ "</if>" +
|
|
|
+ "<if test = 'maps.appDeptName != null and maps.appDeptName != \"\" '> " +
|
|
|
+ "and u.app_dept_name like CONCAT('%',#{maps.appDeptName},'%') " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deliveryId != null and maps.deliveryId !=\"\" '> " +
|
|
|
"and o.delivery_id =#{maps.deliveryId} " +
|
|
|
"</if>" +
|
|
|
@@ -296,6 +308,12 @@ public interface FsStoreOrderMapper
|
|
|
"<if test = 'maps.userId != null '> " +
|
|
|
"and o.user_id =#{maps.userId} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.appUserId != null '> " +
|
|
|
+ "and u.app_user_id =#{maps.appUserId} " +
|
|
|
+ "</if>" +
|
|
|
+ "<if test = 'maps.appDeptName != null and maps.appDeptName != \"\" '> " +
|
|
|
+ "and u.app_dept_name like CONCAT('%',#{maps.appDeptName},'%') " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deliveryId != null and maps.deliveryId !=\"\" '> " +
|
|
|
"and o.delivery_id =#{maps.deliveryId} " +
|
|
|
"</if>" +
|
|
|
@@ -564,6 +582,12 @@ public interface FsStoreOrderMapper
|
|
|
"<if test = 'maps.userId != null '> " +
|
|
|
"and o.user_id =#{maps.userId} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.appUserId != null '> " +
|
|
|
+ "and u.app_user_id =#{maps.appUserId} " +
|
|
|
+ "</if>" +
|
|
|
+ "<if test = 'maps.appDeptName != null and maps.appDeptName != \"\" '> " +
|
|
|
+ "and u.app_dept_name like CONCAT('%',#{maps.appDeptName},'%') " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deliveryId != null and maps.deliveryId !=\"\" '> " +
|
|
|
"and o.delivery_id =#{maps.deliveryId} " +
|
|
|
"</if>" +
|
|
|
@@ -660,6 +684,12 @@ public interface FsStoreOrderMapper
|
|
|
"<if test = 'maps.userId != null '> " +
|
|
|
"and o.user_id =#{maps.userId} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.appUserId != null '> " +
|
|
|
+ "and u.app_user_id =#{maps.appUserId} " +
|
|
|
+ "</if>" +
|
|
|
+ "<if test = 'maps.appDeptName != null and maps.appDeptName != \"\" '> " +
|
|
|
+ "and u.app_dept_name like CONCAT('%',#{maps.appDeptName},'%') " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deliveryId != null and maps.deliveryId !=\"\" '> " +
|
|
|
"and o.delivery_id =#{maps.deliveryId} " +
|
|
|
"</if>" +
|
|
|
@@ -741,6 +771,12 @@ public interface FsStoreOrderMapper
|
|
|
"<if test = 'maps.userId != null '> " +
|
|
|
"and o.user_id =#{maps.userId} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.appUserId != null '> " +
|
|
|
+ "and u.app_user_id =#{maps.appUserId} " +
|
|
|
+ "</if>" +
|
|
|
+ "<if test = 'maps.appDeptName != null and maps.appDeptName != \"\" '> " +
|
|
|
+ "and u.app_dept_name like CONCAT('%',#{maps.appDeptName},'%') " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deliveryId != null and maps.deliveryId !=\"\" '> " +
|
|
|
"and o.delivery_id =#{maps.deliveryId} " +
|
|
|
"</if>" +
|