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 946d836e..530b433a 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
@@ -155,13 +155,14 @@
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
@@ -170,18 +171,15 @@
and relation.USER_ID = #{userId}
and relation.STATUS not in ('3','4')
and actInfo.ID = relation.ACT_ID
- WHERE actInfo.DEL_FLAG = '0' and actInfo.ACT_STATUS = '1'
+ WHERE actInfo.DEL_FLAG = '0'
#{timestamp}
AND actInfo.ID = #{actId}
-
- = ]]> #{timestamp}
-
- #{timestamp}
+ #{timestamp}
) temp
ORDER BY temp.actCurrentState ASC