@Test public void testSelectImg() throws Exception { CommodityImg commodityImg = commodImg.selectImg(1l); Assert.assertNotNull(commodityImg, "不是空对象"); }
@Override public CommodityImg selectImg(Long id) { return commodityImg.selectByPrimaryKey(id); }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public CommodityImg selectImg(Long id) { return commodityImg.selectByPrimaryKey(id); } }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public CommodityImg selectImg(Long id) { return commodityImg.selectByPrimaryKey(id); }  }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public CommodityImg selectImg(Long id) { return commodityImg.selectByPrimaryKey(id); }  @Override boolean addImage(CommodityImg commodImg); @Override boolean deleteImage(Long id); @Override CommodityImg selectImg(Long id); @Override List<CommodityImg> selectAll(); }
CommodityImgServiceImlpl implements ICommodityImgService { @Override public CommodityImg selectImg(Long id) { return commodityImg.selectByPrimaryKey(id); }  @Override boolean addImage(CommodityImg commodImg); @Override boolean deleteImage(Long id); @Override CommodityImg selectImg(Long id); @Override List<CommodityImg> selectAll();  }