@Test public void testDeleteImage() throws Exception { boolean b = image.deleteImage(1l); Assert.assertTrue(b); }
@Override public boolean deleteImage(Long id) { int i = imagesMapper.deleteByPrimaryKey(id); if (i > 0) { return true; } return false; }
ImagesServiceImpl implements ImagesService { @Override public boolean deleteImage(Long id) { int i = imagesMapper.deleteByPrimaryKey(id); if (i > 0) { return true; } return false; } }
ImagesServiceImpl implements ImagesService { @Override public boolean deleteImage(Long id) { int i = imagesMapper.deleteByPrimaryKey(id); if (i > 0) { return true; } return false; }  }
ImagesServiceImpl implements ImagesService { @Override public boolean deleteImage(Long id) { int i = imagesMapper.deleteByPrimaryKey(id); if (i > 0) { return true; } return false; }  @Override boolean addImage(Images img); @Override boolean deleteImage(Long id); @Override List<Map<String, Object>> selectIcon(); @Override List<Map<String, Object>> selectAdvert(); @Override boolean update(Images img); @Override List<Map<String, Object>> selectEvent(); @Override List<String> selectWelcomeImg(); @Override List<String> selectnavigeteImg(); }
ImagesServiceImpl implements ImagesService { @Override public boolean deleteImage(Long id) { int i = imagesMapper.deleteByPrimaryKey(id); if (i > 0) { return true; } return false; }  @Override boolean addImage(Images img); @Override boolean deleteImage(Long id); @Override List<Map<String, Object>> selectIcon(); @Override List<Map<String, Object>> selectAdvert(); @Override boolean update(Images img); @Override List<Map<String, Object>> selectEvent(); @Override List<String> selectWelcomeImg(); @Override List<String> selectnavigeteImg();  }