瀏覽代碼

老师端首页bug修改

zouxuan 3 年之前
父節點
當前提交
69d6fc76fa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cms/src/main/resources/config/mybatis/SysNewsInformationMapper.xml

+ 1 - 1
cms/src/main/resources/config/mybatis/SysNewsInformationMapper.xml

@@ -191,7 +191,7 @@
 		<where>
 			del_flag_=0
 			<if test="type != null">
-				and type_ = #{type}
+				and sub_type_ = #{type}
 			</if>
 		</where>
 		ORDER BY order_ DESC