产品服务包的查询逻辑

This commit is contained in:
2024-12-24 14:23:57 +08:00
parent 888909ede4
commit 66a9963273

View File

@@ -181,11 +181,11 @@ class ProductOrderController extends BaseAppController
if($prescription['wr_ids']){
$wr_ids = explode(',', $prescription['wr_ids']);
ds($prescription['prescription_type']);
if ($prescription['prescription_type'] == 5) {
$west = ServicePackageRepice::find()->select('content,number,total_price')->where([
'in', 'id', $wr_ids
])->all();
ds($west);
} else {
$west = WestRepice::find()->select('content,number,total_price')->where([
'in', 'id', $wr_ids