Commit 9c3db81d authored by licc's avatar licc

二维码接口优化

parent 294f62fc
...@@ -131,8 +131,9 @@ ...@@ -131,8 +131,9 @@
from from
<include refid="table"/> <include refid="table"/>
<where> <where>
1=1
<if test="useStatus != null"> <if test="useStatus != null">
use_status=#{useStatus} and use_status=#{useStatus}
</if> </if>
</where> </where>
</select> </select>
...@@ -143,8 +144,9 @@ ...@@ -143,8 +144,9 @@
from from
<include refid="table"/> <include refid="table"/>
<where> <where>
1=1
<if test="useStatus != null"> <if test="useStatus != null">
use_status=#{useStatus} and use_status=#{useStatus}
</if> </if>
order by create_time desc order by create_time desc
limit #{startNum},#{endNum} limit #{startNum},#{endNum}
......
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