Commit 15cba528 authored by liqin's avatar liqin 💬

bug fixed

parent f45ad58f
...@@ -39,6 +39,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo ...@@ -39,6 +39,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo
+ "and lcb.exhibition_board_id = eb.id " + "and lcb.exhibition_board_id = eb.id "
+ "and eb.video_content_id = vc.id " + "and eb.video_content_id = vc.id "
+ "and vc.id = a.ref_item_id " + "and vc.id = a.ref_item_id "
+ "and a.file_type = 'VIDEO' "
+ "and lc.applicable_scope = 'THIS_ORGAN' " + "and lc.applicable_scope = 'THIS_ORGAN' "
+ "and lc.organ_code = #{organCode} " + "and lc.organ_code = #{organCode} "
+ "UNION ALL " + "UNION ALL "
...@@ -59,6 +60,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo ...@@ -59,6 +60,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo
+ "and lcb.exhibition_board_id = eb.id " + "and lcb.exhibition_board_id = eb.id "
+ "and eb.video_content_id = vc.id " + "and eb.video_content_id = vc.id "
+ "and vc.id = a.ref_item_id " + "and vc.id = a.ref_item_id "
+ "and a.file_type = 'VIDEO' "
+ "and lc.applicable_scope = 'THIS_ORGAN_SUB'" + "and lc.applicable_scope = 'THIS_ORGAN_SUB'"
+ "and lc.organ_code like CONCAT(#{organCode},'%') " + "and lc.organ_code like CONCAT(#{organCode},'%') "
+ "UNION ALL " + "UNION ALL "
...@@ -78,6 +80,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo ...@@ -78,6 +80,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo
+ "and lcb.exhibition_board_id = eb.id " + "and lcb.exhibition_board_id = eb.id "
+ "and eb.video_content_id = vc.id " + "and eb.video_content_id = vc.id "
+ "and vc.id = a.ref_item_id " + "and vc.id = a.ref_item_id "
+ "and a.file_type = 'VIDEO' "
+ "and lc.applicable_scope = 'ALL_PLAT'" + "and lc.applicable_scope = 'ALL_PLAT'"
+ "UNION ALL " + "UNION ALL "
+ "SELECT a.*, eb.id exhibition_board_id, eb.name exhibition_board_name, eb.cover exhibition_board_cover " + "SELECT a.*, eb.id exhibition_board_id, eb.name exhibition_board_name, eb.cover exhibition_board_cover "
......
...@@ -381,8 +381,6 @@ public class LearningContentController extends BaseController { ...@@ -381,8 +381,6 @@ public class LearningContentController extends BaseController {
final List<Audit> auditList = this.auditService.list(auditQueryWrapper); final List<Audit> auditList = this.auditService.list(auditQueryWrapper);
learningContent.setAuditHistoryList(auditList); learningContent.setAuditHistoryList(auditList);
return getResult(learningContent); return getResult(learningContent);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment