Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
5cbffd83
Commit
5cbffd83
authored
Jul 12, 2022
by
廖旭伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
eb9cb6ca
e402e3d7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
...mortals/xhx/module/site/service/impl/SiteServiceImpl.java
+7
-4
common-lib/src/main/java/com/mortals/xhx/feign/area/IApiAreaFeign.java
...c/main/java/com/mortals/xhx/feign/area/IApiAreaFeign.java
+1
-1
common-lib/src/main/java/com/mortals/xhx/feign/model/IApiModelFeign.java
...main/java/com/mortals/xhx/feign/model/IApiModelFeign.java
+1
-1
common-lib/src/main/java/com/mortals/xhx/feign/user/IUserFeign.java
.../src/main/java/com/mortals/xhx/feign/user/IUserFeign.java
+1
-1
No files found.
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
View file @
5cbffd83
package
com.mortals.xhx.module.site.service.impl
;
package
com.mortals.xhx.module.site.service.impl
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.URLUtil
;
import
cn.hutool.core.util.URLUtil
;
import
com.mortals.framework.ap.GlobalSysInfo
;
import
com.mortals.framework.ap.GlobalSysInfo
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
...
@@ -303,9 +305,10 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
...
@@ -303,9 +305,10 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
siteEntity
.
setLogoFullPath
(
fullPath
);
siteEntity
.
setLogoFullPath
(
fullPath
);
}
}
if
(!
ObjectUtils
.
isEmpty
(
siteEntity
)
&&
!
ObjectUtils
.
isEmpty
(
siteEntity
.
getModelIds
()))
{
// if (!ObjectUtils.isEmpty(siteEntity) && !ObjectUtils.isEmpty(siteEntity.getModelIds())) {
List
<
ModelEntity
>
collect
=
Arrays
.
asList
(
siteEntity
.
getModelIds
().
split
(
","
)).
stream
().
map
(
modelId
->
modelService
.
get
(
Long
.
parseLong
(
modelId
))).
collect
(
Collectors
.
toList
());
// List<Long> modelIdlist = StrUtil.split(siteEntity.getModelIds(), ",".charAt(0), -1, true, (String str) -> Long.parseLong(str));
siteEntity
.
setModelList
(
collect
);
// List<ModelEntity> collect =modelService.find(new ModelQuery().idList(modelIdlist));
}
// siteEntity.setModelList(collect);
// }
}
}
}
}
\ No newline at end of file
common-lib/src/main/java/com/mortals/xhx/feign/area/IApiAreaFeign.java
View file @
5cbffd83
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
* @author: zxfei
* @author: zxfei
* @date: 2022/5/30 10:40
* @date: 2022/5/30 10:40
*/
*/
@FeignClient
(
name
=
"base-manager"
,
path
=
"/base"
,
fallback
=
AreaFeignFallbackFactory
.
class
)
@FeignClient
(
name
=
"base-manager"
,
path
=
"/base"
,
fallback
Factory
=
AreaFeignFallbackFactory
.
class
)
public
interface
IApiAreaFeign
extends
IFeign
{
public
interface
IApiAreaFeign
extends
IFeign
{
...
...
common-lib/src/main/java/com/mortals/xhx/feign/model/IApiModelFeign.java
View file @
5cbffd83
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestBody;
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import
java.util.List
;
import
java.util.List
;
@FeignClient
(
name
=
"base-manager"
,
path
=
"/base"
,
fallback
=
ModelFeignFallbackFactory
.
class
)
@FeignClient
(
name
=
"base-manager"
,
path
=
"/base"
,
fallback
Factory
=
ModelFeignFallbackFactory
.
class
)
public
interface
IApiModelFeign
extends
IFeign
{
public
interface
IApiModelFeign
extends
IFeign
{
/**
/**
...
...
common-lib/src/main/java/com/mortals/xhx/feign/user/IUserFeign.java
View file @
5cbffd83
...
@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
* @author zxfei
* @author zxfei
* @date 2022-07-06
* @date 2022-07-06
*/
*/
@FeignClient
(
name
=
"portal-manager"
,
path
=
"/zwfw"
,
fallback
=
UserFeignFallbackFactory
.
class
)
@FeignClient
(
name
=
"portal-manager"
,
path
=
"/zwfw"
,
fallback
Factory
=
UserFeignFallbackFactory
.
class
)
public
interface
IUserFeign
extends
IFeign
{
public
interface
IUserFeign
extends
IFeign
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment