Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
158a2f37
Commit
158a2f37
authored
Apr 12, 2023
by
daijunxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改定时任务
parent
dd973057
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
85 additions
and
50 deletions
+85
-50
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/hik/ArtemisPostTest.java
.../main/java/com/mortals/xhx/busiz/hik/ArtemisPostTest.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
+70
-45
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/dao/DeptDao.java
...rc/main/java/com/mortals/xhx/module/dept/dao/DeptDao.java
+1
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/dao/ibatis/DeptDaoImpl.java
...a/com/mortals/xhx/module/dept/dao/ibatis/DeptDaoImpl.java
+6
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/dao/StaffDao.java
.../main/java/com/mortals/xhx/module/staff/dao/StaffDao.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/dao/ibatis/StaffDaoImpl.java
...com/mortals/xhx/module/staff/dao/ibatis/StaffDaoImpl.java
+2
-2
attendance-performance-manager/src/main/resources/sqlmap/module/dept/DeptMapper.xml
...ager/src/main/resources/sqlmap/module/dept/DeptMapper.xml
+3
-0
attendance-performance-manager/src/main/resources/sqlmap/module/staff/StaffMapper.xml
...er/src/main/resources/sqlmap/module/staff/StaffMapper.xml
+1
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/hik/ArtemisPostTest.java
View file @
158a2f37
...
...
@@ -103,7 +103,7 @@ public class ArtemisPostTest {
config
.
setHost
(
"8.136.255.30:8001"
);
// 代理API网关nginx服务器ip端口
config
.
setAppKey
(
"25128371"
);
// 秘钥appkey
config
.
setAppSecret
(
"2m9RcPJOKq5j2QPQM4v5"
);
// 秘钥appSecret
final
String
getCamsApi
=
ARTEMIS_PATH
+
"/api/resource/v1/
person/person
List"
;
final
String
getCamsApi
=
ARTEMIS_PATH
+
"/api/resource/v1/
org/org
List"
;
Map
<
String
,
String
>
paramMap
=
new
HashMap
<
String
,
String
>();
// post请求Form表单参数
paramMap
.
put
(
"pageNo"
,
"1"
);
paramMap
.
put
(
"pageSize"
,
"1000"
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
View file @
158a2f37
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/dao/DeptDao.java
View file @
158a2f37
...
...
@@ -29,6 +29,7 @@ public interface DeptDao extends ICRUDDao<DeptEntity,Long>{
/**
* 统计部门人数
* */
DeptEntity
queryDept
(
String
deptCode
);
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/dao/ibatis/DeptDaoImpl.java
View file @
158a2f37
...
...
@@ -27,4 +27,10 @@ public class DeptDaoImpl extends BaseCRUDDaoMybatis<DeptEntity,Long> implements
return
this
.
getList
(
new
DeptEntity
());
}
@Override
public
DeptEntity
queryDept
(
String
deptCode
)
{
return
getSqlSession
().
selectOne
(
getSqlId
(
"queryDept"
),
deptCode
);
}
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/dao/StaffDao.java
View file @
158a2f37
...
...
@@ -61,5 +61,5 @@ public interface StaffDao extends ICRUDDao<StaffEntity,Long>{
/**
*
* */
StaffEntity
queryHik
(
String
remark
);
StaffEntity
queryHik
(
String
remark
Id
);
}
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/dao/ibatis/StaffDaoImpl.java
View file @
158a2f37
...
...
@@ -59,8 +59,8 @@ public class StaffDaoImpl extends BaseCRUDDaoMybatis<StaffEntity,Long> implement
}
@Override
public
StaffEntity
queryHik
(
String
remark
)
{
return
this
.
getSqlSession
().
selectOne
(
this
.
getSqlId
(
"queryHik"
),
remark
);
public
StaffEntity
queryHik
(
String
remark
Id
)
{
return
this
.
getSqlSession
().
selectOne
(
this
.
getSqlId
(
"queryHik"
),
remark
Id
);
}
...
...
attendance-performance-manager/src/main/resources/sqlmap/module/dept/DeptMapper.xml
View file @
158a2f37
...
...
@@ -878,4 +878,7 @@
</trim>
</if>
</sql>
<select
id=
"queryDept"
resultType=
"com.mortals.xhx.module.dept.model.DeptEntity"
>
select * from mortals_xhx_dept where deptCode = #{deptCode}
</select>
</mapper>
\ No newline at end of file
attendance-performance-manager/src/main/resources/sqlmap/module/staff/StaffMapper.xml
View file @
158a2f37
...
...
@@ -1341,7 +1341,7 @@
select count(1) personNum from mortals_xhx_staff where deptId = #{deptId}
</select>
<select
id=
"queryHik"
resultType=
"com.mortals.xhx.module.staff.model.StaffEntity"
>
select * from mortals_xhx_staff where remark
= #{remark
}
select * from mortals_xhx_staff where remark
Id = #{remarkId
}
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment