feat: 新增考勤异常模块、银行卡校验、OCR附件检测等功能

1. 新增考勤异常查询与导出模块,支持当月异常拉取、Excel导出、钉钉推送提醒
2. 完善请假/加班流程解析与校验,新增附件下载、OCR核验能力
3. 新增银行卡信息校验模块,支持在职/离职员工工资卡数据核对与异常导出
4. 新增通用OCR工具模块,支持病假/婚假/产检假附件关键词检测与日期提取
5. 新增门店请休假异常名单、银行卡检查等需求文档
6. 重构部分现有模块代码,优化配置与接口调用逻辑
7. 新增测试文件与工具类,完善项目基础能力
This commit is contained in:
2026-08-11 17:26:24 +08:00
parent 7e46b5cc06
commit 9927066abb
30 changed files with 2749 additions and 189 deletions
+128 -55
View File
@@ -1,59 +1,132 @@
访问[hr.37du.co/RedseaPlatform/PtPortal.mc?method=classic#ajax#ajax&&1&&nworktoday-40175-24311-77128-52242&&nworktoday-40175-24311|/RedseaPlatform/hrRoster/1116da64-b094-11ea-b588-14187743d052/getCustomCommonList.mc?_t=1786190208277&&clickFlag=true&&treePermitType=permit&&useSealTreeData=0&&menuName=%E5%91%98%E5%B7%A5%E8%8A%B1%E5%90%8D%E5%86%8C](https://hr.37du.co/RedseaPlatform/PtPortal.mc?method=classic#ajax&1&nworktoday-40175-24311-77128-52242&nworktoday-40175-24311|/RedseaPlatform/hrRoster/1116da64-b094-11ea-b588-14187743d052/getCustomCommonList.mc?_t=1786190208277&clickFlag=true&treePermitType=permit&useSealTreeData=0&menuName=%E5%91%98%E5%B7%A5%E8%8A%B1%E5%90%8D%E5%86%8C&_t=1786190208277)
加班api
点击组织机构
请求 URL
```
<div class="hrm-bd-left-title" title="切换列表/树" data-i18n-attr="{'COMMON_TITLE':['title']}">
<span class="iconfont icon-tree"></span>
<span class="hrm-bd-left-title-name" data-i18n="COMMON_MENU">员工管理</span>
<span class="hrm-bd-left-title-org tabActive" data-i18n="COMMON_TITLE">组织机构</span>
</div>
```
https://hr.37du.co/RedseaPlatform/kqController/getPageAjaxList.mc
点击集团
请求方法
```
<a id="indexTree_1_a" class="level0 curSelectedNode" treenode_a="" onclick="" target="_blank" style="" title="集团"><span id="indexTree_1_ico" title="" treenode_ico="" class="button ico_open" style="background:url(/RedseaPlatform/skins/images/redsea-icon-bumenguanli.png) 0 0 no-repeat;"></span><span id="indexTree_1_span">集团</span></a>
```
然后清空输入框
```
<p>访问<a href="https://hr.37du.co/RedseaPlatform/hrRoster/1116da64-b094-11ea-b588-14187743d052/getCustomCommonList.mc">hr.37du.co/RedseaPlatform/hrRoster/1116da64-b094-11ea-b588-14187743d052/getCustomCommonList.mc</a><br />
清空输入框</p>
<div component-div="commonSearchVue_1116da64-b094-11ea-b588-14187743d052_hr_staff_base.person_status"><div data-v-717358fc="" class="form-select el-input-group el-input-group--prepend" style="--textSize: 13px;"><div data-v-717358fc="" class="el-input-group__prepend">在职状态</div><div data-v-717358fc="" class="el-select el-select--small" labelkey="label"><div class="el-select__tags" style="width: 100%; max-width: 113px;"><span><span class="el-tag el-tag--info el-tag--mini el-tag--light"><span class="el-select__tags-text">在职</span><i class="el-tag__close el-icon-close"></i></span></span><input type="text" autocomplete="off" class="el-select__input is-small" style="flex-grow: 1; width: 0.176991%; max-width: 103px;"></div><div class="el-input el-input--small el-input--suffix"><input tabindex="-1" type="text" readonly="readonly" autocomplete="off" placeholder="" class="el-input__inner" style="height: 32px;"><span class="el-input__suffix"><span class="el-input__suffix-inner"><i class="el-select__caret el-input__icon el-icon-arrow-up" style=""></i></span></span></div></div><input data-v-717358fc="" style="position: absolute; z-index: -999; width: 0px; height: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 0px; opacity: 0;"></div></div>
```
然后选择在职
点击更多操作
```
<button type="button" class="btn btn-success btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i18n key="COMMON_BTN">更多操作</i18n>
<span style="font-size: 14px;margin-left:5px;float: none;" class="icon icon-angle-down"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
```
点击自定义导出
```
<ul class="dropdown-menu" id="custom-btn-ul"><li trans-id="" btn-property-page-id="undefined" class=""><a>导出</a></li><li trans-id="" btn-property-page-id="undefined" class=""><a>自定义导出</a></li><li trans-id="109a1e49-b094-11ea-b588-14187743d052" btn-property-page-id="null" class=""><a>简历导出</a></li><li trans-id="109a0c98-b094-11ea-b588-14187743d052" btn-property-page-id="null" class=""><a>在职证明打印</a></li><li trans-id="109a81db-b094-11ea-b588-14187743d052" btn-property-page-id="null" class=""><a>离职证明打印</a></li><li trans-id="109bb704-b094-11ea-b588-14187743d052" btn-property-page-id="null" class=""><a>导入更新</a></li><li trans-id="1099c220-b094-11ea-b588-14187743d052" btn-property-page-id="null" class=""><a>批量上传头像</a></li><li trans-id="976c8025-11a7-443e-9853-93eb05fd5bf1" btn-property-page-id="null" class=""><a>批量下载头像</a></li><li trans-id="c7de15e0-c947-4e6c-88cf-311aa8fcb497" btn-property-page-id="c6255cdd51f0446783a9b0f2ad112b87" class=""><a>修改用工状态</a></li></ul>
```
点击选择模板
```
<div data-v-717358fc="" class="form-select el-input-group el-input-group--prepend" data-v-252bd840="" style="--textSize: 13px;"><div data-v-717358fc="" class="el-input-group__prepend">模板</div><div data-v-717358fc="" class="el-select el-select--small" labelkey="label"><!----><div class="el-input el-input--small el-input--suffix"><!----><input type="text" readonly="readonly" autocomplete="off" placeholder="请选择模板" class="el-input__inner"><!----><span class="el-input__suffix"><span class="el-input__suffix-inner"><i class="el-select__caret el-input__icon el-icon-arrow-up"></i><!----><!----><!----><!----><!----></span><!----></span><!----><!----></div><div class="el-select-dropdown el-popper" style="display: none; min-width: 193.333px;"><div class="el-scrollbar" style=""><div class="el-select-dropdown__wrap el-scrollbar__wrap" style="margin-bottom: -15px; margin-right: -15px;"><ul class="el-scrollbar__view el-select-dropdown__list"><!----><div class="rs-option" label="干部选拔信息" value="548c2a43-7c45-459d-abb7-9b1622a188c5"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>干部选拔信息</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div><div class="rs-option" label="员工基础信息" value="990effb5-f694-48ab-8820-6997edef50b5"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>员工基础信息</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div><div class="rs-option" label="个税申报基础信息" value="e3e04246-9b9a-4de8-98b2-d0af999e252c"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>个税申报基础信息</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div><div class="rs-option" label="雇主险增减员导出模板" value="fbe86100-a1b0-493d-ad6e-4a6ca0e6f7e1"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>雇主险增减员导出模板</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div></ul></div><div class="el-scrollbar__bar is-horizontal"><div class="el-scrollbar__thumb" style="transform: translateX(0%);"></div></div><div class="el-scrollbar__bar is-vertical"><div class="el-scrollbar__thumb" style="transform: translateY(0%);"></div></div></div><!----></div></div><input data-v-717358fc="" style="position: absolute; z-index: -999; width: 0px; height: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 0px; opacity: 0;"><!----><!----><!----></div>
```
点击员工基础信息
```
<div class="el-select-dropdown__wrap el-scrollbar__wrap" style="margin-bottom: -15px; margin-right: -15px;"><ul class="el-scrollbar__view el-select-dropdown__list"><!----><div class="rs-option" label="干部选拔信息" value="548c2a43-7c45-459d-abb7-9b1622a188c5"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>干部选拔信息</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div><div class="rs-option" label="员工基础信息" value="990effb5-f694-48ab-8820-6997edef50b5"><li class="el-select-dropdown__item hover" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>员工基础信息</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div><div class="rs-option" label="个税申报基础信息" value="e3e04246-9b9a-4de8-98b2-d0af999e252c"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>个税申报基础信息</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div><div class="rs-option" label="雇主险增减员导出模板" value="fbe86100-a1b0-493d-ad6e-4a6ca0e6f7e1"><li class="el-select-dropdown__item" size="small"><div style="display: flex; justify-content: space-between; align-items: center;"><div>雇主险增减员导出模板</div> <div class="icon redsea-icon-error" style="display: none;"></div></div></li></div></ul></div>
```
点击确认导出
```
<button type="button" class="el-button el-button--primary el-button--small"><!----><!----><span>确认导出</span></button>
```
POST
STRU_TREE_CODE=cq37du&user_id=07b83185-6243-42bc-b79f-b81b4cffb471&sqlId=kq_overtime_detail_select&commonQuery=&commonQueryStr=&BPM_STATUS=&post_no=&postName=&source=&IS_SUBSIDY=&person_status=&staff_id=&staffNames=&post_type=1&processing_reason=&start_operat_time=&end_operat_time=&base_code=37008520&staff_name=&WORK_OVERTIME_TYPE=&start_time=2026-08-01&end_time=2026-08-31&start=0&sortType=desc&sortName=OPERATE_TIME&pageNo=1&pageSize=15
{
"attributeMap" : null,
"count" : 2,
"datas" : [ {
"ORG_FULL_PATH" : "集团-网络技术组",
"idCard" : "340621888883634",
"base_code" : "37008520",
"POST_ALIAS_NAME" : "3级软件工程师(Java)",
"POST_ALIAS" : "3级软件工程师(Java)",
"POST_ORG_NAME" : "3级软件工程师(Java)",
"dept_one" : null,
"dept_two" : null,
"DEPT_ORG_ONE" : "网络信息部",
"DEPT_ORG_TWO" : "网络技术组",
"DEPT_ORG_THREE" : null,
"DEPT_ORG_FOUR" : null,
"DEPT_ORG_FIVE" : null,
"STRU_TREE_CODE" : "cq37du-00013-00005-00002",
"DEPT_ORG_NAME" : "网络技术组",
"DEPT_STRU_ID" : "74fffc5a-e391-4d60-a4df-fe3c0dd73f64",
"BELONG_UNIT_ORG_NAME" : "集团营建中心",
"BELONG_UNIT_STRU_ID" : "b9cee736-cef2-11ee-b449-000c296f9469",
"S_TIME" : null,
"E_TIME" : null,
"DETAIL_ID" : "bpmd415eae50d8f41258d7f8cce092b7a8b",
"BUSINESS_KEY" : "bpmd415eae50d8f41258d7f8cce092b7a8b",
"STAFF_ID" : "6026df21-7a9f-11ec-b449-000c296f9469",
"STAFF_NAME" : "陈岗",
"BPM_STATUS" : "002",
"SOURCE" : "1",
"ROOT_ID" : "cq37du",
"START_TIME" : "2026-08-09 10:00:00",
"END_TIME" : "2026-08-09 18:00:00",
"OT_DATE" : "2026-08-09",
"OT_LONG" : 0,
"WORK_OVERTIME_TYPE" : "3",
"FINAL_HOURS" : 0.0,
"ot_hours" : 0.0,
"NOTE" : "留宿退款功能",
"PLAN_START_TIME" : "2026-08-09 10:00:00",
"PLAN_END_TIME" : "2026-08-09 18:00:00",
"ACTUAL_START_TIME" : "2026-08-09 10:00:00",
"ACTUAL_END_TIME" : "2026-08-09 18:00:00",
"OT_MIN_BEGIN_MINUTE" : "60",
"OT_MIN_MINUTE" : "30",
"OT_MIN_TYPE" : "1",
"OT_SB_TYPE" : "2",
"SB_DA_RANGE" : 360,
"SB_TIME_MORE" : "1",
"SB_TIME_LESS" : "2",
"OT_XB_TYPE" : "2",
"XB_DA_RANGE" : 360,
"XB_TIME_MORE" : "2",
"XB_TIME_LESS" : "1",
"IS_SUBSIDY" : "1",
"CEATE_USER" : "e79e9532-8a63-4421-a4f1-b96e8fd26d7c",
"CEATE_USER_NAME" : "陈岗",
"CREATE_TIME" : "2026-08-09 23:35:14",
"OPERATOR" : "刘纤",
"OPERATE_TIME" : "2026-08-10 16:20:19",
"IN_USE" : "1",
"CHAR_1" : null,
"CHAR_2" : null,
"NUM_1" : null,
"NUM_2" : null,
"plan_begin_date" : null,
"plan_begin_other_name" : null,
"plan_end_date" : null,
"plan_end_other_name" : null,
"begin_date" : null,
"begin_other_name" : null,
"end_date" : null,
"end_other_name" : null,
"if_other_name_open" : "0",
"plan_begin_date_other_name" : null,
"plan_end_date_other_name" : null,
"begin_date_other_name" : null,
"end_date_other_name" : null,
"plan_ot_days" : 1.00,
"ot_days" : 1.00,
"sys_ot_days" : 1.00,
"time_unit" : "1",
"processing_reason" : null,
"FINAL_START_TIME" : "2026-08-09 10:00:00",
"FINAL_END_TIME" : "2026-08-09 18:00:00",
"kqext_create_user_id" : null,
"kqext_create_time" : null,
"kqext_operator_id" : null,
"kqext_operate_time" : null,
"kqext_ext_delay_ot_hours" : null,
"hrext_hsb_ext_speciality" : null,
"hrext_ext_technician_code" : "",
"hrext_ext_cal_person2" : null,
"hrext_ext_call_phone2" : null,
"hrext_ext_star_level" : "正式",
"hrext_ext_rehiring_reason_type" : "",
"hrext_ext_staff_type" : "职能职员",
"hrext_ext_insurance_type" : "社会保险",
"hrext_ext_recruit_way" : "BOSS直聘",
"hrext_ext_call_relationship2" : "",
"hrext_ext_is_CRBT_open" : "否",
"hrext_ext_dept_principal" : "",
"hrext_ext_yb_pay_year" : null,
"hrext_ext_Have_worked" : "",
"hrext_ext_family_join" : "",
"hrext_ext_criminal_record" : "",
"hrext_ext_infectious_disease" : "",
"hrext_ext_References" : null,
"hrext_ext_References_phone" : null,
"hrext_ext_References_outside" : null,
"hrext_ext_outside_References_phone" : null,
"hrext_ext_is_dormitory" : "",
"hrext_ext_process_approval_status" : "",
"hrext_ext_trans_type" : "其他"
},...]
},
"url" : null,
"state" : "1",
"meg" : "",
"des" : "",
"viewMapper" : null
}