更新接口:返回加菜加饭的价格信息;

This commit is contained in:
czx 2021-01-20 10:16:13 +08:00
parent 32e84c538d
commit b16ab1b607

View File

@ -384,7 +384,9 @@ public class ClientController extends BaseController {
@GetMapping("/getFoodList")
public AjaxResult getFoodList() {
QueryWrapper<FtFoodDao> wrapper = new QueryWrapper<>();
wrapper.eq("type", 1);
wrapper.eq("type", 1)
.or()
.eq("type", 4);
List<FtFoodDao> list = foodDaoService.list(wrapper);
return AjaxResult.success(list);