更新接口:返回加菜加饭的价格信息;
This commit is contained in:
parent
32e84c538d
commit
b16ab1b607
@ -384,7 +384,9 @@ public class ClientController extends BaseController {
|
|||||||
@GetMapping("/getFoodList")
|
@GetMapping("/getFoodList")
|
||||||
public AjaxResult getFoodList() {
|
public AjaxResult getFoodList() {
|
||||||
QueryWrapper<FtFoodDao> wrapper = new QueryWrapper<>();
|
QueryWrapper<FtFoodDao> wrapper = new QueryWrapper<>();
|
||||||
wrapper.eq("type", 1);
|
wrapper.eq("type", 1)
|
||||||
|
.or()
|
||||||
|
.eq("type", 4);
|
||||||
List<FtFoodDao> list = foodDaoService.list(wrapper);
|
List<FtFoodDao> list = foodDaoService.list(wrapper);
|
||||||
|
|
||||||
return AjaxResult.success(list);
|
return AjaxResult.success(list);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user