예제 #1
0
 public DriverMessagePO find(String id) {
   dbHelper.init();
   ArrayList<DriverMessagePO> list = dbHelper.queryByID(id, "drivermessageform");
   driverMessagePO = list.get(0);
   dbHelper.close();
   return driverMessagePO;
 }
예제 #2
0
 public String update(IDVO Id) {
   dbHelper.init();
   ArrayList<DriverMessagePO> list = dbHelper.queryByID(Id.id, "drivermessageform");
   list.get(0).setExe(1);
   String result = dbHelper.update(list, "drivermessageform");
   dbHelper.close();
   return result;
 }