|
|
@ -205,7 +205,7 @@ |
|
|
|
AND u.DEL_FLAG = '0' |
|
|
|
AND u.USER_ID = #{userId} |
|
|
|
AND u.`STATUS` = 'auditing' |
|
|
|
AND <![CDATA[ DATE_FORMAT(i.ACT_END_TIME,'%Y-%m-%d %H:%i:%s') > ]]> NOW() -- 活动结束时间 > 当前时间, 活动未结束 |
|
|
|
AND i.ACT_STATUS = 'published' |
|
|
|
ORDER BY i.CREATED_TIME DESC |
|
|
|
LIMIT #{pageNo}, #{pageSize} |
|
|
|
</select> |
|
|
@ -230,7 +230,7 @@ |
|
|
|
AND u.DEL_FLAG = '0' |
|
|
|
AND u.USER_ID = #{userId} |
|
|
|
AND u.`STATUS` = 'passed' |
|
|
|
AND <![CDATA[ DATE_FORMAT(i.ACT_END_TIME,'%Y-%m-%d %H:%i:%s') > ]]> NOW() -- 活动结束时间 > 当前时间, 活动未结束 |
|
|
|
AND i.ACT_STATUS = 'published' |
|
|
|
ORDER BY i.CREATED_TIME DESC |
|
|
|
LIMIT #{pageNo}, #{pageSize} |
|
|
|
</select> |
|
|
@ -255,7 +255,7 @@ |
|
|
|
AND u.DEL_FLAG = '0' |
|
|
|
AND u.USER_ID = #{userId} |
|
|
|
AND u.`STATUS` = 'refused' |
|
|
|
AND <![CDATA[ DATE_FORMAT(i.ACT_END_TIME,'%Y-%m-%d %H:%i:%s') > ]]> NOW() -- 活动结束时间 > 当前时间, 活动未结束 |
|
|
|
AND i.ACT_STATUS = 'published' |
|
|
|
ORDER BY i.CREATED_TIME DESC |
|
|
|
LIMIT #{pageNo}, #{pageSize} |
|
|
|
</select> |
|
|
@ -279,7 +279,8 @@ |
|
|
|
WHERE i.DEL_FLAG = '0' |
|
|
|
AND u.DEL_FLAG = '0' |
|
|
|
AND u.USER_ID = #{userId} |
|
|
|
AND <![CDATA[ DATE_FORMAT(i.ACT_END_TIME,'%Y-%m-%d %H:%i:%s') < ]]> NOW() -- 活动结束时间 < 当前时间, 活动已结束 |
|
|
|
AND u.`STATUS` = 'passed' |
|
|
|
AND i.ACT_STATUS = 'finished' |
|
|
|
ORDER BY i.CREATED_TIME DESC |
|
|
|
LIMIT #{pageNo}, #{pageSize} |
|
|
|
</select> |
|
|
|