feat: 同步数据接收
This commit is contained in:
@@ -23,6 +23,12 @@ class ProductTcoCategoryModel extends ProductTcoCategoryBaseModel
|
||||
$query->where('language_id', '=', $value);
|
||||
}
|
||||
|
||||
// 根据ERP Code查询
|
||||
public function scopeErpCode($query, $value)
|
||||
{
|
||||
$query->where('erp_code', '=', $value);
|
||||
}
|
||||
|
||||
// 按分类名称搜索
|
||||
public function searchNameAttr($query, $value, $data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user