he2802 1 year ago
parent
commit
2886fa6d00

+ 4 - 4
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeUserServiceImpl.java

@@ -2046,7 +2046,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
             }
             }
 
 
             //查询学员最近人脸照
             //查询学员最近人脸照
-            LambdaQueryWrapper<UserStudyRecordPhoto> lqw = Wrappers.lambdaQuery();
+           /* LambdaQueryWrapper<UserStudyRecordPhoto> lqw = Wrappers.lambdaQuery();
             lqw.eq(UserStudyRecordPhoto::getUserId, classPeriodStudentVo.getUserId());
             lqw.eq(UserStudyRecordPhoto::getUserId, classPeriodStudentVo.getUserId());
             lqw.orderByDesc(UserStudyRecordPhoto::getCreateTime).last(" limit 5");
             lqw.orderByDesc(UserStudyRecordPhoto::getCreateTime).last(" limit 5");
             List<UserStudyRecordPhoto> userStudyRecordPhotoList = iUserStudyRecordPhotoService.list(lqw);
             List<UserStudyRecordPhoto> userStudyRecordPhotoList = iUserStudyRecordPhotoService.list(lqw);
@@ -2056,7 +2056,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                     recenPhotosList.add(userStudyRecordPhoto.getPhoto());
                     recenPhotosList.add(userStudyRecordPhoto.getPhoto());
                 }
                 }
             });
             });
-            classPeriodStudentVo.setRecenPhotosList(recenPhotosList);
+            classPeriodStudentVo.setRecenPhotosList(recenPhotosList);*/
         }
         }
         return classPeriodStudentVos;
         return classPeriodStudentVos;
     }
     }
@@ -2107,10 +2107,10 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                 classPeriodStudentVo.setStartTime(timeList.get(0));
                 classPeriodStudentVo.setStartTime(timeList.get(0));
             }
             }
             //取学时所有拍照最新的一张
             //取学时所有拍照最新的一张
-           /* String recentPhoto = userStudyRecordPhotoMapper.selectGradeRecentOnePhoto(classPeriodStudentVo.getUserId(), classPeriodStudentVo.getGradeId(),classPeriodStudentVo.getOrderGoodsId());
+            String recentPhoto = userStudyRecordPhotoMapper.selectGradeRecentOnePhoto(classPeriodStudentVo.getUserId(), classPeriodStudentVo.getGradeId(),classPeriodStudentVo.getOrderGoodsId());
             if (Validator.isNotEmpty(recentPhoto)) {
             if (Validator.isNotEmpty(recentPhoto)) {
                 classPeriodStudentVo.setIdCardImg1(recentPhoto);
                 classPeriodStudentVo.setIdCardImg1(recentPhoto);
-            }*/
+            }
             if (Validator.isNotEmpty(bo.getUserPhoto()) && bo.getUserPhoto() == 1) {
             if (Validator.isNotEmpty(bo.getUserPhoto()) && bo.getUserPhoto() == 1) {
                 //解析身份证和一寸照
                 //解析身份证和一寸照
                 if (Validator.isNotEmpty(classPeriodStudentVo.getKeyValue())) {
                 if (Validator.isNotEmpty(classPeriodStudentVo.getKeyValue())) {