diff --git a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml index 31d3fc6c..53886f82 100644 --- a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml +++ b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml @@ -156,14 +156,13 @@ when = ACT_QUOTA ]]> and actInfo.ACT_QUOTA_CATEGORY = 1 then '1' else '0' end when ]]> #{timestamp} + and #{timestamp} then '2' when #{timestamp} and = ]]> #{timestamp} then '3' when #{timestamp} then '4' - WHEN actInfo.ACT_STATUS = '0' - THEN '5' end as actCurrentState, IF(relation.USER_ID = #{userId},'1','0') as signupFlag FROM @@ -172,7 +171,7 @@ and relation.USER_ID = #{userId} and relation.STATUS not in ('3','4') and actInfo.ID = relation.ACT_ID - WHERE actInfo.DEL_FLAG = '0' + WHERE actInfo.DEL_FLAG = '0' and actInfo.ACT_STATUS = '1' #{timestamp}