临时修改
This commit is contained in:
parent
d1b4bfc77c
commit
63d7660df3
@ -51,6 +51,9 @@ public class ClientController extends BaseController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IFtOrderDaoService iFtOrderDaoService;
|
private IFtOrderDaoService iFtOrderDaoService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IFtFoodDefaultDaoService foodDefaultDaoService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取用餐时间信息
|
* 获取用餐时间信息
|
||||||
* 日期:2020年12月11日
|
* 日期:2020年12月11日
|
||||||
@ -381,6 +384,18 @@ public class ClientController extends BaseController {
|
|||||||
return AjaxResult.success(list);
|
return AjaxResult.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取各餐品的价格清单
|
||||||
|
* @author : 陈智兴
|
||||||
|
* @param
|
||||||
|
*/
|
||||||
|
@GetMapping("/getDinnerPriceList")
|
||||||
|
public AjaxResult getDinnerPriceList() {
|
||||||
|
List<FtFoodDefaultDao> list = foodDefaultDaoService.list(null);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取订餐优惠比例
|
* 获取订餐优惠比例
|
||||||
*/
|
*/
|
||||||
@ -399,7 +414,9 @@ public class ClientController extends BaseController {
|
|||||||
public AjaxResult orderCollection(@RequestBody JSONObject params) {
|
public AjaxResult orderCollection(@RequestBody JSONObject params) {
|
||||||
|
|
||||||
// 订单 id
|
// 订单 id
|
||||||
Integer orderId = params.getInteger("orderId");
|
Integer orderId = params.getInteger("staffId");
|
||||||
|
// 订餐类型
|
||||||
|
Integer type = params.getInteger("type");
|
||||||
|
|
||||||
// 实收
|
// 实收
|
||||||
BigDecimal receipts = params.getBigDecimal("receipts");
|
BigDecimal receipts = params.getBigDecimal("receipts");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user