zouxuan преди 5 години
родител
ревизия
ae42d535c3

+ 0 - 5
edu-im/edu-im-api/src/main/java/com/keao/edu/im/api/client/callback/ImFeignServiceFallback.java

@@ -92,9 +92,4 @@ public class ImFeignServiceFallback implements ImFeignService {
     public void destroyRoom(Long roomId,String userId) {
 
     }
-/*
-    @Override
-    public Object privateSendCustom(ImGroupMessage groupMessage) {
-        return null;
-    }*/
 }

+ 2 - 4
edu-user/edu-user-biz/src/main/java/com/keao/edu/user/service/impl/StudentAttendanceServiceImpl.java

@@ -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){