|
|
@@ -91,17 +91,7 @@ public interface QwSopTempContentMapper extends BaseMapper<QwSopTempContent>{
|
|
|
"\tAND c.content_type = 3")
|
|
|
List<QwSopTempContentVO> updateSiFenTemp();
|
|
|
|
|
|
- @Select("select tc.id,\n" +
|
|
|
- " tc.content_type,\n" +
|
|
|
- " tc.content,\n" +
|
|
|
- " tr.course_id,\n" +
|
|
|
- " tr.video_id,\n" +
|
|
|
- " tr.course_type as courseType,\n" +
|
|
|
- " COALESCE(tr.type, tr.content_type) as type \n" +
|
|
|
- "FROM\n" +
|
|
|
- " qw_sop_temp_content tc " +
|
|
|
- "left join qw_sop_temp_rules tr on tc.rules_id=tr.id " +
|
|
|
- "where tc.temp_id=#{tempId}")
|
|
|
+
|
|
|
List<QwSopTempContent> selectQwSopTempContentByTempIdAndRules(@Param("tempId") String tempId);
|
|
|
|
|
|
List<QwSopTempContent> selectQwSopTempContentByTempId(@Param("tempId") String tempId);
|