提交 e4efc2ff authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 99306fe6
......@@ -18,11 +18,11 @@ import com.zrqx.resource.bg.mapper.MapperConstants;
public interface VideoLibraryMapper extends BaseMapper<VideoLibrary> {
@Select("<script>"
+ "<if test = 'form.diyTypeCode==null'>"
+ "select DISTINCT a.id,a.name,a.adSlogan,a.size, DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i') uploadTime,a.status "
+ "select DISTINCT a.id,a.name,a.adSlogan,a.size,a.timeLength, DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i') uploadTime,a.status "
+ "from res_Video_Library a "
+ "</if>"
+ "<if test = '" + NOTBLANK + "(form.diyTypeCode)'>"
+ "select DISTINCT a.id,a.name,a.adSlogan,a.size, DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i') uploadTime,a.status "
+ "select DISTINCT a.id,a.name,a.adSlogan,a.size,a.timeLength, DATE_FORMAT(a.uploadTime,'%Y-%m-%d %H:%i') uploadTime,a.status "
+ "from res_Video_Library a left join res_Video_Library_Diy_Type ad "
+ "on a.id = ad.vlid "
+ "</if>"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论