|
@@ -56,9 +56,6 @@ public class DownloadController {
|
|
|
|
|
|
TBOrgDownloadBean tbOrgDownloadBean = GsonUtil.fromJson(GsonUtil.toJson(tbOrg), TBOrgDownloadBean.class);
|
|
|
TBClientVersion tbClientVersion = tbClientVersionService.getLastUploadClientVersion(tbOrg.getId());
|
|
|
- if (Objects.isNull(tbClientVersion)) {
|
|
|
- tbClientVersion = tbClientVersionService.getMaxClientVersion();
|
|
|
- }
|
|
|
if (Objects.nonNull(tbClientVersion)) {
|
|
|
VersionBean v = new VersionBean(tbClientVersion.getName(), tbClientVersion.getValue(), tbClientVersion.getUrl());
|
|
|
tbOrgDownloadBean.setVersion(v);
|