|
@@ -617,7 +617,7 @@ public class PersonServiceImpl extends ServiceImpl<PersonMapper, Person>
|
|
).collect(Collectors.toList());
|
|
).collect(Collectors.toList());
|
|
|
|
|
|
if (CollectionUtils.isEmpty(mainDuties)) {
|
|
if (CollectionUtils.isEmpty(mainDuties)) {
|
|
- if (mainDuty != null) {
|
|
|
|
|
|
+ if (StringUtils.isNotBlank(mainDuty)) {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|