This commit is contained in:
dzc committed 2025-03-24 20:16:14 +08:00
1 parent 3f0cd01c41
commit 81c45f5374
1 file changed
+6 -1
@@ -252,7 +252,12 @@ public class WalletThirdZyServiceImpl implements WalletThirdZyService {
log.error("|{}|syncAllUserGroup用户不存在WalletManageVo|{}|", TAG, JSONUtil.toJsonStr(v));
continue;
}
if (ObjectUtil.isEmpty(v.getRoleList()) || !v.getRoleList().contains(CommonRoleConstant.AUTO_CREATE_WALLET)) {
if (ObjectUtil.isEmpty(v.getRoleList())) {
log.error("|{}|syncAllUserGroup用户没有自动创建钱包权限|{}|", TAG, JSONUtil.toJsonStr(v));
continue;
}
List<String> roleCodes = v.getRoleList().stream().map(SysRole::getRoleCode).toList();
if (!roleCodes.contains(CommonRoleConstant.AUTO_CREATE_WALLET)) {
log.error("|{}|syncAllUserGroup用户没有自动创建钱包权限|{}|", TAG, JSONUtil.toJsonStr(v));
continue;
}