Commit ab6b4db5 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/develop' into develop

parents 9bdd2943 2188f38a
......@@ -47,7 +47,7 @@ public class SalaryUploadController {
@SysLog("上传薪资表")
@PostMapping("/upload")
public R upload(@RequestBody String jsonString, @RequestParam String settleDepart, @RequestParam(required = false) String configId
, @RequestParam String salaryType, @RequestParam String orderId) {
, @RequestParam String salaryType, @RequestParam(required = false) String orderId) {
return salaryUploadService.salaryUpload(jsonString, settleDepart, configId, salaryType,orderId);
}
......@@ -61,7 +61,7 @@ public class SalaryUploadController {
@Operation(description = "保存并提交")
@SysLog("保存并提交薪资表")
@PostMapping("/saveAndSubmit")
public R saveAndSubmit(@RequestBody List<TSalaryAccountVo> savList, String orderId) {
public R saveAndSubmit(@RequestBody List<TSalaryAccountVo> savList, @RequestParam(required = false)String orderId) {
return salaryUploadService.saveAndSubmit(savList,orderId);
}
......
......@@ -59,6 +59,8 @@
a.REASON_TYPE,
a.CREATE_BY,
a.CREATE_NAME
,a.CREATE_NAME,
a.CREATE_TIME
</sql>
<sql id="sysMessageSalary_where">
<if test="sysMessageSalary != null">
......@@ -127,6 +129,7 @@
<where>
<include refid="sysMessageSalarySql"/>
<include refid="sysMessageSalary_where"/>
order by a.CREATE_TIME desc
</where>
</select>
......@@ -181,7 +184,9 @@
DEPT_ID as DEPART_ID,
DEPT_NAME as DEPART_NAME,
DEPT_NO as DEPART_NO,
0 as TYPE
0 as TYPE,
CREATE_NAME,
CREATE_TIME
FROM
(
SELECT
......@@ -197,6 +202,8 @@
sum(i.SALARY_MONEY) AS actual_salary,
sum(l.SALARY_MONEY) AS relay_Salary,
s.CREATE_BY AS CREATE_BY,
s.CREATE_NAME AS CREATE_NAME,
s.CREATE_TIME AS CREATE_TIME,
min(IFNULL(t.salary_base,c.salary_base)) AS salary_base,
a.PROVINCE,
a.CITY,
......
......@@ -224,7 +224,7 @@ public class TDispatchInfoController {
@SysLog("批量新增派单信息记录表")
@PostMapping("/importListAdd")
//@PreAuthorize("@pms.hasPermission('demo_tdispatchinfo-batch-import')")
public R<List<ErrorMessage>> importListAdd(@RequestBody MultipartFile file, String orderId){
public R<List<ErrorMessage>> importListAdd(@RequestBody MultipartFile file, @RequestParam(required = false)String orderId){
return tDispatchInfoService.importDiy(file.getInputStream(),orderId);
}
......
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