测试学员:补齐学员单测桩updateTrainStudent方法实现以修复构建

This commit is contained in:
wangzhibiao committed 2026-10-09 14:30:58 +08:00
1 parent b93ac3fa71
commit 1d57bdf0df
2 files changed
+22

No files matched your search

@@ -1046,6 +1046,17 @@ public class EnrollmentAppServiceImplTest
return 1;
}
@Override
public int updateTrainStudent(TrainStudent student)
{
if (student != null && student.getsId() != null)
{
studentStore.put(student.getsId(), student);
return 1;
}
return 0;
}
@Override
public TrainStudent selectTrainStudentByUserId(Long userId)
{
@@ -307,6 +307,17 @@ public class TrainStudentServiceImplTest
return 1;
}
@Override
public int updateTrainStudent(TrainStudent student)
{
if (student != null && student.getsId() != null)
{
store.put(student.getsId(), student);
return 1;
}
return 0;
}
@Override
public TrainStudent selectTrainStudentByUserId(Long userId)
{