Commit 74a96fb1 by 杨树贤

修复数据

parent 9716947b
...@@ -730,4 +730,12 @@ class DataService ...@@ -730,4 +730,12 @@ class DataService
SupplierContractModel::where('id', 10)->delete(); SupplierContractModel::where('id', 10)->delete();
} }
public static function repairSupplierChannel()
{
SupplierChannelModel::where('supplier_id',272)->update([
'is_entity' => -1,
'status' => 2,
]);
}
} }
...@@ -90,5 +90,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -90,5 +90,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
DataService::deleteSupplierContract(); DataService::repairSupplierChannel();
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment