提交 ddc8f151 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 7c5845ef
......@@ -47,10 +47,11 @@ public interface FgRecommendResourceMapper extends BaseMapper<RecommendResource>
* @Date: 2020/9/4 17:19
*/
@Select("<script>" +
" select *,resId as resourceId,resType as resourceType from res_recommend_resource " +
" select *,resId as resourceId,resType as resourceType,sort from res_recommend_resource " +
" where 1=1 " +
" and recomId = #{form.recommendId} " +
" <if test = 'form.num != null'> " +
" order by sort asc " +
" limit #{form.num} " +
"</if>" +
"</script>")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论