|
|
@@ -502,7 +502,7 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
Db::commit();
|
|
|
|
|
|
$rechargeOrder = \app\common\model\orders\RechargeOrder::where('work_id',$work->id)
|
|
|
- ->whereIn('payment_type',[0,1])
|
|
|
+ ->where('payment_type',0)
|
|
|
->where('pay_status',1)
|
|
|
->findOrEmpty();
|
|
|
if(!$rechargeOrder->isEmpty()){
|