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 e6657c11b..aded3677f 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 @@ -157,7 +157,7 @@ actInfo.CLOCK_NUM, case when = ]]> #{timestamp} - then case when actInfo.SIGNUP_NUM = ACT_QUOTA and actInfo.ACT_QUOTA_CATEGORY = 1 + then case when = ACT_QUOTA ]]> and actInfo.ACT_QUOTA_CATEGORY = 1 then '1' else '0' end @@ -211,7 +211,7 @@ when actInfo.ACT_STATUS = '0' then '5' when = ]]> #{timestamp} - then case when actInfo.SIGNUP_NUM = ACT_QUOTA and actInfo.ACT_QUOTA_CATEGORY = 1 + then case when = ACT_QUOTA ]]> and actInfo.ACT_QUOTA_CATEGORY = 1 then '1' else '0' end @@ -326,7 +326,7 @@ when actInfo.ACT_STATUS = '0' then '7' when = ]]> #{timestamp} - then case when actInfo.SIGNUP_NUM = ACT_QUOTA and actInfo.ACT_QUOTA_CATEGORY = 1 + then case when = ACT_QUOTA ]]> and actInfo.ACT_QUOTA_CATEGORY = 1 then IF( relation.STATUS NOT IN ( '3', '4' ) AND relation.STATUS IS NOT NULL, '1', '2' ) else IF(relation.STATUS not in('3','4') and relation.STATUS is not null ,'1','0') end