Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
f8cfd287
Commit
f8cfd287
authored
Jun 17, 2024
by
Fuzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改通用导入和对照方法
parent
4562d71f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/WagesCalculateConversionServiceImpl.java
...tem/service/impl/WagesCalculateConversionServiceImpl.java
+3
-0
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/WagesServiceImpl.java
.../java/com/ruoyi/system/service/impl/WagesServiceImpl.java
+2
-1
No files found.
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/WagesCalculateConversionServiceImpl.java
View file @
f8cfd287
...
...
@@ -222,6 +222,9 @@ public class WagesCalculateConversionServiceImpl implements WagesCalculateConver
value
=
value
.
replaceAll
(
" "
,
""
);
char
sta
=
value
.
charAt
(
0
);
char
end
=
value
.
charAt
(
value
.
length
()
-
1
);
if
(
value
.
charAt
(
0
)
==
'-'
&&
value
.
charAt
(
1
)
==
'-'
){
value
=
value
.
substring
(
2
);
}
if
((
sta
<
48
||
sta
>
57
)
&&
sta
!=
'-'
)
{
return
"公式填写有误"
;
}
...
...
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/WagesServiceImpl.java
View file @
f8cfd287
...
...
@@ -271,7 +271,8 @@ public class WagesServiceImpl implements WagesService {
});
}
// 添加
List
<
String
>
filterList
=
Arrays
.
asList
(
"小计"
,
"合计"
,
"总计"
);
if
(
idList
.
size
()
!=
numberOfSheets
)
return
"对照表不完善"
;
List
<
String
>
filterList
=
Arrays
.
asList
(
"小计"
,
"合计"
,
"总计"
,
"研发人员小计"
,
"全矿总计"
);
for
(
int
i
=
0
;
i
<
idList
.
size
();
i
++)
{
Integer
integer
=
idList
.
get
(
i
);
detailsMapper
.
deleteBatch
(
mineId
,
date
,
integer
);
...
...
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