|
@@ -1840,7 +1840,7 @@ public class CompanyServiceImpl implements ICompanyService
|
|
|
|
|
|
|
|
if(!StringUtils.isEmpty(redLogs.getBatchId())){
|
|
if(!StringUtils.isEmpty(redLogs.getBatchId())){
|
|
|
R result=checkMchTransferStatusByBatchID(redLogs.getBatchId(),redLogs.getCompanyId());
|
|
R result=checkMchTransferStatusByBatchID(redLogs.getBatchId(),redLogs.getCompanyId());
|
|
|
- if("200".equals(result.get("code"))){
|
|
|
|
|
|
|
+ if("200".equals(String.valueOf(result.get("code")))){
|
|
|
FsCourseRedPacketLog update = new FsCourseRedPacketLog();
|
|
FsCourseRedPacketLog update = new FsCourseRedPacketLog();
|
|
|
update.setUpdateTime(new Date());
|
|
update.setUpdateTime(new Date());
|
|
|
update.setLogId(redLogs.getLogId());
|
|
update.setLogId(redLogs.getLogId());
|
|
@@ -1858,8 +1858,8 @@ public class CompanyServiceImpl implements ICompanyService
|
|
|
return;
|
|
return;
|
|
|
}else if("fail".equals(result.get("status"))){// 只对失败的部分进行回滚
|
|
}else if("fail".equals(result.get("status"))){// 只对失败的部分进行回滚
|
|
|
// 更新支付状态
|
|
// 更新支付状态
|
|
|
- update.setStatus(2); // 已退回
|
|
|
|
|
- fsCourseRedPacketLogMapper.updateFsCourseRedPacketLog(update);
|
|
|
|
|
|
|
+// update.setStatus(2); // 已退回
|
|
|
|
|
+// fsCourseRedPacketLogMapper.updateFsCourseRedPacketLog(update);
|
|
|
|
|
|
|
|
redBalanceLogs.setStatus(2L);
|
|
redBalanceLogs.setStatus(2L);
|
|
|
companyRedPacketBalanceLogsMapper.updateCompanyRedPacketBalanceLogsByRedPacketId(redBalanceLogs);
|
|
companyRedPacketBalanceLogsMapper.updateCompanyRedPacketBalanceLogsByRedPacketId(redBalanceLogs);
|