|
@@ -45,6 +45,7 @@
|
|
|
WHERE ach.delete_flag = 0
|
|
WHERE ach.delete_flag = 0
|
|
|
AND act.delete_flag = 0
|
|
AND act.delete_flag = 0
|
|
|
AND act.store_id = #{storeId}
|
|
AND act.store_id = #{storeId}
|
|
|
|
|
+ AND act.status IN (4, 5, 7)
|
|
|
<if test="activityStatus != null">
|
|
<if test="activityStatus != null">
|
|
|
<if test="activityStatus == 5">
|
|
<if test="activityStatus == 5">
|
|
|
AND act.status IN (4, 5)
|
|
AND act.status IN (4, 5)
|