|
|
@@ -178,6 +178,7 @@ class InitController extends Controller
|
|
|
$pfAdmin->currentGhsShopId = $pfShopId;
|
|
|
$pfAdmin->ghsMiniOpenId = $pfAdmin->miniOpenId ?? '';
|
|
|
$pfAdmin->miniOpenId = '';
|
|
|
+ $pfAdmin->currentShopId = '';
|
|
|
$pfAdmin->save();
|
|
|
}
|
|
|
} else {
|
|
|
@@ -282,7 +283,7 @@ class InitController extends Controller
|
|
|
//欠款字段迁移
|
|
|
$sql = 'UPDATE xhGhsOrder SET debtPrice=actPrice,remainDebtPrice=actPrice WHERE debt=1';
|
|
|
Yii::$app->db->createCommand($sql)->execute();
|
|
|
- $sql ='UPDATE xhCg SET debtPrice=actPrice,remainDebtPrice=actPrice WHERE debt=1;';
|
|
|
+ $sql = 'UPDATE xhCg SET debtPrice=actPrice,remainDebtPrice=actPrice WHERE debt=1;';
|
|
|
Yii::$app->db->createCommand($sql)->execute();
|
|
|
|
|
|
|