mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
22 lines
457 B
PHP
22 lines
457 B
PHP
<?php
|
|
|
|
namespace App\Filters;
|
|
|
|
class BusinessGoodsSkuFilter extends Filters
|
|
{
|
|
protected function externalSkuId($value)
|
|
{
|
|
return $this->builder->where('external_sku_id', '=', trim($value));
|
|
}
|
|
|
|
protected function goodsName($value)
|
|
{
|
|
return $this->builder->where('goods_name', '=', trim($value));
|
|
}
|
|
|
|
protected function shipId($value)
|
|
{
|
|
return $this->builder->where('shop_id', '=', trim($value));
|
|
}
|
|
}
|