Commit 5580bb82 by 阮思源

获取群的时候加个条件2

parent 3e2134b7
...@@ -39,6 +39,9 @@ ...@@ -39,6 +39,9 @@
<if test="generation!=null"> <if test="generation!=null">
and generation=#{generation} and generation=#{generation}
</if> </if>
<if test="generation==null">
and generation in (1,2)
</if>
LIMIT 1 LIMIT 1
</select> </select>
......
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