feat:食堂搜索条件

This commit is contained in:
dzc committed 2025-05-19 09:51:31 +08:00
1 parent 64cbf18a75
commit fbed0598a8
2 files changed
+5

No files matched your search

@@ -19,4 +19,6 @@ public class HardCarDto extends HardCarEntity {
private String hourType;
private Long merchantId;
}
@@ -138,6 +138,9 @@
<if test="dto.hourType != null and dto.hourType != '' ">
and o.hour_type = #{dto.hourType}
</if>
<if test="dto.merchantId != null">
and o.merchant_id = #{dto.merchantId}
</if>
</where>
group by a.product_id
order by SUM(a.product_count) desc