mirror of https://gitee.com/y_project/RuoYi.git
调整Map通用处理工具类中数组参数拼接
parent
74f3bef334
commit
12d7c4168d
|
@ -33,11 +33,15 @@ public class MapDataUtil
|
|||
else if (valueObj instanceof String[])
|
||||
{
|
||||
String[] values = (String[]) valueObj;
|
||||
value = "";
|
||||
for (int i = 0; i < values.length; i++)
|
||||
{
|
||||
value = values[i] + ",";
|
||||
value += values[i] + ",";
|
||||
}
|
||||
if (value.length() > 0)
|
||||
{
|
||||
value = value.substring(0, value.length() - 1);
|
||||
}
|
||||
value = value.substring(0, value.length() - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue