mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 08:38:26 +08:00
chore: code format
This commit is contained in:
parent
3618f70055
commit
3c26f72df8
@ -75,7 +75,7 @@ public class ToManyRelation<SelfEntity> extends AbstractRelation<SelfEntity> {
|
||||
String[] splitValues = ((String) targetValue).split(selfValueSplitBy);
|
||||
for (String splitValue : splitValues) {
|
||||
// 排除空值
|
||||
if (splitValue == null || splitValue.length() == 0) {
|
||||
if (splitValue == null || splitValue.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
//优化分割后的数据类型(防止在数据库查询时候出现隐式转换)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user