@Test
  public void testGet() {
    LifeServiceService userInfoService = new LifeServiceService();

    LifeService userInfo = userInfoService.get(1);
    System.out.println(userInfo.getTitle());
  }
  @Test
  public void testUpdate() {
    LifeService user_info = new LifeService();
    user_info.setId(2);
    user_info.setTitle("yang");
    user_info.setContent("yang22");
    user_info.setDate_time(new Date());

    LifeServiceService userInfoService = new LifeServiceService();

    userInfoService.update(user_info);
  }