Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
fd26ba2b
Commit
fd26ba2b
authored
Apr 17, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.2-工资原表识别-优化
parent
b481fedb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
155 additions
and
145 deletions
+155
-145
SalaryUploadParamVo.java
...ifu/cloud/plus/v1/yifu/salary/vo/SalaryUploadParamVo.java
+4
-0
TSalaryStandardOriginalServiceImpl.java
...lary/service/impl/TSalaryStandardOriginalServiceImpl.java
+2
-1
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+149
-144
No files found.
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/SalaryUploadParamVo.java
View file @
fd26ba2b
...
...
@@ -36,6 +36,10 @@ public class SalaryUploadParamVo {
// 代发户的配置list
List
<
TSalaryStandardIssueRes
>
resList
;
// 原表识别,返回校验信息给前端
List
<
TCheckIdCard
>
checkList
;
// 数据行,从0开始计数的
Integer
dataNum
;
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardOriginalServiceImpl.java
View file @
fd26ba2b
...
...
@@ -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
());
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
fd26ba2b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment