|
|
@@ -161,19 +161,19 @@ |
|
|
|
|
|
|
|
<select id="findVideo" parameterType="java.util.HashMap" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
`video_type`,`video_id`, `video_path`, `video_play_url`, `video_time`, `video_size`, `video_status`, `video_msg` |
|
|
|
`video_type`,`video_id`, `video_path`, `video_play_url`, `video_time`, `video_size`, `video_status`, `video_msg`,`cost_points`,`cost_points_detail` |
|
|
|
from user_mould_video |
|
|
|
where `id` = #{id} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getSortList" parameterType="com.iformall.domain.po.sm.UserMouldVideo" resultMap="BaseResultMap"> |
|
|
|
select id,title,video_id,video_path, video_play_url,video_status |
|
|
|
select id,title,video_id,video_path, video_play_url,video_status,`cost_points`,`cost_points_detail` |
|
|
|
from user_mould_video |
|
|
|
<include refid="dynamicWhereConditions"/> |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getNotHaveUrl" resultType="com.iformall.domain.po.sm.UserMouldVideo"> |
|
|
|
select id,title,video_id,video_path, video_play_url,video_status,user_id |
|
|
|
select id,title,video_id,video_path, video_play_url,video_status,user_id,`cost_points`,`cost_points_detail` |
|
|
|
from user_mould_video |
|
|
|
where `is_del` = 0 |
|
|
|
and `video_id` is not null |
|
|
|