update
Change-Id: Idefa40dd915fca618b7ec7fd132f3fabe5bc0f71
This commit is contained in:
parent
2c41398dba
commit
ebb0358831
|
@ -2483,7 +2483,7 @@ select * from
|
|||
}
|
||||
|
||||
// 定时脚本,当天围餐的菜品都撤掉,然后自动插入餐标菜式,以便实现:当日预定按照人头固定金额,20,30,40这三个金额
|
||||
if($act == 'weican'){
|
||||
if($act == 'baojian'){
|
||||
$company_id = '4151';
|
||||
// 固定餐标的类型
|
||||
$meal_label_type = "898";
|
||||
|
@ -2494,7 +2494,7 @@ if($act == 'weican'){
|
|||
$dateInfo = $db->get_all("select a.*, b.name as meal_type_name from tb_date a,tb_meal_type b where a.dc_type=b.id and a.dc_date='{$today}' and a.dining_hall_id='{$dining_hall_id}' and b.mealtype=6 and b.status=1 order by b.idx desc");
|
||||
|
||||
if(empty($dateInfo)){
|
||||
echo "今天没有围餐";
|
||||
echo "今天没有包间";
|
||||
exit;
|
||||
}
|
||||
foreach ($dateInfo as $k => $v){
|
||||
|
|
Loading…
Reference in New Issue