!989 update ruoyi-common/src/main/java/com/ruoyi/common/core/text/Convert.java.

Merge pull request !989 from 程子/N/A
pull/990/MERGE
若依 2025-03-04 11:16:45 +00:00 committed by Gitee
commit 9e16beb48f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 1 deletions

View File

@ -541,7 +541,7 @@ public class Convert
/**
* boolean<br>
* Stringtruefalseyesokno1,0 <br>
* Stringtruefalseyesokno10, <br>
*
*
* @param value
@ -570,10 +570,12 @@ public class Convert
case "yes":
case "ok":
case "1":
case "是":
return true;
case "false":
case "no":
case "0":
case "否":
return false;
default:
return defaultValue;