Commit 46ef701b by 阳浪

投稿列表查询

parent c45e570f
......@@ -55,7 +55,7 @@
<if test="number != null">
and a.number >= #{number}
</if>
<if test="level == null or level == 1">
<if test="level != null and level == 1">
and a.type_one=#{typeId}
</if>
<if test="level != null and level == 2">
......@@ -307,7 +307,7 @@
a.site_id = #{siteId}
and a.state=2
<!-- and c.name=#{typeName} -->
<if test="level == null or level == 1">
<if test="level != null and level == 1">
and a.type_one=#{typeTwo}
</if>
<if test="level != null and level == 2">
......
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