分页总数量为 -1 的情况
This commit is contained in:
@@ -15,10 +15,7 @@
|
||||
left join tb_shop_info s on o.shop_id = s.id
|
||||
left join pp_package p on o.package_id = p.id
|
||||
left join tb_user_info u on o.user_id = u.id
|
||||
where 1=1
|
||||
<if test="shopId != null">
|
||||
and o.shop_id = #{shopId}
|
||||
</if>
|
||||
where o.shop_id = #{shopId}
|
||||
<choose>
|
||||
<!-- userId为空时:拼接 and o.status != 'ing' -->
|
||||
<when test="userId == null or userId == ''">
|
||||
|
||||
Reference in New Issue
Block a user