|
@@ -39,12 +39,12 @@ public class OutInRecordUtil {
|
|
|
" WHERE NOT EXISTS (SELECT 1 FROM teacher_out_in_record WHERE eventId = '" + eventId + "')";
|
|
|
SqlRunnerAdapter.db().insert(sql);
|
|
|
|
|
|
- String updSql = "UPDATE attendance_user_relation SET " +
|
|
|
- "attendance_status = '" + attendanceStatus + "', " +
|
|
|
- "attendance_time = '" + recordTime + "', " +
|
|
|
- "attendance_mode = '人脸' " +
|
|
|
- "WHERE user_id = '" + userId + "' AND delete_mark = 0";
|
|
|
- SqlRunnerAdapter.db().update(updSql);
|
|
|
+// String updSql = "UPDATE attendance_user_relation SET " +
|
|
|
+// "attendance_status = '" + attendanceStatus + "', " +
|
|
|
+// "attendance_time = '" + recordTime + "', " +
|
|
|
+// "attendance_mode = '人脸' " +
|
|
|
+// "WHERE user_id = '" + userId + "' AND delete_mark = 0";
|
|
|
+// SqlRunnerAdapter.db().update(updSql);
|
|
|
}
|
|
|
|
|
|
private void studentInsertRecord(Long userId, Long teacherId, Long classId, String facePhoto, String recordTime, int status, String eventId, String attendanceStatus){
|