yy1717
2020-02-28 26ed6eb5e0c3a15b56f724e8890d33e3b6339882
app/src/main/java/safeluck/drive/evaluation/DB/StudentInfoUpdateWork.java
@@ -8,6 +8,8 @@
import androidx.work.Worker;
import androidx.work.WorkerParameters;
import com.anyun.exam.lib.MyLog;
import org.json.JSONException;
import org.json.JSONObject;
@@ -35,6 +37,7 @@
                String  name = jsonObject.getString("name");
                Student student =new Student(1001,name,id,2);
                student.setHead_url(headUrl);
                MyLog.i("更新签到人员信息:"+student.toString());
                WorkRoomDataBase.getWorkRoomDataBase(getApplicationContext()).getstudentDao().insert(student);
                return Result.success();
            } catch (JSONException e) {