|
@@ -6,7 +6,6 @@ import com.keao.edu.common.service.impl.BaseServiceImpl;
|
|
|
import com.keao.edu.user.api.entity.StudentAttendance;
|
|
|
import com.keao.edu.user.dao.StudentAttendanceDao;
|
|
|
import com.keao.edu.user.service.StudentAttendanceService;
|
|
|
-import com.keao.edu.user.service.StudentExamResultService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Isolation;
|
|
@@ -19,8 +18,6 @@ public class StudentAttendanceServiceImpl extends BaseServiceImpl<Long, StudentA
|
|
|
|
|
|
@Autowired
|
|
|
private StudentAttendanceDao studentAttendanceDao;
|
|
|
- @Autowired
|
|
|
- private StudentExamResultService studentExamResultService;
|
|
|
|
|
|
@Override
|
|
|
public BaseDAO<Long, StudentAttendance> getDAO() {
|
|
@@ -35,7 +32,8 @@ public class StudentAttendanceServiceImpl extends BaseServiceImpl<Long, StudentA
|
|
|
if(studentAttendance == null){
|
|
|
studentAttendance = new StudentAttendance();
|
|
|
studentAttendance.setExamRegistrationId(examRegistrationId);
|
|
|
- studentAttendance.setSignInTime(date);
|
|
|
+// studentAttendance.setSignInTime(date);
|
|
|
+ studentAttendanceDao.insert(studentAttendance);
|
|
|
}
|
|
|
//0代表签到1签退
|
|
|
if(signFlag == 1){
|