|
@ -145,7 +145,10 @@ |
|
|
<select id="listItemsByApp" resultMap="actAppResultMap"> |
|
|
<select id="listItemsByApp" resultMap="actAppResultMap"> |
|
|
select * from ( |
|
|
select * from ( |
|
|
SELECT |
|
|
SELECT |
|
|
actInfo.ID, actInfo.TITLE, actInfo.HEAD_PIC, |
|
|
actInfo.ID, |
|
|
|
|
|
<if test='actType != null and actType != "" and actType == "0"'>CONCAT(actInfo.TITLE,'招募令') as TITLE,</if> |
|
|
|
|
|
<if test='actType != null and actType != "" and actType == "1"'>CONCAT(actInfo.TITLE,'集锦') as TITLE,</if> |
|
|
|
|
|
actInfo.HEAD_PIC, |
|
|
DATE_FORMAT(actInfo.ACT_START_TIME,'%Y-%m-%d %H:%i') ACT_START_TIME, |
|
|
DATE_FORMAT(actInfo.ACT_START_TIME,'%Y-%m-%d %H:%i') ACT_START_TIME, |
|
|
DATE_FORMAT(actInfo.ACT_END_TIME,'%Y-%m-%d %H:%i') ACT_END_TIME, |
|
|
DATE_FORMAT(actInfo.ACT_END_TIME,'%Y-%m-%d %H:%i') ACT_END_TIME, |
|
|
actInfo.PUBLISH_TIME,actInfo.ACT_ADDRESS, actInfo.ACT_QUOTA_CATEGORY, actInfo.ACT_QUOTA, |
|
|
actInfo.PUBLISH_TIME,actInfo.ACT_ADDRESS, actInfo.ACT_QUOTA_CATEGORY, actInfo.ACT_QUOTA, |
|
@ -467,13 +470,13 @@ |
|
|
id = #{actId} |
|
|
id = #{actId} |
|
|
AND DEL_FLAG = 0 |
|
|
AND DEL_FLAG = 0 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 活动详情 --> |
|
|
<!-- 活动详情 --> |
|
|
<select id="selectActInfoDetailResultDTO" parameterType="java.lang.String" |
|
|
<select id="selectActInfoDetailResultDTO" |
|
|
resultType="com.elink.esua.epdc.activity.result.ActInfoDetailResultDTO"> |
|
|
resultType="com.elink.esua.epdc.activity.result.ActInfoDetailResultDTO"> |
|
|
select eai.ID, |
|
|
select eai.ID, |
|
|
eai.TITLE, |
|
|
<if test='actType != null and actType != "" and actType == "0"'>CONCAT(eai.TITLE,'招募令') as TITLE,</if> |
|
|
|
|
|
<if test='actType != null and actType != "" and actType == "1"'>CONCAT(eai.TITLE,'集锦') as TITLE,</if> |
|
|
|
|
|
<if test='actType == null or actType == ""'>eai.TITLE,</if> |
|
|
eai.CONTACTS, |
|
|
eai.CONTACTS, |
|
|
eai.TEL, |
|
|
eai.TEL, |
|
|
eai.SIGNUP_START_TIME as signupStartTime, |
|
|
eai.SIGNUP_START_TIME as signupStartTime, |
|
@ -491,9 +494,10 @@ |
|
|
ACT_NEWS_CONTENT as actNewsContent |
|
|
ACT_NEWS_CONTENT as actNewsContent |
|
|
from epdc_act_info eai |
|
|
from epdc_act_info eai |
|
|
where eai.DEL_FLAG='0' |
|
|
where eai.DEL_FLAG='0' |
|
|
and eai.id=#{actId} |
|
|
and eai.id= #{id} |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 活动打卡人数+1 --> |
|
|
<!-- 活动打卡人数+1 --> |
|
|
<update id="addClockNum" parameterType="java.lang.String"> |
|
|
<update id="addClockNum" parameterType="java.lang.String"> |
|
|
update epdc_act_info eai |
|
|
update epdc_act_info eai |
|
|