diff --git a/ruoyi-ui/src/views/project/attendance/index.vue b/ruoyi-ui/src/views/project/attendance/index.vue index 4648d0a4..d0498f2a 100644 --- a/ruoyi-ui/src/views/project/attendance/index.vue +++ b/ruoyi-ui/src/views/project/attendance/index.vue @@ -194,7 +194,7 @@ export default { this.$api.publics.getMyProjectList({}).then((response) => { this.projectOptions = response.rows; }); - listAttendanceConfig({}).then(d=>{ + listAttendanceConfig({pageNum:1,pageSize:100}).then(d=>{ this.cfgList=d.rows||[]; }); }, diff --git a/ruoyi-ui/src/views/project/attendanceWorker/index.vue b/ruoyi-ui/src/views/project/attendanceWorker/index.vue index 24c2e83a..72f5d033 100644 --- a/ruoyi-ui/src/views/project/attendanceWorker/index.vue +++ b/ruoyi-ui/src/views/project/attendanceWorker/index.vue @@ -67,7 +67,9 @@ - + + + @@ -127,7 +129,7 @@ export default { this.$api.publics.getMyProjectList({}).then((response) => { this.projectOptions = response.rows; }); - listAttendanceConfig({}).then(d=>{ + listAttendanceConfig({pageNum:1,pageSize:100}).then(d=>{ this.cfgList=d.rows||[]; }); }, diff --git a/yanzhu-jh/src/main/resources/mapper/project/SurProjectAttendanceUserMapper.xml b/yanzhu-jh/src/main/resources/mapper/project/SurProjectAttendanceUserMapper.xml index fdecc082..65eaf4eb 100644 --- a/yanzhu-jh/src/main/resources/mapper/project/SurProjectAttendanceUserMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/project/SurProjectAttendanceUserMapper.xml @@ -62,8 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" u.ethnic,u.nativePlace,u.gender,u.birthDate,u.phone,u.degreeName,u.photo,u.recentPhoto, u.groupId,u.leader,u.workTypeCode,u.specWorkType, u.hatCode,u.state,u.enterDate,u.exitDate,u.companyId,u.vendorId, - u.teamId,u.teamName,u.enterType,u.remark,u.is_del,u.create_by,u.create_time,u.update_by,u.update_time, - c.project_id,c.sub_dept_id,u.companyName,u.workTypeName,g.teamname groupName + u.teamId,u.teamName,u.enterType,u.is_del,u.create_by,u.create_time,u.update_by,u.update_time, + c.project_id,c.sub_dept_id,u.companyName,u.workTypeName,g.teamname groupName,g.companyName remark FROM sur_project_attendance_user u,sur_project_attendance_cfg c,sur_project_attendance_group g WHERE u.cfgid=c.id AND g.companyid=u.companyid AND u.vendors_code='jgw' and cfgid = #{cfgid} @@ -512,9 +512,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"