Commit 16766615 authored by 赵啸非's avatar 赵啸非

添加日志打印

parent 3b2867e7
......@@ -68,7 +68,7 @@ public class HikStaffServiceImpl extends AbstractHikService implements IHikStaff
while (true) {
int dwState = hCNetSDK.NET_DVR_SendWithRecvRemoteConfig(lHandler, ptrInbuff.getPointer(), strInbuff.length(), ptrOutuff.getPointer(), 1024 * 1024, pInt);
log.info("dwState<=={}", dwState);
log.info("dwState==>{}", dwState);
if (dwState == -1) {
log.info("NET_DVR_SendWithRecvRemoteConfig接口调用失败,错误码:{}", hCNetSDK.NET_DVR_GetLastError());
throw new AppException(String.format("NET_DVR_SendWithRecvRemoteConfig接口调用失败,错误码:%s", hCNetSDK.NET_DVR_GetLastError()));
......
......@@ -581,6 +581,8 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
searchReq.setPageNo(i);
searchReq.setPageSize(size);
Rest<UserSearchInfo> rest = hikStaffService.getPersonList(searchReq, doorEntity);
log.info("page:{}, 获取人员列表:{}",i, JSON.toJSONString(rest));
if (rest.getCode() == YesNoEnum.YES.getValue()) {
//做差集 更新本地用户为离职员工
UserInfoSearch userInfoSearch = rest.getData().getUserInfoSearch();
......@@ -639,7 +641,8 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
}
}
} catch (Exception e) {
log.error("同步人员信息失败:{}", e.getMessage());
//log.error("同步人员信息失败:{}", e.getMessage());
log.error("同步人员信息失败", e);
staffCollect = new HashMap<>();
}
if (staffCollect.size() > 0) {
......
......@@ -1328,6 +1328,8 @@ ADD COLUMN `processTime` datetime COMMENT '处理时间' AFTER `processStat
ADD COLUMN `processPerson` varchar(128) COMMENT '处理人员' AFTER `processTime`,
ADD KEY `appealPerson` (`appealPerson`) USING BTREE;
--2024-07-08
-- ----------------------------
2024-07-08
-- ----------------------------
INSERT INTO `mortals_xhx_perform_rules` (`ruleCode`, `categoryId`, `categoryName`, `name`, `content`, `subAddType`, `score`, `assoOwner`, `ownerScore`, `remark`, `type`, `createUserId`, `createTime`, `updateUserId`, `updateTime`) VALUES ('ATTEND1010', '1', '', '事假半天', '事假半天', '2', '0.5', '0', '0.00', '', '1', '1', NOW(), NULL, NULL);
INSERT INTO `mortals_xhx_perform_rules` (`ruleCode`, `categoryId`, `categoryName`, `name`, `content`, `subAddType`, `score`, `assoOwner`, `ownerScore`, `remark`, `type`, `createUserId`, `createTime`, `updateUserId`, `updateTime`) VALUES ('ATTEND1011', '1', '', '事假全天', '事假全天', '2', '1', '0', '0.00', '', '1', '1', NOW(), NULL, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment