|
|
@ -18,17 +18,16 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="selectListOfStartupPageDTO" resultType="com.elink.esua.epdc.dto.StartupPageDTO"> |
|
|
|
select ID,IMG_URL,DURATION,ENABLE_FLAG,REMARK,CREATED_TIME,UPDATED_TIME |
|
|
|
select ID,IMG_URL,DURATION,ENABLE_FLAG,REMARK,SORT,CREATED_TIME,UPDATED_TIME |
|
|
|
from epdc_startup_page |
|
|
|
where DEL_FLAG = '0' |
|
|
|
order by CREATED_TIME desc |
|
|
|
order by SORT asc ,CREATED_TIME desc |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getStartupPage" resultType="com.elink.esua.epdc.dto.result.StartupPageResultDTO"> |
|
|
|
select ID,IMG_URL,DURATION |
|
|
|
from epdc_startup_page |
|
|
|
where ENABLE_FLAG = '1' and DEL_FLAG = '0' |
|
|
|
order by UPDATED_TIME desc |
|
|
|
limit 1 |
|
|
|
order by SORT asc, UPDATED_TIME desc |
|
|
|
</select> |
|
|
|
</mapper> |