add groovy script
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
WHERE
|
||||
`store_id` = #{storeId}
|
||||
AND `status` = '${@com.imyeyu.api.modules.gao.entity.GaoEvent$Status@ACTIVE.name()}'
|
||||
AND (`biz_type` IS NULL OR `biz_type` != 'LEGACY_CONSUMPTION')
|
||||
AND (`begin_at` IS NULL OR `begin_at` <= #{now})
|
||||
AND (`end_at` IS NULL OR #{now} <= `end_at`)
|
||||
AND `deleted_at` IS NULL
|
||||
|
||||
Reference in New Issue
Block a user