优化数据权限代码

This commit is contained in:
RuoYi
2024-06-05 12:30:43 +08:00
parent bc7a607033
commit 259dc67728
3 changed files with 31 additions and 10 deletions

View File

@ -365,6 +365,10 @@ public class Convert
*/
public static String[] toStrArray(String str)
{
if (StringUtils.isEmpty(str))
{
return new String[] {};
}
return toStrArray(",", str);
}