fix:机器显示移动端隐藏的商品

This commit is contained in:
dzc committed 2026-09-01 17:02:53 +08:00
1 parent 72981cc89f
commit 0136a8707c
2 files changed
+5 -5

No files matched your search

@@ -95,7 +95,7 @@
LEFT JOIN canteen_category c
on sp.category_id = c.id AND c.del_flag = 0
<where>
sp.del_flag = 0 and t.del_flag = 0 and sp.is_show = 0
sp.del_flag = 0 and t.del_flag = 0
<if test="categoryId != null">
AND sp.category_id = #{categoryId}
</if>
@@ -171,7 +171,7 @@
from wallet_transaction a
left join wallet_manage m on m.id = a.wallet_id
<where>
a.del_flag = 0 and m.dept_id is not null
a.del_flag = 0 and a.dept_id is not null
<if test="dto.walletId != null">
a.wallet_id = ${dto.walletId}
</if>
@@ -194,13 +194,13 @@
<if test="dto.deptIds != null and dto.deptIds.size() != 0">
<choose>
<when test="dto.isInclude != null and dto.isInclude == true">
and m.dept_id IN
and a.dept_id IN
</when>
<when test="dto.isInclude != null and dto.isInclude == false">
and m.dept_id NOT IN
and a.dept_id NOT IN
</when>
<otherwise>
and m.dept_id IN
and a.dept_id IN
</otherwise>
</choose>
<foreach collection="dto.deptIds" item="v" open="(" close=")" separator=",">