zm
2024-10-23 70a6a22f94446bc9a1b96fc52584898aa7f67543
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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);
    }
}