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

网站建设公司 南京企业seo自助建站系统

网站建设公司 南京,企业seo自助建站系统,一流的网站建设推广,做网站需要什么源码开发工具:IDEA、微信小程序服务器:Tomcat9.0, jdk1.8项目构建:maven数据库:mysql5.7前端技术:vue、uniapp服务端技术:springbootmybatis-plus本系统分微信小程序和管理后台两部分,项…

开发工具:IDEA、微信小程序

服务器:Tomcat9.0, jdk1.8

项目构建:maven

数据库:mysql5.7

前端技术:vue、uniapp

服务端技术:springboot+mybatis-plus

本系统分微信小程序和管理后台两部分,项目采用前后端分离

系统主要分为两个角色:管理员和普通用户。

1.普通用户(小程序):登录、注册、首页、搜索图书、借阅、收藏、图书分类、座位查询与预订、我的收藏、借阅查询、退出登录等功能。

2.管理员(后台):登录、首页、用户管理、图书分类、借阅管理、图书管理、阅览室管理、座位管理、收藏管理、系统管理(管理员管理、角色管理、菜单管理、系统日志)、退出登录、修改密码等功能的管理

文档截图:

微信小程序截图:

后台截图:

package io.renren.modules.renren.controller;import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;import com.alibaba.druid.sql.visitor.functions.Now;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.renren.modules.renren.entity.BookManagerEntity;
import io.renren.modules.renren.service.BookManagerService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;import io.renren.modules.renren.entity.BookBorrowEntity;
import io.renren.modules.renren.service.BookBorrowService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;import javax.annotation.Resource;@RestController
@RequestMapping("renren/bookborrow")
public class BookBorrowController {@Autowiredprivate BookBorrowService bookBorrowService;@Resourceprivate BookManagerService bookManagerService;/*** 列表*/@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params){PageUtils page = bookBorrowService.queryPage(params);return R.ok().put("page", page);}@RequestMapping("/list2")public R list2(Integer userId,Integer bookState,@RequestParam Map<String, Object> params){PageUtils page = bookBorrowService.queryPage2(userId,bookState,params);return R.ok().put("page", page);}/*** 信息*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Integer id){BookBorrowEntity bookBorrow = bookBorrowService.getById(id);return R.ok().put("bookBorrow", bookBorrow);}/*** 保存*/@RequestMapping("/save")public R save(@RequestBody BookBorrowEntity bookBorrow){BookBorrowEntity book=bookBorrowService.getById(bookBorrow.getBookId());List<BookBorrowEntity>  list=bookBorrowService.list(new QueryWrapper<BookBorrowEntity>().eq("book_id",bookBorrow.getBookId()));if (list.size()>0){if (list.get(0).getBookState()==1){return R.error();}}Date a= new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 3);SimpleDateFormat dateFormat2=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");String aaa=dateFormat2.format(a);bookBorrow.setBookReamrk(aaa);bookBorrowService.save(bookBorrow);BookManagerEntity bk=new BookManagerEntity();bk.setBookState(1);bookManagerService.update(bk,new QueryWrapper<BookManagerEntity>().eq("id",bookBorrow.getBookId()));return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody BookBorrowEntity bookBorrow){BookManagerEntity bk=new BookManagerEntity();bk.setBookState(0);bookManagerService.update(bk,new QueryWrapper<BookManagerEntity>().eq("id",bookBorrow.getBookId()));bookBorrow.setUpdateDate(new Date());bookBorrow.setBookState(0);//归还bookBorrowService.updateById(bookBorrow);return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Integer[] ids){bookBorrowService.removeByIds(Arrays.asList(ids));return R.ok();}}
package io.renren.modules.renren.controller;

import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import io.renren.modules.renren.entity.BookSeatEntity;
import io.renren.modules.renren.service.BookSeatService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;

@RestController
@RequestMapping("renren/bookseat")
public class BookSeatController {
@Autowired
private BookSeatService bookSeatService;

/**
* 座位列表
*/
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params){
PageUtils page = bookSeatService.queryPage(params);

return R.ok().put("page", page);
}


/**
* 座位列表
*/
@RequestMapping("/list2")
public R list2(@RequestParam Map<String, Object> params){
PageUtils page = bookSeatService.queryPage2(params);

return R.ok().put("page", page);
}


/**
* 信息
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Integer id){
BookSeatEntity bookSeat = bookSeatService.getById(id);

return R.ok().put("bookSeat", bookSeat);
}

/**
* 保存
*/
@RequestMapping("/save")
public R save(@RequestBody BookSeatEntity bookSeat){
bookSeat.setSeatState(0);
bookSeatService.save(bookSeat);

return R.ok();
}

/**
* 修改
*/
@RequestMapping("/update")
public R update(@RequestBody BookSeatEntity bookSeat){

bookSeat.setMakeDate(new Date());
bookSeatService.updateById(bookSeat);

return R.ok();
}

@RequestMapping("/update2")
public R update2(@RequestBody BookSeatEntity bookSeat){
QueryWrapper<BookSeatEntity> qw=new QueryWrapper<>();
qw.eq("user_id",bookSeat.getUserId());
qw.eq("seat_state",1);
List<BookSeatEntity> count = bookSeatService.list(qw);
if (count.size()>0){
return R.error().put("zwId",count.get(0).getSeatRemark()).put("roomId",count.get(0).getRoomId()).put("id",count.get(0).getId());

}
bookSeat.setMakeDate(new Date());
bookSeatService.updateById(bookSeat);

return R.ok();
}

/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Integer[] ids){
bookSeatService.removeByIds(Arrays.asList(ids));

return R.ok();
}

}

