Change-Id: I3676a70eafc75aebbb1d747a14298756046d9554
This commit is contained in:
vguanyiwgd 2024-04-22 11:42:53 +08:00
parent 486568e33b
commit 13ff407b47
1 changed files with 14 additions and 0 deletions

View File

@ -2273,6 +2273,20 @@ class User extends REST_Controller
continue; continue;
} }
} }
}else if($company_id == '4152'){
// 乐福米业
if(!in_array($dateInfo['dc_type'], ['666700', '666699'])){
// 只订午晚餐
continue;
}
$current_time = date("H:i:s");
if($current_time < "06:00:00" || $current_time > "08:30:00"){
$message .= "<p><span style='color: red'>预定信息:</span> ".$tomorrow_format."{$dateInfo['dc_type_name']}不在菜谱预定时间内</p>";
continue;
}
}else{
continue;
} }
// 根据tb_order_rule规则订餐 // 根据tb_order_rule规则订餐