Update ConversionLogic.php
This commit is contained in:
@@ -542,7 +542,9 @@ class ConversionLogic
|
||||
->alias('po')
|
||||
->leftJoin('tcm_prescription rx', 'rx.id = po.prescription_id')
|
||||
->whereNull('po.delete_time')
|
||||
->where('po.fulfillment_status', 3)
|
||||
// 与业务订单列表接诊口径对齐:双审(处方审核、支付单审核)都通过即算接诊诊单
|
||||
->where('po.prescription_audit_status', 1)
|
||||
->where('po.payment_slip_audit_status', 1)
|
||||
->where('po.update_time', 'between', [$startTimestamp, $endTimestamp])
|
||||
->field('po.amount, po.internal_cost, rx.assistant_id, rx.creator_id')
|
||||
->select()
|
||||
|
||||
Reference in New Issue
Block a user