You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
Java
35 lines
1.2 KiB
Java
package calendarscheduling;
|
|
|
|
import TestAttendanceAllowance.beforlog;
|
|
import com.engine.jucailinkq.attendance.component.calendarscheduling.service.WorkRulesService;
|
|
import com.engine.jucailinkq.attendance.component.calendarscheduling.service.impl.WorkRulesServiceImpl;
|
|
import com.engine.common.util.ServiceUtil;
|
|
import com.google.common.collect.Maps;
|
|
import weaver.hrm.User;
|
|
|
|
import java.util.Map;
|
|
|
|
public class TestgetDepartSchedule extends beforlog {
|
|
private WorkRulesService getReportCollectService(User user) {
|
|
return ServiceUtil.getService(WorkRulesServiceImpl.class,user);
|
|
}
|
|
@org.junit.Test
|
|
public void test2() throws Exception{
|
|
Map<String,Object> param = Maps.newHashMap();
|
|
param.put("dateTime","2024-06");
|
|
param.put("pageSize","20");
|
|
param.put("pageindex","1");
|
|
param.put("deparment","");
|
|
param.put("type","0");
|
|
param.put("subcompany","");
|
|
param.put("employeeIds","23");
|
|
param.put("tableName","uf_pbjg");
|
|
param.put("total","61");
|
|
param.put("psersongroup","8");
|
|
User user = new User(1);
|
|
Map<String, Object> result =getReportCollectService(user).getDepartSchedule(param);
|
|
System.out.println(result);
|
|
|
|
}
|
|
}
|