更新接口:返回病患加菜加饭的价格信息;
This commit is contained in:
parent
b16ab1b607
commit
f8fb64ec5d
@ -155,8 +155,8 @@ public class ClientPatientController extends BaseController {
|
|||||||
@GetMapping("/getFoodPrice")
|
@GetMapping("/getFoodPrice")
|
||||||
public AjaxResult getFoodPrice() {
|
public AjaxResult getFoodPrice() {
|
||||||
QueryWrapper<FtFoodDao> wrapper = new QueryWrapper<>();
|
QueryWrapper<FtFoodDao> wrapper = new QueryWrapper<>();
|
||||||
wrapper.eq("type", 1);
|
wrapper.in("type", 1,4)
|
||||||
wrapper.gt("dinner_type", 0);
|
.gt("dinner_type", 0);
|
||||||
return AjaxResult.success(iftFoodDaoService.list(wrapper));
|
return AjaxResult.success(iftFoodDaoService.list(wrapper));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user