|
|
@@ -487,7 +487,7 @@ class ShopController extends BaseController {
|
|
|
$uname = Info::getUserNameByUserId(\Yii::$app->user->id);
|
|
|
$orderSn = \Yii::$app->request->get('orderSn');
|
|
|
|
|
|
- $condition = " AND (USER_ID=:USER_ID OR CREATE_USER='$uname') AND SN=:SN";
|
|
|
+ $condition = " AND ORDER_TYPE='FX' AND (USER_ID=:USER_ID OR CREATE_USER='$uname') AND SN=:SN";
|
|
|
$params = [
|
|
|
':USER_ID' => \Yii::$app->user->id,
|
|
|
':SN' => $orderSn,
|