|
@@ -10,6 +10,7 @@ use Yii;
|
|
|
class WorkController extends Controller
|
|
class WorkController extends Controller
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
|
|
+
|
|
|
public function actionInit()
|
|
public function actionInit()
|
|
|
{
|
|
{
|
|
|
GoodsClass::updateByCondition(['id>' => 0], ['stock' => 0]);
|
|
GoodsClass::updateByCondition(['id>' => 0], ['stock' => 0]);
|
|
@@ -25,4 +26,5 @@ class WorkController extends Controller
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|