考勤引用本身报表
This commit is contained in:
parent
57753bfb4a
commit
810cfe7f5e
|
|
@ -3,7 +3,7 @@ package com.engine.salary.remote.attend.service.impl;
|
|||
import com.alibaba.druid.support.json.JSONUtils;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.engine.core.impl.Service;
|
||||
import com.engine.salary.remote.attend.cmd.GetKQReportCmd;
|
||||
import com.engine.kq.cmd.report.GetKQReportCmd;
|
||||
import com.engine.salary.remote.attend.entity.Attend4Salary;
|
||||
import com.engine.salary.remote.attend.service.RemoteAttend4SalaryService;
|
||||
import com.engine.salary.util.SalaryDateUtil;
|
||||
|
|
@ -27,8 +27,8 @@ public class RemoteAttend4SalaryServiceImpl extends Service implements RemoteAtt
|
|||
Map<String, Object> paramsMap = new HashMap<String, Object>();
|
||||
// paramsMap.put("pageIndex", 1);
|
||||
// paramsMap.put("pageSize", 10);
|
||||
paramsMap.put("typeselect", "6");
|
||||
paramsMap.put("viewScope", "3");
|
||||
paramsMap.put("typeselect", "3");
|
||||
paramsMap.put("viewScope", "0");
|
||||
paramsMap.put("isNoAccount", "1");
|
||||
paramsMap.put("attendanceSerial", "");
|
||||
paramsMap.put("isFromMyAttendance", "1");
|
||||
|
|
@ -36,7 +36,9 @@ public class RemoteAttend4SalaryServiceImpl extends Service implements RemoteAtt
|
|||
temp.put("data", JSONObject.toJSONString(paramsMap));
|
||||
temp.put("reportType", "month");
|
||||
List<Map> datas = (List<Map>) commandExecutor.execute(new GetKQReportCmd(temp, user)).get("columns");
|
||||
|
||||
if (isLog) {
|
||||
log.info("同步考勤字段,{}", JSONUtils.toJSONString(datas));
|
||||
}
|
||||
List<Map<String, String>> columns = new ArrayList<>();
|
||||
datas.stream().filter(column -> Objects.nonNull(column.get("dataIndex"))).forEach(column -> {
|
||||
String dataIndex = column.get("dataIndex").toString();
|
||||
|
|
|
|||
Loading…
Reference in New Issue