shish 5 лет назад
Родитель
Сommit
a9e79c459e
3 измененных файлов с 10 добавлено и 2 удалено
  1. 1 1
      biz-hd/purchase/models/PurchaseClear.php
  2. 1 1
      biz-hd/purchase/models/PurchaseClearSn.php
  3. 8 0
      sql.sql

+ 1 - 1
biz-hd/purchase/models/PurchaseClear.php

@@ -9,7 +9,7 @@ class PurchaseClear extends Base
 	
 	public static function tableName()
 	{
-		return 'xhPurchaseClear';
+		return 'xhClear';
 	}
 	
 }

+ 1 - 1
biz-hd/purchase/models/PurchaseClearSn.php

@@ -9,7 +9,7 @@ class PurchaseClearSn extends Base
 	
 	public static function tableName()
 	{
-		return 'xhPurchaseClearSn';
+		return 'xhClearSn';
 	}
 	
 }

+ 8 - 0
sql.sql

@@ -2455,5 +2455,13 @@ TRUNCATE xhCustom;
 ALTER TABLE xhUser AUTO_INCREMENT=958260;
 ALTER TABLE xhCustom AUTO_INCREMENT=980361;
 
+------
 ws nginx配置 需要分别配置供货商 零售端 商城的域名
 ws 定时监控脚本
+
+
+-----shish 20210512
+ALTER TABLE xhPurchaseClear RENAME TO xhClear;
+ALTER TABLE xhPurchaseClearSn RENAME TO xhClearSn;
+DROP TABLE IF EXISTS `xhGhsOrderClear`;
+DROP TABLE IF EXISTS `xhGhsOrderClearSn`;