@Override
 public List<MatchShopEntity> selectEntityByUserId(long userId, Object attach) {
   List<MatchShopEntity> entitys = dao.selectEntityByUserId(userId, attach);
   for (MatchShopEntity entity : entitys) {
     entity.obtainAfter();
   }
   return entitys;
 }
 @Override
 public List<MatchShopEntity> selectAllEntity(Object attach) {
   List<MatchShopEntity> entitys = dao.selectAllEntity(attach);
   for (MatchShopEntity entity : entitys) {
     entity.obtainAfter();
   }
   return entitys;
 }
 @Override
 public MatchShopEntity selectEntityByUserIdAndShopType(long userId, int shopType, Object attach) {
   MatchShopEntity entity =
       (MatchShopEntity) dao.selectEntityByUserIdAndShopType(userId, shopType, attach);
   if (entity != null) {
     entity.obtainAfter();
   }
   return entity;
 }
 @Override
 public void batchUpdateEntity(List<MatchShopEntity> entitys, Object attach) {
   for (MatchShopEntity entity : entitys) {
     entity.saveBefore();
   }
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(
           dao, DaoOperateType.BatchUpdate, entitys, "", null, attach);
   operatePool.execute(daoOperate);
 }
 @Override
 public void updateEntity(MatchShopEntity entity, Object attach) {
   entity.saveBefore();
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(dao, DaoOperateType.Update, entity, "", null, attach);
   operatePool.execute(daoOperate);
 }