|
@@ -122,6 +122,9 @@
|
|
|
<if test="tagId != null">
|
|
|
and tag_id = #{tagId}
|
|
|
</if>
|
|
|
+ <if test="tagId == null">
|
|
|
+ and tag_id <> -1 and tag_id <> -2
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by id desc
|
|
|
</select>
|
|
@@ -197,7 +200,7 @@
|
|
|
and g.tag_id = #{tagId}
|
|
|
</if>
|
|
|
<if test="tagId == null">
|
|
|
- and g.tag_id !=-1 and g.tag_id !=-2
|
|
|
+ and g.tag_id <> -1 and g.tag_id <> -2
|
|
|
</if>
|
|
|
</where>
|
|
|
order by g.indate desc
|