优化数据权限代码

This commit is contained in:
RuoYi
2024-06-05 12:48:37 +08:00
parent 493dee03c8
commit 0680d1ed1f
3 changed files with 40 additions and 19 deletions

View File

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