基于SSM的图书商城

本次分享系统后端采用SSM框架,前端使用bootstrap、layui、css、js等,有文档。主要功能包括:图书搜索、分类查看、加入购物车、下单,以及管理员管理功能等,对于系统的详细功能。

**

  • 系统首页

**
在这里插入图片描述

**

  • 分类查看

**
在这里插入图片描述
**

  • 热销

**
在这里插入图片描述
**

  • 详情

**
在这里插入图片描述
**

  • 管理员首页

**
在这里插入图片描述
**

  • 商品管理

**
在这里插入图片描述
**

  • 项目结构

**
在这里插入图片描述
controller部分

/** 	 * 首页 	 * @return 	 */ 	@RequestMapping("/index") 	public String index(HttpServletRequest request){ 		request.setAttribute("flag", 1); 		request.setAttribute("typeList", typeService.getList()); 		request.setAttribute("top1List", topService.getList(Tops.TYPE_SCROLL, 1, 1)); 		request.setAttribute("top2List", topService.getList(Tops.TYPE_LARGE, 1, 6)); 		request.setAttribute("top3List", topService.getList(Tops.TYPE_SMALL, 1, 8)); 		return "/index/index.jsp"; 	} 	 	/** 	 * 推荐列表 	 * @return 	 */ 	@RequestMapping("/top") 	public String tops(int typeid, @RequestParam(required=false, defaultValue="1")int page, HttpServletRequest request) { 		request.setAttribute("flag", typeid==2 ? 7 : 8); 		request.setAttribute("typeList", typeService.getList()); 		request.setAttribute("goodList", goodService.getList(typeid, page, rows)); 		request.setAttribute("pageTool", PageUtil.getPageTool(request, goodService.getTotal(typeid), page, rows)); 		return "/index/goods.jsp"; 	} 

xml部分

 <select id="selectById" resultMap="BaseResultMap" parameterType="java.lang.Integer" >     select      <include refid="Base_Column_List" />     from goods     where id = #{id,jdbcType=INTEGER}   </select>   <delete id="deleteById" parameterType="java.lang.Integer" >     delete from goods     where id = #{id,jdbcType=INTEGER}   </delete> 

好了,以上就是系统的实现过程,更多文章,点击左上角头像,查看更多相关系统的分享。

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值