添加菜品返回字段

This commit is contained in:
zjf committed 2025-01-13 15:47:13 +08:00
1 parent 5e454dfa0c
commit 5e8f5a2e2e
2 files changed
+14 -1

No files matched your search

@@ -33,4 +33,15 @@ public class DailyMenuVO {
* 时间类型
*/
private Integer hourType;
/**
* 价格
*/
private Integer price;
/**
* 分类id
*/
private Long categoryId;
}
@@ -35,7 +35,9 @@
t.id as tid,
sp.name,
sp.pic_url,
t.hour_type
t.hour_type,
sp.price,
sp.category_id
FROM canteen_daily_menu t
LEFT JOIN canteen_spu sp
on t.spu_id=sp.id