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

This commit is contained in:
czx 2021-01-20 10:42:19 +08:00
parent b16ab1b607
commit f8fb64ec5d

View File

@ -155,8 +155,8 @@ public class ClientPatientController extends BaseController {
@GetMapping("/getFoodPrice")
public AjaxResult getFoodPrice() {
QueryWrapper<FtFoodDao> wrapper = new QueryWrapper<>();
wrapper.eq("type", 1);
wrapper.gt("dinner_type", 0);
wrapper.in("type", 1,4)
.gt("dinner_type", 0);
return AjaxResult.success(iftFoodDaoService.list(wrapper));
}