Browse Source

活动修改

feature/dangjian
李鹏飞 6 years ago
parent
commit
c717a8a1d6
  1. 6
      esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml

6
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 <![CDATA[ DATE_FORMAT(actInfo.SIGNUP_END_TIME,'%Y-%m-%d %H:%i:%s') >= ]]> #{timestamp}
then case when actInfo.SIGNUP_NUM = ACT_QUOTA and actInfo.ACT_QUOTA_CATEGORY = 1
then case when <![CDATA[actInfo.SIGNUP_NUM >= 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 <![CDATA[ DATE_FORMAT(actInfo.SIGNUP_END_TIME,'%Y-%m-%d %H:%i:%s') >= ]]> #{timestamp}
then case when actInfo.SIGNUP_NUM = ACT_QUOTA and actInfo.ACT_QUOTA_CATEGORY = 1
then case when <![CDATA[actInfo.SIGNUP_NUM >= 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 <![CDATA[ DATE_FORMAT(actInfo.SIGNUP_END_TIME,'%Y-%m-%d %H:%i:%s') >= ]]> #{timestamp}
then case when actInfo.SIGNUP_NUM = ACT_QUOTA and actInfo.ACT_QUOTA_CATEGORY = 1
then case when <![CDATA[actInfo.SIGNUP_NUM >= 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

Loading…
Cancel
Save