Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
03bb6eda
Commit
03bb6eda
authored
Feb 22, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加打印日志
parent
7639ccae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
McbWarningFeign.java
...oin/amos/boot/module/jxiop/api/feign/McbWarningFeign.java
+1
-1
McbWarningServiceImpl.java
.../module/jxiop/biz/service/impl/McbWarningServiceImpl.java
+5
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/feign/McbWarningFeign.java
View file @
03bb6eda
...
...
@@ -13,7 +13,7 @@ import java.util.List;
import
java.util.Map
;
@FeignClient
(
name
=
"${mcb.warning.name:MCB-SERVER}"
,
path
=
"warning"
,
configuration
=
{
FeignConfiguration
.
class
}
,
url
=
"http://10.20.1.160:10005"
)
@FeignClient
(
name
=
"${mcb.warning.name:MCB-SERVER}"
,
path
=
"warning"
,
configuration
=
{
FeignConfiguration
.
class
})
public
interface
McbWarningFeign
{
/**
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/McbWarningServiceImpl.java
View file @
03bb6eda
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.
baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.
alibaba.fastjson.JSON
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jxiop.api.dto.RectificationUnitClassifyTreeDto
;
import
com.yeejoin.amos.boot.module.jxiop.api.feign.McbWarningFeign
;
...
...
@@ -9,9 +9,8 @@ import com.yeejoin.amos.boot.module.jxiop.api.service.IMcbWarningService;
import
com.yeejoin.amos.boot.module.jxiop.api.service.IPermissionService
;
import
com.yeejoin.amos.boot.module.jxiop.biz.mcbwarningmapper.McbWarningMapper
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.warning.feign.model.BaseCondition
;
import
org.apache.commons.lang.StringUtils
;
import
org.
apache.poi.ss.formula.functions.T
;
import
org.
slf4j.LoggerFactory
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -23,6 +22,8 @@ import java.util.stream.Collectors;
@Service
public
class
McbWarningServiceImpl
implements
IMcbWarningService
{
private
final
static
org
.
slf4j
.
Logger
log
=
LoggerFactory
.
getLogger
(
McbWarningServiceImpl
.
class
);
@Autowired
private
McbWarningMapper
mcbWarningMapper
;
...
...
@@ -244,6 +245,7 @@ public class McbWarningServiceImpl implements IMcbWarningService {
if
(
Objects
.
isNull
(
projectOrgCodes
))
{
projectOrgCodes
=
Collections
.
emptyList
();
}
log
.
info
(
JSON
.
toJSONString
(
"当前用户转换获取的orgcode列表是 "
+
projectOrgCodes
));
return
projectOrgCodes
;
}
...
...
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