瀏覽代碼

添加搜索类型

liujunchi 2 年之前
父節點
當前提交
19a9583272
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

+ 3 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

@@ -619,6 +619,9 @@
             <if test="param.topFlag != null">
                 AND g.top_flag_ = #{param.topFlag}
             </if>
+            <if test="param.relationType != null">
+                AND g.relation_type_ = #{param.relationType}
+            </if>
         </where>
         order by g.top_flag_ desc ,g.sort_number_ desc,g.id_ desc
     </select>