Ver Código Fonte

进出记录、详情 查询

wangchao 4 anos atrás
pai
commit
19896d67fd

+ 1 - 25
security-protection-service/src/main/java/com/ai/bss/security/protection/controller/InAndOutRecordController.java

@ -31,7 +31,7 @@ public class InAndOutRecordController {
31 31
	InAndOutRecordService inAndOutRecordService;
32 32
33 33
	/**
34
	 * 分页查询进出记录
34
	 * 分页查询进出记录 (查询识别详情)
35 35
	 * @param  aiQuery
36 36
	 *                                workOrgRoleId: 组织标识
37 37
	 *                                aiIdenModel: AI识别模型
@ -64,28 +64,4 @@ public class InAndOutRecordController {
64 64
65 65
	}
66 66
67
	/**
68
	 * 查询识别详情
69
	 *  							month :月份 (yyyy-MM格式),必选
70
	 *                              orgId:所属组织ID,必选
71
	 *                              id:个人编码(员工编码)
72
	 *                              nameAsLike:姓名(模糊匹配)
73
	 *                              mainJobPositionId: 职位
74
	 */
75
76
	@ResponseBody
77
	@RequestMapping("/queryIdentifyDetails")
78
	public CommonResponse<PageBean<Map<String,Object>>> queryIdentifyDetails(@ModelAttribute AttendanceReport attendanceReport) throws Exception {
79
80
		Map<String, Object> params = new HashMap<>();
81
		params.put("month",attendanceReport.getMonth());
82
		params.put("orgId",attendanceReport.getOrgCode());
83
		params.put("id",attendanceReport.getId());
84
		params.put("nameAsLike",attendanceReport.getNameAsLike());
85
		params.put("mainJobPositionId",attendanceReport.getMainJobPositionId());
86
		CommonResponse<PageBean<Map<String,Object>>> commonResponse= inAndOutRecordService.queryIdentifyDetails(params);
87
88
		return commonResponse;
89
90
	}
91 67
}

+ 0 - 4
security-protection-service/src/main/java/com/ai/bss/security/protection/service/impl/InAndOutRecordServiceImpl.java

@ -62,8 +62,4 @@ public class InAndOutRecordServiceImpl implements InAndOutRecordService {
62 62
        return queryResult;
63 63
    }
64 64
65
    @Override
66
    public CommonResponse<PageBean<Map<String, Object>>> queryIdentifyDetails(Map<String, Object> params) {
67
        return null;
68
    }
69 65
}

+ 0 - 1
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/InAndOutRecordService.java

@ -8,5 +8,4 @@ import java.util.Map;
8 8
public interface InAndOutRecordService {
9 9
    CommonResponse<PageBean<Map<String, Object>>> queryPageInAndOutRecord(Map<String, Object> params, int pageNumber, int pageSize);
10 10
11
    CommonResponse<PageBean<Map<String, Object>>> queryIdentifyDetails(Map<String, Object> params);
12 11
}