dyh_hot_video
id,
title,
show_url,
image_url,
push_time,
play_num,
good_num,
delete_status,
cust_id,
create_time,
update_time
title = #{entity.title},show_url = #{entity.showUrl},push_time = #{entity.pushTime},play_num = #{entity.playNum},good_num = #{entity.goodNum},delete_status = #{entity.deleteStatus},cust_id = #{entity.custId},create_time = #{entity.createTime},update_time = #{entity.updateTime}
and id = #{terms.id}
and title = #{terms.title}
and show_url = #{terms.showUrl}
and push_time = #{terms.pushTime}
and play_num = #{terms.playNum}
and good_num = #{terms.goodNum}
and delete_status = 0
and delete_status = #{terms.deleteStatus}
and cust_id = #{terms.custId}
and DATE_FORMAT(create_time,'%Y-%m-%d') = #{terms.createTime}
and (DATE_FORMAT(create_time,'%Y-%m-%d') = ]]> #{terms.createStart}
and DATE_FORMAT(create_time,'%Y-%m-%d') #{terms.createEnd})
and DATE_FORMAT(update_time,'%Y-%m-%d') = #{terms.updateTime}
and (DATE_FORMAT(update_time,'%Y-%m-%d') = ]]> #{terms.updateStart}
and DATE_FORMAT(update_time,'%Y-%m-%d') #{terms.updateEnd})
update
id = #{entity.id}
update
delete from
where id = #{id}