Browse Source

添加搜索类型

liujunchi 2 years ago
parent
commit
19a9583272

+ 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>