Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
7341c3cd
Commit
7341c3cd
authored
Jan 14, 2022
by
dingzhiwei
Browse files
修改删除服务商时查看子商户数量bug
parent
e4603254
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-service/src/main/java/com/jeequan/jeepay/service/impl/IsvInfoService.java
View file @
7341c3cd
...
...
@@ -52,7 +52,7 @@ public class IsvInfoService extends ServiceImpl<IsvInfoMapper, IsvInfo> {
}
// 1.查询当前服务商下是否存在商户
int
mchCount
=
mchInfoService
.
count
(
MchInfo
.
gw
().
eq
(
MchInfo:
:
getIsvNo
,
isvNo
).
eq
(
MchInfo:
:
getType
,
CS
.
INFO
_TYPE_ISV
));
int
mchCount
=
mchInfoService
.
count
(
MchInfo
.
gw
().
eq
(
MchInfo:
:
getIsvNo
,
isvNo
).
eq
(
MchInfo:
:
getType
,
CS
.
MCH
_TYPE_ISV
SUB
));
if
(
mchCount
>
0
)
{
throw
new
BizException
(
"该服务商下存在商户,不可删除"
);
}
...
...
Write
Preview
Supports
Markdown
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