feat:食堂搜索条件
This commit is contained in:
1 parent
64cbf18a75
commit
fbed0598a8
2 files changed
+5
No files matched your search
+2
@@ -19,4 +19,6 @@ public class HardCarDto extends HardCarEntity {
|
||||
|
||||
private String hourType;
|
||||
|
||||
private Long merchantId;
|
||||
|
||||
}
|
||||
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user