From b41a6efe17ba61d150c5a9b7309651cebae54e0d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 03 九月 2021 16:40:43 +0800 Subject: [PATCH] 韩迷TV相关bug修改,电视直播完善(后台+前端API) --- src/main/java/com/yeshi/buwan/service/imp/BanQuanService.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/service/imp/BanQuanService.java b/src/main/java/com/yeshi/buwan/service/imp/BanQuanService.java index d001b28..e6e9407 100644 --- a/src/main/java/com/yeshi/buwan/service/imp/BanQuanService.java +++ b/src/main/java/com/yeshi/buwan/service/imp/BanQuanService.java @@ -273,6 +273,10 @@ if (sql.endsWith("UNION ALL")) sql = sql.substring(0, sql.length() - 9); + if (StringUtil.isNullOrEmpty(sql)) { + return list; + } + try { List rlist = session.createSQLQuery(sql).list(); for (int i = 0; i < rlist.size(); i++) { -- Gitblit v1.8.0