@Test public void testDeleteImage() throws Exception { boolean b = commodImg.deleteImage(1l); Assert.assertTrue(b); }
@Override public boolean deleteImage(Long id) { return commodityImg.deleteByPrimaryKey(id) > 0; }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public boolean deleteImage(Long id) { return commodityImg.deleteByPrimaryKey(id) > 0; } }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public boolean deleteImage(Long id) { return commodityImg.deleteByPrimaryKey(id) > 0; }  }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public boolean deleteImage(Long id) { return commodityImg.deleteByPrimaryKey(id) > 0; }  @Override boolean addImage(CommodityImg commodImg); @Override boolean deleteImage(Long id); @Override CommodityImg selectImg(Long id); @Override List<CommodityImg> selectAll(); }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public boolean deleteImage(Long id) { return commodityImg.deleteByPrimaryKey(id) > 0; }  @Override boolean addImage(CommodityImg commodImg); @Override boolean deleteImage(Long id); @Override CommodityImg selectImg(Long id); @Override List<CommodityImg> selectAll();  }