|
@@ -23,6 +23,7 @@ public class SMBNoticeInit {
|
|
if (withdrawNotifyPayloadDto.getPayoutNo() != null) {
|
|
if (withdrawNotifyPayloadDto.getPayoutNo() != null) {
|
|
FinancingLoanInfo loanInfo = getFinancingLoanInfoService().lambdaQuery().eq(FinancingLoanInfo::getPayoutNo, withdrawNotifyPayloadDto.getPayoutNo()).one();
|
|
FinancingLoanInfo loanInfo = getFinancingLoanInfoService().lambdaQuery().eq(FinancingLoanInfo::getPayoutNo, withdrawNotifyPayloadDto.getPayoutNo()).one();
|
|
if (loanInfo != null) {
|
|
if (loanInfo != null) {
|
|
|
|
+ String beforeStatus = loanInfo.getPayoutStatus();
|
|
//借据编号
|
|
//借据编号
|
|
loanInfo.setDueBillNo(withdrawNotifyPayloadDto.getDuebillNo());
|
|
loanInfo.setDueBillNo(withdrawNotifyPayloadDto.getDuebillNo());
|
|
//到期日期
|
|
//到期日期
|
|
@@ -40,8 +41,8 @@ public class SMBNoticeInit {
|
|
loanInfo.setFailMsg(withdrawNotifyPayloadDto.getRemark());
|
|
loanInfo.setFailMsg(withdrawNotifyPayloadDto.getRemark());
|
|
}
|
|
}
|
|
getFinancingLoanInfoService().updateById(loanInfo);
|
|
getFinancingLoanInfoService().updateById(loanInfo);
|
|
-// if ("02".equals(withdrawNotifyPayloadDto.getStatus())) {
|
|
|
|
-// //如果提款成功后、需要向sop推送融资信息
|
|
|
|
|
|
+// if ("01".equals(beforeStatus) && "02".equals(withdrawNotifyPayloadDto.getStatus())) {
|
|
|
|
+// //如果提款状态由处理中->成功、需要向sop推送融资信息
|
|
// if (loanInfo.getcFinancingBasicInfoId() != null) {
|
|
// if (loanInfo.getcFinancingBasicInfoId() != null) {
|
|
// CFinancingBasicInfo financingBasicInfo = getFinancingBasicInfoService().getById(loanInfo.getcFinancingBasicInfoId());
|
|
// CFinancingBasicInfo financingBasicInfo = getFinancingBasicInfoService().getById(loanInfo.getcFinancingBasicInfoId());
|
|
// if (financingBasicInfo != null) {
|
|
// if (financingBasicInfo != null) {
|