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
11ef1ebd
Commit
11ef1ebd
authored
Oct 29, 2024
by
位宇华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中润工资--代码提交
parent
c4b8b401
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/SalaryCurrentRuleServiceImpl.java
...oyi/system/service/impl/SalaryCurrentRuleServiceImpl.java
+2
-0
ruoyi-wages/src/main/java/com/ruoyi/system/support/CurrentRuleSalarySupport.java
...va/com/ruoyi/system/support/CurrentRuleSalarySupport.java
+1
-1
No files found.
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/SalaryCurrentRuleServiceImpl.java
View file @
11ef1ebd
package
com.ruoyi.system.service.impl
;
import
com.alibaba.fastjson.JSON
;
import
com.ruoyi.common.core.domain.AjaxResult
;
...
...
@@ -51,6 +52,7 @@ public class SalaryCurrentRuleServiceImpl implements SalaryCurrentRuleService {
}
}));
}
System
.
err
.
println
(
JSON
.
toJSONString
(
salaryExcelModels
));
int
count
=
salaryMapper
.
exist
(
mineCode
,
salaryDate
);
if
(
count
>
0
)
{
List
<
String
>
stringList
=
salaryMapper
.
selectByDateAndMineCode
(
salaryDate
,
mineCode
);
...
...
ruoyi-wages/src/main/java/com/ruoyi/system/support/CurrentRuleSalarySupport.java
View file @
11ef1ebd
...
...
@@ -292,7 +292,7 @@ public class CurrentRuleSalarySupport {
});
}
private
static
void
ReplaceBracket
(
List
<
NewRuleRequestModel
>
newRuleRequestModelList
)
{
newRuleRequestModelList
.
forEach
(
v
->
v
.
setRow
(
v
.
getRow
().
replaceAll
(
"
\\(.*?\\)"
,
StringUtils
.
EMPTY
).
replaceAll
(
"(.*?\\)"
,
StringUtils
.
EMPTY
).
replaceAll
(
"(.*?)"
,
StringUtils
.
EMPTY
).
replaceAll
(
"
其中:"
,
StringUtils
.
EMPTY
)));
newRuleRequestModelList
.
forEach
(
v
->
v
.
setRow
(
v
.
getRow
().
replaceAll
(
"其中:"
,
StringUtils
.
EMPTY
)));
}
}
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