|
|
|
@ -25,6 +25,7 @@ import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
@ -103,6 +104,7 @@ public class WithdrawAuditApplicationService extends BaseApplicationService { |
|
|
|
if (!existWithdrawAudit.getRemitStatus()) { |
|
|
|
if (withdrawAudit.getRemitStatus() && WithdrawAuditStatus.PASS_VERIFICATION.equals(existWithdrawAudit.getStatus())) { |
|
|
|
//同意汇款 |
|
|
|
withdrawAudit.setRemitDateTime(LocalDateTime.now()); |
|
|
|
BaseDomainEvent event = withdrawAuditAggregate.remit(withdrawAudit); |
|
|
|
this.sendEvent(event); |
|
|
|
} else if (!withdrawAudit.getRemitStatus()) { |
|
|
|
|