Commit 1ac99e9c authored by liqin's avatar liqin 💬

bug fixed

parent ce2ded8b
...@@ -31,8 +31,8 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo ...@@ -31,8 +31,8 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo
) )
IPage<ExhibitionBoard> selectBoardPageByLearningContentId(Page<?> page, String learningContentId, String nameOrCode); IPage<ExhibitionBoard> selectBoardPageByLearningContentId(Page<?> page, String learningContentId, String nameOrCode);
@Select("<script>" @Select("SELECT t.* FROM " +
+ "SELECT a.* FROM learning_content_board lcb, learning_content lc, exhibition_board eb, video_content vc, asset a " "(SELECT a.* FROM learning_content_board lcb, learning_content lc, exhibition_board eb, video_content vc, asset a "
+ "WHERE lcb.learning_content_id = lc.id " + "WHERE lcb.learning_content_id = lc.id "
+ "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 "
...@@ -53,8 +53,7 @@ public interface LearningContentBoardMapper extends BaseMapper<LearningContentBo ...@@ -53,8 +53,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 lc.applicable_scope = 'ALL_PLAT'" + "and lc.applicable_scope = 'ALL_PLAT') t"
+ "</script>"
) )
IPage<Asset> selectAssetPageByOrganCode(Page<?> page, String organCode); IPage<Asset> selectAssetPageByOrganCode(Page<?> page, String organCode);
......
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