This commit is contained in:
2026-04-07 17:21:35 +08:00
commit 0a605caefe
553 changed files with 151564 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
public function {%methodName%}($value, $data)
{
$value = $value ?: ($data['{%field%}'] ?? '');
$valueArr = explode(',', $value);
$list = $this->{%listMethodName%}();
return implode(',', array_intersect_key($list, array_flip($valueArr)));
}