|
@@ -502,9 +502,9 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
ServiceWorkLogLogic::add($work_log);
|
|
ServiceWorkLogLogic::add($work_log);
|
|
|
Db::commit();
|
|
Db::commit();
|
|
|
|
|
|
|
|
- /*$rechargeOrder = \app\common\model\orders\RechargeOrder::where('work_id',$work->id)
|
|
|
|
|
- ->where('payment_type',0)
|
|
|
|
|
- ->where('pay_status',1)
|
|
|
|
|
|
|
+ $rechargeOrder = \app\common\model\orders\RechargeOrder::where('work_id',$work->id)
|
|
|
|
|
+ //->where('payment_type',0)
|
|
|
|
|
+ //->where('pay_status',1)
|
|
|
->findOrEmpty();
|
|
->findOrEmpty();
|
|
|
if(!$rechargeOrder->isEmpty()){
|
|
if(!$rechargeOrder->isEmpty()){
|
|
|
ServiceOrderLogic::confirmServiceFinish([
|
|
ServiceOrderLogic::confirmServiceFinish([
|
|
@@ -514,15 +514,7 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
'real_name'=>$work->real_name,
|
|
'real_name'=>$work->real_name,
|
|
|
]
|
|
]
|
|
|
]);
|
|
]);
|
|
|
- }*/
|
|
|
|
|
-
|
|
|
|
|
- ServiceOrderLogic::confirmServiceFinish([
|
|
|
|
|
- 'user_id'=>$work->user_id,
|
|
|
|
|
- 'sn'=>$rechargeOrder->sn,
|
|
|
|
|
- 'user_info'=>[
|
|
|
|
|
- 'real_name'=>$work->real_name,
|
|
|
|
|
- ]
|
|
|
|
|
- ]);
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// 外部平台工单 - 通知外边平台
|
|
// 外部平台工单 - 通知外边平台
|
|
|
if($work->external_platform_id > 0){
|
|
if($work->external_platform_id > 0){
|