|
|
@@ -257,12 +257,6 @@ class InitController extends Controller
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- self::migrationDel();
|
|
|
-
|
|
|
- //客户和供应商的中央化
|
|
|
- self::ghsCustomMain();
|
|
|
-
|
|
|
-
|
|
|
//清除零售商城相关的数据
|
|
|
$sql = "TRUNCATE xhUser;TRUNCATE xhCustom;truncate xhUserAsset;";
|
|
|
Yii::$app->db->createCommand($sql)->execute();
|
|
|
@@ -284,6 +278,10 @@ class InitController extends Controller
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ self::migrationDel();
|
|
|
+
|
|
|
+ //客户和供应商的中央化
|
|
|
+ self::ghsCustomMain();
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -300,6 +298,8 @@ class InitController extends Controller
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ print_r($map);
|
|
|
+
|
|
|
$customList = CustomClass::getAllByCondition(['id>' => 0], null, '*', null, true);
|
|
|
if (!empty($customList)) {
|
|
|
foreach ($customList as $custom) {
|