Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
25c41592
Commit
25c41592
authored
Apr 08, 2020
by
东州 翁
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of 120.24.24.239:8timerv2/8timerapiv200 into wdz
parents
dffbf202
65aafb27
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
src/main/java/cn/timer/api/controller/kqgl/AttController.java
+9
-9
src/main/java/cn/timer/api/dao/kqgl/AttendanceGroupMapper.java
+1
-1
src/main/resources/mapping/kqgl/AttendanceGroupMapper.xml
+1
-3
No files found.
src/main/java/cn/timer/api/controller/kqgl/AttController.java
View file @
25c41592
...
...
@@ -2478,7 +2478,7 @@ public class AttController {
apr
.
setLeanum
(
leanum
);
//
apr
.
setLeahours
(
leahours
);
//
/**********/
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
Integer
.
valueOf
(
kqry
.
getEmpNum
()));
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
Integer
.
valueOf
(
kqry
.
getEmpNum
())
,
qyid
);
//考勤组信息
//pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
){
//该员工是否加入到考勤组
if
(
attgro
.
getPbfs
()
==
1
){
...
...
@@ -2856,7 +2856,7 @@ public class AttController {
}
}
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
//pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
){
//该员工是否加入到考勤组
...
...
@@ -3105,7 +3105,7 @@ public class AttController {
}
}
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
//pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
){
//该员工是否加入到考勤组
...
...
@@ -3706,7 +3706,7 @@ public class AttController {
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
//pbfs:排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
){
//判断当前用户是否加入到考勤组
...
...
@@ -4206,7 +4206,7 @@ public class AttController {
e
.
printStackTrace
();
}
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
Schedule
ispbmx
=
scheduleservice
.
getCustomRoster
(
userid
,
str
);
//
if
(
ispbmx
!=
null
&&
attgro
!=
null
){
//新增
Schedule
ahe
=
new
Schedule
();
...
...
@@ -5168,7 +5168,7 @@ public class AttController {
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
int
userid
=
userBean
.
getEmpNum
();
//用户id
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
//pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
String
putime
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
).
format
(
Double
.
valueOf
(
clock
.
getPunchtime
()));
//转换打卡时间格式
...
...
@@ -5892,7 +5892,7 @@ public class AttController {
int
qyid
=
user
.
getOrgCode
();
//坏小孩【企业id】
int
userid
=
user
.
getEmpNum
();
//用户id
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
//pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
)
{
List
<
AttGroupBinPunchMode
>
kqjs
=
attgroupbinpunchmodeservice
.
selectMachineByKqzId
(
attgro
.
getId
());
//该考勤组所绑定的考勤机
...
...
@@ -6433,7 +6433,7 @@ public class AttController {
e
.
printStackTrace
();
}
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
);
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
userid
,
qyid
);
//考勤组信息
//pbfs:排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
){
//判断当前用户是否加入到考勤组
...
...
@@ -6740,7 +6740,7 @@ public class AttController {
apr
.
setLeanum
(
leanum
);
//
apr
.
setLeahours
(
leahours
);
//
/**********/
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
Integer
.
valueOf
(
kqry
.
getEmpNum
()));
//考勤组信息
AttendanceGroup
attgro
=
attendancegroupservice
.
getAttendanceGroupInformationByUserid
(
Integer
.
valueOf
(
kqry
.
getEmpNum
())
,
qyid
);
//考勤组信息
//pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
if
(
attgro
!=
null
){
//该员工是否加入到考勤组
if
(
attgro
.
getPbfs
()
==
1
){
...
...
src/main/java/cn/timer/api/dao/kqgl/AttendanceGroupMapper.java
View file @
25c41592
...
...
@@ -35,7 +35,7 @@ public interface AttendanceGroupMapper {
List
<
AttendanceGroup
>
selectAttGroupMachineByQyid
(
int
qyid
);
AttendanceGroup
getAttendanceGroupInformationByUserid
(
int
userid
);
AttendanceGroup
getAttendanceGroupInformationByUserid
(
int
userid
,
int
qyid
);
List
<
YgglMainEmp
>
selectAttendanceOfficer
(
String
orgCode
,
String
text
);
...
...
src/main/resources/mapping/kqgl/AttendanceGroupMapper.xml
View file @
25c41592
...
...
@@ -417,7 +417,7 @@
<select
id=
"getAttendanceGroupInformationByUserid"
resultMap=
"BaseResultMap"
>
select * from kqgl_main_kqz kqz
where kqz.id = (select yhkqz.kqzid from kqgl_asso_yhkqz yhkqz
where yhkqz.userid = #{userid,jdbcType=INTEGER})
where yhkqz.userid = #{userid,jdbcType=INTEGER}
and yhkqz.qyid = #{qyid,jdbcType=INTEGER}
)
</select>
...
...
@@ -434,8 +434,6 @@
<select
id=
"EmployeeListByorgCode"
resultMap=
"YgglEmpInfoMap"
>
select * from yggl_main_emp
where org_code = #{orgCode,jdbcType=VARCHAR}
<!-- and emp_num not in (select yhkqz.userid from kqgl_asso_yhkqz yhkqz
where yhkqz.qyid = #{orgCode,jdbcType=VARCHAR}) -->
</select>
<select
id=
"selectByPrimaryByempNum"
resultMap=
"YgglEmpInfoMap"
parameterType=
"java.lang.Integer"
>
...
...
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