Pre Merge pull request !988 from 程子/N/A

pull/988/MERGE
程子 2025-12-03 02:26:55 +00:00 committed by Gitee
commit f347084f04
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -1353,7 +1353,7 @@ public class ExcelUtil<T>
{
for (String value : propertyValue.split(separator))
{
if (itemArray[1].equals(value))
if (itemArray[1].equals(value) || itemArray[0].equals(value))
{
propertyString.append(itemArray[0] + separator);
break;
@ -1362,7 +1362,7 @@ public class ExcelUtil<T>
}
else
{
if (itemArray[1].equals(propertyValue))
if (itemArray[1].equals(propertyValue) || itemArray[0].equals(propertyValue))
{
return itemArray[0];
}