duhanyu
杜函宇 14 hours ago
parent 3a4f27f543
commit 2ae797efa2

@ -386,6 +386,8 @@ public class AssetCurrentController extends BaseController {
a1.add(acomma); a1.add(acomma);
}); });
byId.setGlymList(a1); byId.setGlymList(a1);
}else {
byId.setGlymList(new ArrayList<>());
} }
List<Acomma> a2 = new ArrayList<>(); List<Acomma> a2 = new ArrayList<>();
if (byId.getGlIp() != null) { if (byId.getGlIp() != null) {
@ -395,6 +397,8 @@ public class AssetCurrentController extends BaseController {
a2.add(acomma); a2.add(acomma);
}); });
byId.setGlIpList(a2); byId.setGlIpList(a2);
}else {
byId.setGlIpList(new ArrayList<>());
} }
return success(byId); return success(byId);
} }

@ -80,6 +80,8 @@ public class AssetCurrentServiceImpl extends ServiceImpl<AssetCurrentMapper, Ass
a1.add(acomma); a1.add(acomma);
}); });
byId.setGlymList(a1); byId.setGlymList(a1);
}else {
byId.setGlymList(new ArrayList<>());
} }
List<Acomma> a2 = new ArrayList<>(); List<Acomma> a2 = new ArrayList<>();
if(byId.getGlIp()!=null){ if(byId.getGlIp()!=null){
@ -89,6 +91,8 @@ public class AssetCurrentServiceImpl extends ServiceImpl<AssetCurrentMapper, Ass
a2.add(acomma); a2.add(acomma);
}); });
byId.setGlIpList(a2); byId.setGlIpList(a2);
}else {
byId.setGlIpList(new ArrayList<>());
} }
return byId; return byId;
} }

Loading…
Cancel
Save