Explorar o código

学生提交申请信息V7.1

平常心 hai 5 meses
pai
achega
2549e83ac4

+ 1 - 4
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java

@@ -74,10 +74,7 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> {
         // 转换返回
         return new PageResult<>(mpPage.getRecords(), mpPage.getTotal());
     }
-
-    default T selectOne(Object value) {
-        return selectOne(new QueryWrapper<T>().eq(field, value));
-    }
+    
 
     default T selectOne(SFunction<T, ?> field, Object value) {
         return selectOne(new LambdaQueryWrapper<T>().eq(field, value));

+ 1 - 1
yudao-module-as/yudao-module-as-biz/src/main/java/cn/iocoder/yudao/module/as/service/aidingstudentspersonmanage/AidingStudentsPersonManageServiceImpl.java

@@ -305,7 +305,7 @@ public class AidingStudentsPersonManageServiceImpl extends ServiceImpl<AidingStu
     public AidingStudentPersonManageInfoRespVO schoolauditAidingStudentsPersonManageData(Integer id) {
         AidingStudentsPersonManageDO aDo = aidingStudentsPersonManageMapper.selectById(id);
         AidingStudentPersonManageEvaluationResultDO aidingStudentPersonManageEvaluationResultDO = aidingStudentPersonManageEvaluationResultMapper
-                .selectOne(new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
+                .selectOne(null,new LambdaQueryWrapper<AidingStudentsPersonManageDO>()
                         .eq(AidingStudentsPersonManageDO::getClassName, aDo.getClassName()));
         AidingStudentPersonManageInfoRespVO vo = new AidingStudentPersonManageInfoRespVO();
         vo = BeanUtils.toBean(aDo, AidingStudentPersonManageInfoRespVO.class);