shish 2 лет назад
Родитель
Сommit
a6b21f033f

+ 1 - 0
app-ghs/controllers/ConsoleController.php

@@ -185,6 +185,7 @@ class ConsoleController extends BaseController
                 ["name" => "商城", "img" => "ghs/home/shop3.png", "url" => "/admin/home/mall"],
                 ["name" => "改价", "img" => "ghs/home/gj.png", "url" => "/admin/changePrice/list2"],
                 ["name" => "花材", "img" => "ghs/home/hcgl.png", "url" => "/admin/item/list2"],
+                ["name" => "预订客户", "img" => "ghs/home/yggl.png", "url" => "/admin/staff/list"],
                 ["name" => "改库存", "img" => "ghs/home/kcyjs.png", "url" => "/admin/changePrice/changeStock2"],
                 ["name" => "外采", "img" => "ghs/home/icon_caigou.png", "url" => "/pagesPurchase/wcOrder"],
                 ["name" => "供货商", "img" => "ghs/home/icon_ghs.png", "url" => "/pagesPurchase/supplier"],

+ 2 - 2
biz-ghs/book/classes/StatBookClass.php → biz-ghs/book/classes/BookItemClass.php

@@ -7,10 +7,10 @@ use bizGhs\shop\classes\ShopClass;
 use common\components\util;
 use Yii;
 
-class StatBookClass extends BaseClass
+class BookItemClass extends BaseClass
 {
 
-    public static $baseFile = '\bizGhs\book\models\StatBook';
+    public static $baseFile = '\bizGhs\book\models\BookItem';
 
     public static function addItem($data, $order)
     {

+ 2 - 2
biz-ghs/book/classes/StatBookItemClass.php → biz-ghs/book/classes/BookItemCustomClass.php

@@ -4,9 +4,9 @@ use bizGhs\base\classes\BaseClass;
 use common\components\util;
 use Yii;
 
-class StatBookItemClass extends BaseClass
+class BookItemCustomClass extends BaseClass
 {
 
-    public static $baseFile = '\bizGhs\book\models\StatBookItem';
+    public static $baseFile = '\bizGhs\book\models\BookItemCustom';
 
 }

+ 2 - 2
biz-ghs/book/classes/StatBookTaskClass.php → biz-ghs/book/classes/BookItemSupplyClass.php

@@ -4,9 +4,9 @@ use bizGhs\base\classes\BaseClass;
 use common\components\util;
 use Yii;
 
-class StatBookTaskClass extends BaseClass
+class BookItemSupplyClass extends BaseClass
 {
 
-    public static $baseFile = '\bizGhs\book\models\StatBookTask';
+    public static $baseFile = '\bizGhs\book\models\BookItemSupply';
 
 }

+ 2 - 2
biz-ghs/book/models/StatBookItem.php → biz-ghs/book/models/BookItem.php

@@ -2,12 +2,12 @@
 namespace bizGhs\book\models;
 use bizGhs\base\models\Base;
 
-class StatBook extends Base
+class BookItem extends Base
 {
 
     public static function tableName()
     {
-        return 'xhStatBook';
+        return 'xhBookItem';
     }
 
 }

+ 2 - 2
biz-ghs/book/models/StatBookTask.php → biz-ghs/book/models/BookItemCustom.php

@@ -2,12 +2,12 @@
 namespace bizGhs\book\models;
 use bizGhs\base\models\Base;
 
-class StatBookTask extends Base
+class BookItemCustom extends Base
 {
 
     public static function tableName()
     {
-        return 'xhStatBookTask';
+        return 'xhBookItemCustom';
     }
 
 }

+ 2 - 2
biz-ghs/book/models/StatBook.php → biz-ghs/book/models/BookItemSupply.php

@@ -2,12 +2,12 @@
 namespace bizGhs\book\models;
 use bizGhs\base\models\Base;
 
-class StatBook extends Base
+class BookItemSupply extends Base
 {
 
     public static function tableName()
     {
-        return 'xhStatBook';
+        return 'xhBookItemSupply';
     }
 
 }

+ 13 - 0
biz-ghs/book/services/BookItemCustomService.php

@@ -0,0 +1,13 @@
+<?php
+
+namespace bizGhs\book\services;
+
+use bizGhs\base\services\BaseService;
+use Yii;
+
+class BookItemCustomService extends BaseService
+{
+
+    public static $baseFile = '\bizGhs\book\classes\BookItemCustomClass';
+
+}

+ 13 - 0
biz-ghs/book/services/BookItemService.php

@@ -0,0 +1,13 @@
+<?php
+
+namespace bizGhs\book\services;
+
+use bizGhs\base\services\BaseService;
+use Yii;
+
+class BookItemService extends BaseService
+{
+
+    public static $baseFile = '\bizGhs\book\classes\BookItemClass';
+
+}

+ 13 - 0
biz-ghs/book/services/BookItemSupplyService.php

@@ -0,0 +1,13 @@
+<?php
+
+namespace bizGhs\book\services;
+
+use bizGhs\base\services\BaseService;
+use Yii;
+
+class BookItemSupplyService extends BaseService
+{
+
+    public static $baseFile = '\bizGhs\book\classes\BookItemSupplyClass';
+
+}

+ 0 - 13
biz-ghs/book/services/StatBookItemService.php

@@ -1,13 +0,0 @@
-<?php
-
-namespace bizGhs\book\services;
-
-use bizGhs\base\services\BaseService;
-use Yii;
-
-class StatBookItemService extends BaseService
-{
-
-    public static $baseFile = '\bizGhs\book\classes\StatBookItemClass';
-
-}

+ 0 - 13
biz-ghs/book/services/StatBookService.php

@@ -1,13 +0,0 @@
-<?php
-
-namespace bizGhs\book\services;
-
-use bizGhs\base\services\BaseService;
-use Yii;
-
-class StatBookService extends BaseService
-{
-
-    public static $baseFile = '\bizGhs\book\classes\StatBookClass';
-
-}

+ 0 - 13
biz-ghs/book/services/StatBookTaskService.php

@@ -1,13 +0,0 @@
-<?php
-
-namespace bizGhs\book\services;
-
-use bizGhs\base\services\BaseService;
-use Yii;
-
-class StatBookTaskService extends BaseService
-{
-
-    public static $baseFile = '\bizGhs\book\classes\StatBookTaskClass';
-
-}