Commit fd26ba2b authored by hongguangwu's avatar hongguangwu

MVP1.6.2-工资原表识别-优化

parent b481fedb
......@@ -36,6 +36,10 @@ public class SalaryUploadParamVo {
// 代发户的配置list
List<TSalaryStandardIssueRes> resList;
// 原表识别,返回校验信息给前端
List<TCheckIdCard> checkList;
// 数据行,从0开始计数的
Integer dataNum;
}
......@@ -710,7 +710,7 @@ public class TSalaryStandardOriginalServiceImpl extends ServiceImpl<TSalaryStand
String jsonString = null;
InputStream inputStream = file.getInputStream();
R<ExcelSheetVo> voR;
ExcelSheetVo vo = null;
ExcelSheetVo vo;
//根据文件格式 对应不同的api解析
if (filename.endsWith(".xlsx")) {
voR = readXlsx(inputStream, specialIdCardList, false, sheetName);
......@@ -859,6 +859,7 @@ public class TSalaryStandardOriginalServiceImpl extends ServiceImpl<TSalaryStand
// 最后转化为jsonString
jsonString = JSON.toJSON(contentList).toString();
SalaryUploadParamVo returnVo = new SalaryUploadParamVo();
returnVo.setDataNum(vo.getDataNum());
returnVo.setCheckList(checkList);
returnVo.setJsonString(jsonString);
returnVo.setSalaryType(excelVo.getSalaryType());
......
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