添加菜品返回字段
This commit is contained in:
1 parent
5e454dfa0c
commit
5e8f5a2e2e
2 files changed
+14
-1
No files matched your search
+11
@@ -33,4 +33,15 @@ public class DailyMenuVO {
|
||||
* 时间类型
|
||||
*/
|
||||
private Integer hourType;
|
||||
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private Integer price;
|
||||
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
private Long categoryId;
|
||||
}
|
||||
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user