|
@@ -1,8 +1,6 @@
|
|
|
package com.ruoyi.resource.miniapp;
|
|
|
|
|
|
-import com.ruoyi.common.core.exception.CustomException;
|
|
|
import com.ruoyi.common.core.utils.DateUtils;
|
|
|
-import com.ruoyi.common.core.utils.SecurityUtils;
|
|
|
import com.ruoyi.common.core.utils.StringUtils;
|
|
|
import com.ruoyi.common.core.web.controller.BaseController;
|
|
|
import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
@@ -15,8 +13,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-import java.util.Objects;
|
|
|
|
|
|
/**
|
|
|
* 监护对象用户Controller
|
|
@@ -352,7 +348,7 @@ public class UserAppController extends BaseController
|
|
|
ZnylKhzh khzh = znylKhzhService.selectZnylKhzhById(accountId);
|
|
|
if (null != khzh) {
|
|
|
String code = khzh.getRegioncode();
|
|
|
- if (StringUtils.isNotNull(parentId)) {
|
|
|
+ if (StringUtils.isNotEmpty(parentId)) {
|
|
|
query.setParentId(parentId);
|
|
|
} else {
|
|
|
// 查最高级
|