feat: 同步数据接收

This commit is contained in:
2025-07-01 17:15:40 +08:00
parent 77706e5bcb
commit 8e78f95002
2 changed files with 77 additions and 0 deletions

View File

@@ -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)
{