Commit cbfce8f6 by lal Committed by chenzg

提交

parent 8b6bd037
...@@ -1749,7 +1749,7 @@ public class AttController { ...@@ -1749,7 +1749,7 @@ public class AttController {
appmaps[d1] = spe.getTsrq(); appmaps[d1] = spe.getTsrq();
d1++; d1++;
} }
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum())); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum()),kqry.getOrgCode());
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
...@@ -1811,7 +1811,7 @@ public class AttController { ...@@ -1811,7 +1811,7 @@ public class AttController {
apr.setRestday(xiuxi);//休息天数 apr.setRestday(xiuxi);//休息天数
apr.setAnswerday(shangban);//应出勤 apr.setAnswerday(shangban);//应出勤
}else{ }else{
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum())); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum()),kqry.getOrgCode());
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
...@@ -2130,7 +2130,7 @@ public class AttController { ...@@ -2130,7 +2130,7 @@ public class AttController {
d++; d++;
} }
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid,qyid);
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
...@@ -2185,7 +2185,7 @@ public class AttController { ...@@ -2185,7 +2185,7 @@ public class AttController {
attcal.setAttshouldmade(shangban);//应出勤 attcal.setAttshouldmade(shangban);//应出勤
}else{ }else{
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid,qyid);
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
...@@ -2275,7 +2275,9 @@ public class AttController { ...@@ -2275,7 +2275,9 @@ public class AttController {
} }
/***********APP--调用接口结束*****************/ /********************************************************************************************************************************************************************************************************************************************************************************/
/**************************************************************************** APP--调用接口结束 *****************************************************************************************************************************************************************************/
/********************************************************************************************************************************************************************************************************************************************************************************/
/** /**
* 根据 年、月 获取对应的月份 的 天数 * 根据 年、月 获取对应的月份 的 天数
...@@ -5138,7 +5140,7 @@ public class AttController { ...@@ -5138,7 +5140,7 @@ public class AttController {
appmaps[d1] = spe.getTsrq(); appmaps[d1] = spe.getTsrq();
d1++; d1++;
} }
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum())); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum()),qyid);
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
...@@ -5200,7 +5202,7 @@ public class AttController { ...@@ -5200,7 +5202,7 @@ public class AttController {
apr.setRestday(xiuxi);//休息天数 apr.setRestday(xiuxi);//休息天数
apr.setAnswerday(shangban);//应出勤 apr.setAnswerday(shangban);//应出勤
}else{ }else{
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum())); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(Integer.valueOf(kqry.getEmpNum()),qyid);
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
......
...@@ -1581,7 +1581,7 @@ public class SalaryManagementController { ...@@ -1581,7 +1581,7 @@ public class SalaryManagementController {
appmaps[d1] = spe.getTsrq(); appmaps[d1] = spe.getTsrq();
d1++; d1++;
} }
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid,orgCode);
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
...@@ -1642,7 +1642,7 @@ public class SalaryManagementController { ...@@ -1642,7 +1642,7 @@ public class SalaryManagementController {
attrep.setRestday(xiuxi);//休息天数 attrep.setRestday(xiuxi);//休息天数
attrep.setAnswerday(shangban);//应出勤 attrep.setAnswerday(shangban);//应出勤
}else{ }else{
List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid); List<AttendanceWeeklySch> atwek = attendanceweeklyschservice.selectAttendanceMadeByUserid(userid,orgCode);
String[] week= new String[atwek.size()]; String[] week= new String[atwek.size()];
int e = 0; int e = 0;
for(AttendanceWeeklySch awek : atwek){ for(AttendanceWeeklySch awek : atwek){
......
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