Commit 3f76336d authored by hongguangwu's avatar hongguangwu

MVP1.7.2 工行5次提交_测试下载

parent a8751105
......@@ -381,19 +381,13 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
List<EkpBankExcelVo> list;
log.error("fdId===" + fdId);
log.error("type===" + type);
log.error("CommonConstants.ONE_STRING.equals(type)===" + CommonConstants.ONE_STRING.equals(type));
log.error("CommonConstants.TWO_STRING.equals(type)===" + CommonConstants.TWO_STRING.equals(type));
// 1主表整体下载
if (CommonConstants.ONE_STRING.equals(type)) {
log.error("111111");
EkpBankPayTask main = ekpBankPayTaskService.getById(fdId);
if (main == null) {
return R.failed("未找到表数据!");
} else if (Common.isNotNull(main.getFdDownloadNum()) && Common.isNotNull(main.getFdFailNum())
&& (CommonConstants.ZERO_INT == main.getFdDownloadNum() || main.getFdDownloadNum().equals(main.getFdFailNum()))) {
log.error("111112");
// 新下载
list = ekpBankGrantDetailService.getEkpBankExcelVoByIdAndMain(fdId);
return getNewFileByMain(fdId, type, vo, list, main);
......@@ -401,10 +395,7 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
// 取URL数据返回
return getOldAttaUrl(vo, main.getFdAttaSrc(), main.getFdAttaName());
}
log.error("main.getFdDownloadNum()="+main.getFdDownloadNum());
log.error("main.getFdFailNum()="+main.getFdFailNum());
} else if (CommonConstants.TWO_STRING.equals(type)) {
log.error("222222");
// 2明细表
EkpBankGrantDetail detail = ekpBankGrantDetailService.getById(fdId);
if (detail == null) {
......@@ -418,8 +409,6 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
// 取URL数据返回
return getOldAttaUrl(vo, detail.getFdAttaSrc(), detail.getFdAttaName());
}
log.error("main.getFdDownloadNum()="+detail.getFdDownloadNum());
log.error("main.getFdFailNum()="+detail.getFdFailNum());
}
return R.failed("请处理表数据的下载次数与失败次数,fdId=" + fdId + ";type=" + type);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment