mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
鲜花2.0-接口测试bug修复
This commit is contained in:
parent
32edad5d4b
commit
9c559f3bdd
@ -15,8 +15,8 @@ class CreateBusinessAfterSaleOrders extends Migration
|
|||||||
{
|
{
|
||||||
Schema::create('business_after_sale_orders', function (Blueprint $table) {
|
Schema::create('business_after_sale_orders', function (Blueprint $table) {
|
||||||
$table->bigIncrements('id');
|
$table->bigIncrements('id');
|
||||||
$table->string('after_sales_biz_sn')->comment('售后单编号');
|
$table->string('after_sales_biz_sn',150)->comment('售后单编号');
|
||||||
$table->string('order_sn')->comment('父单编号');
|
$table->string('order_sn',150)->comment('父单编号');
|
||||||
$table->integer('shop_id')->comment('门店id');
|
$table->integer('shop_id')->comment('门店id');
|
||||||
$table->integer('after_sales_status')->default(0)->comment('售后单状态
|
$table->integer('after_sales_status')->default(0)->comment('售后单状态
|
||||||
0-未发起售后 1-退款中 2-退款成功 3-待处理 4-拒绝退款 6-待(顾客)退货 7-待(团长)确认退货 8-(顾客)撤销 9-(系统)关闭');
|
0-未发起售后 1-退款中 2-退款成功 3-待处理 4-拒绝退款 6-待(顾客)退货 7-待(团长)确认退货 8-(顾客)撤销 9-(系统)关闭');
|
||||||
@ -33,7 +33,6 @@ class CreateBusinessAfterSaleOrders extends Migration
|
|||||||
|
|
||||||
$table->unique(["shop_id",'order_sn'],"unique_shop_id_order_sn");
|
$table->unique(["shop_id",'order_sn'],"unique_shop_id_order_sn");
|
||||||
$table->index('order_sn');
|
$table->index('order_sn');
|
||||||
$table->index('after_sales_biz_sn');
|
|
||||||
$table->index(['after_sales_biz_sn',"apply_type"],"index_biz_sn_apply_type");
|
$table->index(['after_sales_biz_sn',"apply_type"],"index_biz_sn_apply_type");
|
||||||
$table->index('after_sale_created_at');
|
$table->index('after_sale_created_at');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user