瀏覽代碼

学生档案信息

LIVE_YE 1 年之前
父節點
當前提交
caa0be509f

+ 2 - 0
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/mapper/StudentLiveOldMapper.java

@@ -26,4 +26,6 @@ public interface StudentLiveOldMapper extends BaseMapperPlus<StudentLiveOld, Stu
     Page<StudentLiveOldVo> selectVoMapperPage(@Param("page")Page<Object> build, @Param(Constants.WRAPPER)LambdaQueryWrapper<StudentLiveOld> lqw);
     Page<StudentLiveOldVo> selectVoMapperPage(@Param("page")Page<Object> build, @Param(Constants.WRAPPER)LambdaQueryWrapper<StudentLiveOld> lqw);
     @InterceptorIgnore(tenantLine = "1")
     @InterceptorIgnore(tenantLine = "1")
     List<StudentLiveOldVo> selectVoMapperList(@Param(Constants.WRAPPER)LambdaQueryWrapper<StudentLiveOld> lqw);
     List<StudentLiveOldVo> selectVoMapperList(@Param(Constants.WRAPPER)LambdaQueryWrapper<StudentLiveOld> lqw);
+    @InterceptorIgnore(tenantLine = "1")
+    StudentLiveOldVo selectVoMapperById(Long liveId);
 }
 }

+ 1 - 1
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/service/impl/StudentInfoServiceImpl.java

@@ -52,7 +52,7 @@ public class StudentInfoServiceImpl implements IStudentInfoService {
      */
      */
     @Override
     @Override
     public StudentInfoVo queryById(Long id){
     public StudentInfoVo queryById(Long id){
-        return baseMapper.selectVoById(id);
+        return baseMapper.selectStudentInfoByStudentId(id);
     }
     }
 
 
     /**
     /**

+ 1 - 1
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/service/impl/StudentLiveOldServiceImpl.java

@@ -47,7 +47,7 @@ public class StudentLiveOldServiceImpl implements IStudentLiveOldService {
      */
      */
     @Override
     @Override
     public StudentLiveOldVo queryById(Long liveId){
     public StudentLiveOldVo queryById(Long liveId){
-        return baseMapper.selectVoById(liveId);
+        return baseMapper.selectVoMapperById(liveId);
     }
     }
 
 
     /**
     /**

+ 4 - 0
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/StudentLiveOldMapper.xml

@@ -51,4 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectStudentLiveOldVo"/>
         <include refid="selectStudentLiveOldVo"/>
         ${ew.getCustomSqlSegment}
         ${ew.getCustomSqlSegment}
     </select>
     </select>
+    <select id="selectVoMapperById" resultMap="StudentLiveOldResult">
+        <include refid="selectStudentLiveOldVo"/>
+        where live_id = #{liveId}
+    </select>
 </mapper>
 </mapper>