@Override
 public void deleteGoodsAreaById(long id) {
   GoodsArea ga = new GoodsArea();
   ga.setIsDel(127);
   ga.setId(id);
   goodsAreaMapper.updateByPrimaryKeySelective(ga);
 }
 public Pager<List<GoodsArea>> selectAreaPager(long goodsId) {
   GoodsAreaExample e = new GoodsAreaExample();
   e.createCriteria().andGoodsIdEqualTo(goodsId).andIsDelEqualTo(1);
   List<GoodsArea> list = goodsAreaMapper.selectByExample(e);
   return new Pager<List<GoodsArea>>(list, (long) list.size());
 }