|
|
|
@ -221,7 +221,8 @@ public class RefundServiceImpl implements RefundService, ApplicationEventPublish
|
|
|
|
|
if (type == OperatorType.PARTNER) {
|
|
|
|
|
|
|
|
|
|
int accountClientId = partnerAccount.getIntValue("client_id");
|
|
|
|
|
Assert.isTrue(accountClientId == client.getIntValue("client_id") || accountClientId == client.getIntValue("parent_client_id"),
|
|
|
|
|
Assert.isTrue(accountClientId == client.getIntValue("client_id") || accountClientId == client.getIntValue("parent_client_id")
|
|
|
|
|
||clientManager.listLevel3Client(accountClientId).contains(client.getIntValue("parent_client_id")),
|
|
|
|
|
"This order is not belong to current merchant");
|
|
|
|
|
operator.put("operator_id", partnerAccount.getString("account_id"));
|
|
|
|
|
operator.put("operator", partnerAccount.getString("display_name"));
|
|
|
|
|