提交 eb470760 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 96f0b00a
......@@ -21,7 +21,7 @@ public interface ArticleLibraryMapper extends BaseMapper<ArticleLibrary> {
* @return
*/
@Select("<script>"
+ "select * "
+ "select DISTINCT * "
+ "from res_article_Library a left join res_Video_Library_Diy_Type ad "
+ "on a.id = ad.vlid "
+ "where 1=1 "
......
......@@ -16,7 +16,7 @@ import com.zrqx.resource.commons.vo.bg.videolibrary.VideoLibraryListVO;
*/
public interface VideoLibraryMapper extends BaseMapper<VideoLibrary> {
@Select("<script>"
+ "select a.id,a.name,a.author,a.bookName,a.realprice,a.timeLength,a.size,a.uploadTime,a.status,a.saleType "
+ "select DISTINCT a.id,a.name,a.author,a.bookName,a.realprice,a.timeLength,a.size,a.uploadTime,a.status,a.saleType "
+ "from res_Video_Library a left join res_Video_Library_Diy_Type ad "
+ "on a.id = ad.vlid "
+ "where 1=1 "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论