Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 80c3bdca
authored
Jun 08, 2026
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(strategy): 修复门店名称不一致日志格式问题
- 修改日志输出格式,在门店名称不一致警告中添加方括号包围变量值 - 保持原有的商户验证逻辑不变
1 parent
2bbf0dd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/ProjectGroupService.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/ProjectGroupService.java
View file @
80c3bdc
...
@@ -718,7 +718,7 @@ public class ProjectGroupService {
...
@@ -718,7 +718,7 @@ public class ProjectGroupService {
// 验证门店名称
// 验证门店名称
importMerchants
.
forEach
((
merchantId
,
merchantName
)
->
{
importMerchants
.
forEach
((
merchantId
,
merchantName
)
->
{
if
(!
StringUtils
.
equals
(
merchantNameMap
.
get
(
merchantId
),
merchantName
))
{
if
(!
StringUtils
.
equals
(
merchantNameMap
.
get
(
merchantId
),
merchantName
))
{
log
.
warn
(
"门店名称不一致:
{} != {}
"
,
merchantName
,
merchantNameMap
.
get
(
merchantId
));
log
.
warn
(
"门店名称不一致:
[{}] != [{}]
"
,
merchantName
,
merchantNameMap
.
get
(
merchantId
));
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVER_ERROR
,
"无效商户"
);
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVER_ERROR
,
"无效商户"
);
}
}
});
});
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment