Commit 28b3251d authored by 陈宏杰's avatar 陈宏杰

类型错误

parent 13409fd9
...@@ -80,7 +80,7 @@ public class BaiHangDataDisposeService { ...@@ -80,7 +80,7 @@ public class BaiHangDataDisposeService {
public void encryptFieldAndCreateFile(String sourceCollectFileName, String sourceFilePath, String targetFilePath, String dataType) throws Exception{ public void encryptFieldAndCreateFile(String sourceCollectFileName, String sourceFilePath, String targetFilePath, String dataType) throws Exception{
File collectFile = new File(sourceFilePath + sourceCollectFileName); File collectFile = new File(sourceFilePath + sourceCollectFileName);
File subFile = null; File subFile = null;
String dataStr = null,contentStr = null,encryptFileName = null; String dataStr = null,contentStr = null,encryptFileName = null,dataStrType = null;
BufferedReader bis = null; BufferedReader bis = null;
LoanInfoZhuDaiVo loanInfoZhuDaiVo = null; LoanInfoZhuDaiVo loanInfoZhuDaiVo = null;
RepaymentInfoZhuDai repaymentInfoZhuDai = null; RepaymentInfoZhuDai repaymentInfoZhuDai = null;
...@@ -96,16 +96,17 @@ public class BaiHangDataDisposeService { ...@@ -96,16 +96,17 @@ public class BaiHangDataDisposeService {
if (StringUtils.isNotBlank(dataStr)) { if (StringUtils.isNotBlank(dataStr)) {
if (StringUtils.equalsAny(dataStr,"#applyInfo","#singleLoanAccountInfo","#singleLoanRepayInfo")) { if (StringUtils.equalsAny(dataStr,"#applyInfo","#singleLoanAccountInfo","#singleLoanRepayInfo")) {
contentStr = dataStr; contentStr = dataStr;
dataStrType = dataStr;
} else { } else {
if (dataStr.equals("#applyInfo")) { if (dataStrType.equals("#applyInfo")) {
} else if(dataStr.equals("#singleLoanAccountInfo")) { } else if(dataStrType.equals("#singleLoanAccountInfo")) {
loanInfoZhuDaiVo = JSONUtil.toBean(dataStr, LoanInfoZhuDaiVo.class); loanInfoZhuDaiVo = JSONUtil.toBean(dataStr, LoanInfoZhuDaiVo.class);
loanInfoZhuDaiVo.setName(baiHangFileReportService.sensitiveFilter(loanInfoZhuDaiVo.getName())); loanInfoZhuDaiVo.setName(baiHangFileReportService.sensitiveFilter(loanInfoZhuDaiVo.getName()));
loanInfoZhuDaiVo.setPid(baiHangFileReportService.sensitiveFilter(loanInfoZhuDaiVo.getPid())); loanInfoZhuDaiVo.setPid(baiHangFileReportService.sensitiveFilter(loanInfoZhuDaiVo.getPid()));
loanInfoZhuDaiVo.setMobile(baiHangFileReportService.sensitiveFilter(loanInfoZhuDaiVo.getMobile())); loanInfoZhuDaiVo.setMobile(baiHangFileReportService.sensitiveFilter(loanInfoZhuDaiVo.getMobile()));
contentStr = JSON.toJSONString(loanInfoZhuDaiVo); contentStr = JSON.toJSONString(loanInfoZhuDaiVo);
} else if(dataStr.equals("#singleLoanRepayInfo")) { } else if(dataStrType.equals("#singleLoanRepayInfo")) {
repaymentInfoZhuDai = JSONUtil.toBean(dataStr, RepaymentInfoZhuDai.class); repaymentInfoZhuDai = JSONUtil.toBean(dataStr, RepaymentInfoZhuDai.class);
repaymentInfoZhuDai.setName(baiHangFileReportService.sensitiveFilter(repaymentInfoZhuDai.getName())); repaymentInfoZhuDai.setName(baiHangFileReportService.sensitiveFilter(repaymentInfoZhuDai.getName()));
repaymentInfoZhuDai.setPid(baiHangFileReportService.sensitiveFilter(repaymentInfoZhuDai.getPid())); repaymentInfoZhuDai.setPid(baiHangFileReportService.sensitiveFilter(repaymentInfoZhuDai.getPid()));
......
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