Examples of ConvertGoods


Examples of com.eatle.persistent.pojo.foundation.scoreshop.ConvertGoods

          // 保存文件
          String saveName = ServletActionContext.getServletContext()
              .getRealPath(path) + File.separator + uuidName;
          ImageUtil.thumbnails(logo[i], new File(saveName), 150);
          // 更新兑换物品PicUrl
          ConvertGoods convertGoods = convertGoodsService.findById(id);
          String oldLogoPath = ServletActionContext.getServletContext()
              .getRealPath(convertGoods.getPicUrl());
          File oldLogoFile = new File(oldLogoPath == null ? "" : oldLogoPath);
          if (oldLogoFile.exists())
          {
            oldLogoFile.delete();
          }
          convertGoods.setPicUrl(path + "/" + uuidName);
          convertGoodsService.update(convertGoods);
        }
        json.put(DwzAjaxJsonUtil.KEY_NAVTABID, navTabId);
      }
      else
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.