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
6b2e120d
Commit
6b2e120d
authored
Aug 05, 2024
by
位宇华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
唐山矿代码提交
parent
5177d3f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
ruoyi-wages/src/main/java/com/ruoyi/system/controller/SalaryController.java
...in/java/com/ruoyi/system/controller/SalaryController.java
+9
-3
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/SalarySaveServiceImpl.java
.../com/ruoyi/system/service/impl/SalarySaveServiceImpl.java
+0
-3
No files found.
ruoyi-wages/src/main/java/com/ruoyi/system/controller/SalaryController.java
View file @
6b2e120d
...
...
@@ -16,10 +16,16 @@ public class SalaryController {
this
.
salarySaveService
=
salarySaveService
;
}
/**
* 唐山矿
*
* @param multipartFile
* @return
*/
@PostMapping
(
"/salary/save"
)
public
AjaxResult
save
(
@RequestParam
(
"multipartFile"
)
MultipartFile
multipartFile
)
{
public
AjaxResult
save
(
@RequestParam
(
"multipartFile"
)
MultipartFile
multipartFile
)
{
return
salarySaveService
.
save
(
multipartFile
);
}
}
}
ruoyi-wages/src/main/java/com/ruoyi/system/service/impl/SalarySaveServiceImpl.java
View file @
6b2e120d
package
com.ruoyi.system.service.impl
;
import
cn.hutool.core.lang.Snowflake
;
import
com.alibaba.excel.EasyExcel
;
import
com.ruoyi.common.core.domain.AjaxResult
;
import
com.ruoyi.system.listener.TsExcelListener
;
...
...
@@ -24,8 +23,6 @@ public class SalarySaveServiceImpl implements SalarySaveService {
private
final
static
Set
<
String
>
COST_CHANNEL_SET
=
Stream
.
of
(
"基本生产原煤"
,
"基本生产洗煤"
,
"制造费用原煤"
,
"制造费用洗煤"
,
"选混煤"
,
"其他业务成本"
,
"其他应付款"
,
"管理费用"
,
"销售费用"
,
"其他业务支出"
).
collect
(
Collectors
.
toSet
());
static
Snowflake
snowflake
=
new
Snowflake
(
1
,
1
);
private
final
SalaryMapper
salaryMapper
;
public
SalarySaveServiceImpl
(
SalaryMapper
salaryMapper
)
{
...
...
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