Commit 5c9f57a3 authored by 郝彦辉's avatar 郝彦辉

报送返回日志自动报送工具bug

parent bec3b53b
...@@ -230,11 +230,9 @@ public class ManualToolService implements CommonSuperService { ...@@ -230,11 +230,9 @@ public class ManualToolService implements CommonSuperService {
List<RepaymentInfoZhuDai> repaymentLoanInfoList = new ArrayList<>(tmpLogList.size()); List<RepaymentInfoZhuDai> repaymentLoanInfoList = new ArrayList<>(tmpLogList.size());
for (RepaymentLoanInfoLog logBean : tmpLogList) { for (RepaymentLoanInfoLog logBean : tmpLogList) {
RepaymentInfoZhuDai voBean = new RepaymentInfoZhuDai();
//查询d2使用 //查询d2使用
loanIdList.add(voBean.getLoanId()); loanIdList.add(logBean.getLoanId());
RepaymentInfoZhuDai voBean = new RepaymentInfoZhuDai();
//添加了忽略username属性的赋值 //添加了忽略username属性的赋值
//BeanUtils.copyProperties(book,book2,"username"); //BeanUtils.copyProperties(book,book2,"username");
BeanUtils.copyProperties(logBean, voBean); BeanUtils.copyProperties(logBean, voBean);
......
...@@ -90,7 +90,7 @@ public class ReadOrWriteTxt { ...@@ -90,7 +90,7 @@ public class ReadOrWriteTxt {
List<String> lineList = new ArrayList<String>(); List<String> lineList = new ArrayList<String>();
try { try {
FileInputStream fileInputStream = new FileInputStream(file); FileInputStream fileInputStream = new FileInputStream(file);
InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream); InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream, "GBK");
BufferedReader bufferedReader = new BufferedReader(inputStreamReader); BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
StringBuffer sb = new StringBuffer(); StringBuffer sb = new StringBuffer();
......
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