当前位置: 首页 > news >正文

开源项目-拍卖管理系统

哈喽,大家好,今天主要给大家带来一个开源项目-拍卖管理系统

拍卖管理系统主要有拍卖品管理,我的拍卖,拍卖详情,拍卖品信息修改,发布拍卖品等功能

登录

拍卖商品管理

主要用于查看、竞拍拍卖商品的信息

我的拍卖

展示用户当前的拍卖品,可以查看、下架和编辑拍卖商品的信息

拍卖详情

提供对特定拍卖品的详细信息,包括拍卖品描述、出价历史、拍卖时间等

拍卖品信息修改

可以修改拍卖品的详细信息,如描述、价格等

发布拍卖品

允许管用户创建并发布新的拍卖商品。

代码示例

package com.xxd.controller;import java.util.Date;
import java.util.List;import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;import com.xxd.pojo.Bid_xxd;
import com.xxd.pojo.Goods_xxd;
import com.xxd.pojo.User_xxd;
import com.xxd.service.BidService_xxd;
/*** *@Description 拍品记录控制器**/
@Controller
@RequestMapping("")
public class BidController_xxd {@AutowiredBidService_xxd bidservice_xxd;/*** 竞拍拍品*@param  request response session*@return*/@RequestMapping("jingpaiServlet_xxd")public ModelAndView aucitongoods(HttpServletRequest request,HttpServletResponse response, HttpSession session) {ModelAndView mav = new ModelAndView();String BidPrice_xxd = request.getParameter("BidPrice_xxd");String refresh_xxd = request.getParameter("refresh_xxd");String returnList_xxd = request.getParameter("returnList_xxd");String returnperList_xxd = request.getParameter("returnperList_xxd");if(BidPrice_xxd != null) {if(request.getParameter("sale_xxd") == "") {mav.setViewName("auction_xxd");return mav;}int goodsprice_xxd = Integer.parseInt(request.getParameter("sale_xxd"));int highestPrice_xxd = goodsprice_xxd;session.setAttribute("highestPrice_xxd", highestPrice_xxd);Bid_xxd bid_xxd = new Bid_xxd();User_xxd user_xxd = (User_xxd) session.getAttribute("user_xxd");Goods_xxd goods_xxd = (Goods_xxd) session.getAttribute("goods_xxd");bid_xxd.setUserId_xxd(user_xxd.getUserId_xxd());bid_xxd.setGoodsId_xxd(goods_xxd.getGoodsId_xxd());bid_xxd.setBidTime_xxd(new java.sql.Date(new Date().getTime()));bid_xxd.setBidPrice_xxd(goodsprice_xxd);bidservice_xxd.insert(bid_xxd);List<Bid_xxd> bidList_xxd = bidservice_xxd.getBidByGoodsId(goods_xxd.getGoodsId_xxd());session.setAttribute("bidList_xxd", bidList_xxd);mav.setViewName("auction_xxd");return mav;}else if(returnList_xxd != null) {mav.setViewName("list_xxd");return mav;}else if(returnperList_xxd != null){mav.setViewName("myauction_xxd");return mav;}else if(refresh_xxd != null){mav.setViewName("perauction_xxd");return mav;}return mav;}}

项目架构

项目通过SpringMVC+Mysql技术开发,需要通过tomcat启动项目

以上就是系统的大致内容了,感兴趣的同学可以通过连接下载源码~


http://www.mrgr.cn/news/60267.html

相关文章:

  • Node.js与Python的交互:使用node-pyrunner模块
  • Chromium HTML5 新的 Input 类型search对应c++
  • 【Linux网络】Linux网络基础入门:初识网络,理解网络协议
  • 监控-08-skywalking监控告警
  • vue中实现css布局(flex)
  • 苍穹外卖 根据id查询套餐接口
  • 轻松部署Dify并实现Ollama与Xinference集成教程!
  • C++异常、嵌套类
  • 基于SSM少儿编程管理系统的设计
  • 帝佛卡干邑荣耀登陆泰国王权King Power
  • MPP音视频总结
  • 如何通过自签名证书让本地环境变为 https
  • 高通学习1-TLMM(TODO)
  • 深度学习并行训练算法一锅炖: DDP, TP, PP, ZeRO
  • 鸿蒙开发融云demo录制语音消息
  • 转换手机录音文件为文本
  • 鸿蒙生态开发以及技术栈介绍
  • 第三十二篇:TCP协议粘包和滑动窗口,TCP系列七
  • 贷款有门道:白名单和黑名单,线上线下申请,你都知道吗?
  • [mysql]多行子查询(只包含不相关子查询案例)
  • Kotlin学习第三课
  • Linux 重启命令全解析:深入理解与应用指南
  • 【代码优化Tip】关于结构
  • 设计模式——备忘录模式
  • gitlab如何重置密码
  • APP闪退原因