package com.product.administration.test;
|
|
import java.util.HashMap;
|
import java.util.Map;
|
|
import com.product.administration.config.CmnConst;
|
import com.product.common.utils.HttpTest;
|
|
public class WorkAttendanceKanbanTest extends HttpTest{
|
|
public static void main(String[] args) {
|
// listAttendanceInfo();
|
// listMonthKanBan();
|
listMonthReport();
|
}
|
|
public static void listAttendanceInfo() {
|
Map<String, Object> map = new HashMap<>();
|
map.put("url/api", "/api/attendance-kanban/attendance-report/v1");
|
map.put("~table~", "product_oa_attendance_info");
|
map.put("dept_uuid", "qweewfefwejhifjewh");
|
map.put("year_of_month", "2021-06");
|
testPost(map);
|
}
|
|
public static void listMonthKanBan() {
|
Map<String, Object> map = new HashMap<>();
|
map.put("url/api", "/api/attendance-kanban/list-month/v1");
|
map.put("~table~", CmnConst.PRODUCT_OA_PUNCH_RECORD);
|
map.put("user_id", "1");
|
map.put("year_of_month", "2021-08");
|
testPost(map);
|
}
|
|
public static void listMonthReport() {
|
Map<String, Object> map = new HashMap<>();
|
map.put("url/api", "/api/attendance-kanban/list-month-report/v1");
|
map.put("~table~", CmnConst.PRODUCT_OA_PUNCH_RECORD);
|
map.put("year_of_month", "2021-08");
|
testPost(map);
|
}
|
}
|