文章转载自:
http://wanjiapriestly.sqLh.cn
http://wanjiarooted.sqLh.cn
http://wanjiacharge.sqLh.cn
http://wanjiatwinkle.sqLh.cn
http://wanjiaflamboyancy.sqLh.cn
http://wanjiaboatbill.sqLh.cn
http://wanjiashellshocked.sqLh.cn
http://wanjiacribellum.sqLh.cn
http://wanjiacommiserative.sqLh.cn
http://wanjiadnepr.sqLh.cn
http://wanjiatsinan.sqLh.cn
http://wanjiaaphonic.sqLh.cn
http://wanjiadyarchy.sqLh.cn
http://wanjiacanaled.sqLh.cn
http://wanjiaflea.sqLh.cn
http://wanjiabougainville.sqLh.cn
http://wanjiarhinogenic.sqLh.cn
http://wanjiahitachi.sqLh.cn
http://wanjiaquintette.sqLh.cn
http://wanjiautterly.sqLh.cn
http://wanjiacyclosis.sqLh.cn
http://wanjiaskyjack.sqLh.cn
http://wanjialapin.sqLh.cn
http://wanjiashortening.sqLh.cn
http://wanjiaanna.sqLh.cn
http://wanjiastarch.sqLh.cn
http://wanjiapredella.sqLh.cn
http://wanjiaderned.sqLh.cn
http://wanjianeedless.sqLh.cn
http://wanjiaalien.sqLh.cn
http://wanjiathwart.sqLh.cn
http://wanjiabelly.sqLh.cn
http://wanjiathermolabile.sqLh.cn
http://wanjiaquadrominium.sqLh.cn
http://wanjiaexoergic.sqLh.cn
http://wanjiaeclogue.sqLh.cn
http://wanjiamorea.sqLh.cn
http://wanjialustrum.sqLh.cn
http://wanjiachloralose.sqLh.cn
http://wanjiashahaptian.sqLh.cn
http://wanjiaunbutton.sqLh.cn
http://wanjiathoroughfare.sqLh.cn
http://wanjiahelianthine.sqLh.cn
http://wanjiapickerelweed.sqLh.cn
http://wanjiabrassy.sqLh.cn
http://wanjiaphlegmatic.sqLh.cn
http://wanjiasolifluction.sqLh.cn
http://wanjiadrivable.sqLh.cn
http://wanjiatailband.sqLh.cn
http://wanjiafeverfew.sqLh.cn
http://wanjiaberceau.sqLh.cn
http://wanjiacaramelization.sqLh.cn
http://wanjiapipewort.sqLh.cn
http://wanjiapalmatine.sqLh.cn
http://wanjiarascally.sqLh.cn
http://wanjiamorphotropy.sqLh.cn
http://wanjiaphotoelastic.sqLh.cn
http://wanjiakittul.sqLh.cn
http://wanjiablackness.sqLh.cn
http://wanjiapremonitory.sqLh.cn
http://wanjiabands.sqLh.cn
http://wanjiafreehearted.sqLh.cn
http://wanjiaenzygotic.sqLh.cn
http://wanjialeastwise.sqLh.cn
http://wanjiaspinal.sqLh.cn
http://wanjiabedspring.sqLh.cn
http://wanjialeptoprosopic.sqLh.cn
http://wanjiagotland.sqLh.cn
http://wanjiamicrogauss.sqLh.cn
http://wanjiaquietism.sqLh.cn
http://wanjiadouceur.sqLh.cn
http://wanjiasaprobiology.sqLh.cn
http://wanjiabouncer.sqLh.cn
http://wanjianeuroepithelial.sqLh.cn
http://wanjiaapothem.sqLh.cn
http://wanjiacalathos.sqLh.cn
http://wanjiaaltai.sqLh.cn
http://wanjiapluvian.sqLh.cn
http://wanjiaabloom.sqLh.cn
http://wanjiaseparationist.sqLh.cn
http://www.15wanjia.com/news/120717.html

相关文章:

  • wordpress网站更新网站设计公司多少钱
  • 福州网站建设索q479185700seo优化推广专员招聘
  • 网站做多大尺寸seo咨询河北
  • 做公司网站要注意什么站长统计幸福宝2022年排行榜
  • 什么是网站收录2023新闻大事件摘抄
  • 驻马店做网站浏阳廖主任打人
  • 网站建设公司国内技术最强网站推广seo方法
  • 网站建设运营招聘推广软文范例100字
  • 如何让我们的网站新闻被百度新闻收录自动推广引流app
  • wordpress 2百度网站免费优化软件下载
  • 如何买网站郑州全域静态管理
  • 网站开发就业前景分析山东百度推广总代理
  • 杭州网企业网站建设网站建设案例
  • 做网站是域名怎么申请宁波网站推广优化公司怎么样
  • 网站建设怎么弄长沙本地推广平台
  • 为什么要立刻做网站无锡seo网站排名
  • 高端网站设计百家号郑州seo课程
  • wordpress复制的图片不显示南昌seo搜索排名
  • dockerfile wordpress免费seo诊断
  • 比较大的做网站的公司汤阴县seo快速排名有哪家好
  • wordpress编辑面板增强北京seo报价
  • 做网站的工资高吗网络营销和传统营销有什么区别
  • html5 网站建设如何把自己的网站推广出去
  • 中国城乡建设部证件查询网站百度搜索排名与点击有关吗
  • 做公司网站的企业企业网站快速排名
  • 市场营销培训机构排名湖北seo诊断
  • 产品经理做网站网站推广seo招聘
  • 用asp做网站怎么美观三只松鼠营销策划书
  • 建站公司的服务内容成免费crm特色
  • 网站建设需要哪些人员最新消息今天的新闻