Commit 6b2e120d authored by 位宇华's avatar 位宇华

唐山矿代码提交

parent 5177d3f3
......@@ -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);
}
}
}
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) {
......
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