博主介绍:✌从事软件开发10年之余,专注于Java技术领域、Python人工智能及数据挖掘、小程序项目开发和Android项目开发等。CSDN、掘金、华为云、InfoQ、阿里云等平台优质作者✌
🍅文末获取源码联系🍅
👇🏻 精彩专栏推荐订阅👇🏻 不然下次找不到哟
————————————————
计算机毕业设计《1000套》✌
目录
1、项目介绍及开发技术
1.1 项目介绍
在快节奏的现代生活中,健康饮食越来越受到人们的重视。然而,由于缺乏营养知识或时间限制,很多人难以合理搭配每日饮食。为了解决这一问题,我们设计并实现了一个半成品配菜平台,旨在为用户提供便捷、健康、个性化的配菜服务。
背景:
随着电子商务的发展,线上购物已成为日常生活的一部分。传统的生鲜电商主要提供单一食材,而用户对于如何将这些食材合理搭配成营养均衡的餐食缺乏指导。市场上缺乏一个能够根据用户需求提供个性化配菜方案的综合性平台。
目的意义:
- 1. 个性化服务:平台通过用户注册信息,如饮食习惯、健康需求等,提供个性化的配菜建议,满足不同用户的特定需求。
- 2. 营养均衡:通过专业的营养师团队,确保每份配菜都符合营养均衡的原则,帮助用户实现健康饮食。
- 3. 便捷性:用户可以通过平台轻松下单,购买半成品配菜,节省了挑选食材和准备餐食的时间。
- 4. 社区互动:平台提供的互动交流区,允许用户分享自己的配菜经验,增强用户之间的互动,形成健康饮食的社区文化。
- 5. 数据驱动:通过收集用户反馈和投票活动数据,平台能够不断优化配菜方案,提升服务质量。
综上所述,半成品配菜平台的设计与实现,不仅为用户提供了一个便捷获取健康饮食的渠道,也为推动健康生活方式的普及做出了贡献。通过技术手段优化饮食结构,该平台有望成为现代都市人健康生活的得力助手。
1.2 开发技术
类别 | 技术名称 | 用途/描述 |
---|---|---|
开发语言 | Java | 一种广泛使用的面向对象编程语言。 |
框架 | Spring Boot | 简化Spring应用的初始搭建以及开发过程。 |
ORM工具 | MyBatis Plus | MyBatis的增强工具,简化CRUD操作。 |
数据库 | MySQL | 流行的关系型数据库管理系统。 |
构建工具 | Maven | 项目管理和理解工具。 |
开发工具 | IDEA | 集成开发环境,用于代码编写和调试。 |
JDK版本 | JDK 1.8+ | Java开发工具包,提供运行Java程序所需的环境。 |
前端框架 | Vue | 用于构建用户界面的渐进式JavaScript框架。 |
UI框架 | Element UI | 基于Vue的桌面端组件库。 |
前端技术 | HTML | 网页内容的标准标记语言。 |
前端技术 | CSS | 描述HTML文档的样式。 |
前端技术 | JS | 网页脚本语言,用于实现网页的动态效果。 |
2、系统功能设计结构图
功能模块结构图
│
├── 管理员
│ ├── 登录
│ ├── 首页(统计)
│ ├── 用户管理
│ ├── 配菜分类
│ ├── 配菜信息管理
│ ├── 投票活动管理
│ ├── 投票记录管理
│ ├── 互动交流管理
│ ├── 优惠券管理
│ ├── 系统管理
│ └── 订单管理
│
└── 用户
├── 登录
├── 注册
├── 首页
├── 配菜信息
├── 投票活动
├── 互动交流
├── 公告信息
├── 购物车
├── 在线客服
└── 个人中心
├── 个人中心
├── 修改密码
├── 投票记录
├── 我的发布
├── 我的订单
├── 我的地址
├── 我的收藏
├── 浏览历史
└── 我的优惠券
3、功能截图
3.1 前台功能
3.2 后台功能
4、数据库表结构设计
5、关键代码
5.1 配菜信息Controller模块
package com.controller;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.format.annotation.DateTimeFormat;
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 com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;
import com.entity.OrdersEntity;
import com.service.OrdersService;
import com.utils.UserBasedCollaborativeFiltering;
import com.entity.PeicaixinxiEntity;
import com.entity.view.PeicaixinxiView;
import com.service.PeicaixinxiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MPUtil;
import com.utils.MapUtils;
import com.utils.CommonUtil;
import java.io.IOException;
import com.service.StoreupService;
import com.entity.StoreupEntity;
/**
* 配菜信息
* 后端接口
* @author
* @email
*/
@RestController
@RequestMapping("/peicaixinxi")
public class PeicaixinxiController {
@Autowired
private PeicaixinxiService peicaixinxiService;
@Autowired
private StoreupService storeupService;
@Autowired
private OrdersService ordersService;
/**
* 后台列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,PeicaixinxiEntity peicaixinxi,
@RequestParam(required = false) Double pricestart,
@RequestParam(required = false) Double priceend,
HttpServletRequest request){
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
if(pricestart!=null) ew.ge("price", pricestart);
if(priceend!=null) ew.le("price", priceend);
PageUtils page = peicaixinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, peicaixinxi), params), params));
return R.ok().put("data", page);
}
/**
* 前台列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,PeicaixinxiEntity peicaixinxi,
@RequestParam(required = false) Double pricestart,
@RequestParam(required = false) Double priceend,
HttpServletRequest request){
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
if(pricestart!=null) ew.ge("price", pricestart);
if(priceend!=null) ew.le("price", priceend);
PageUtils page = peicaixinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, peicaixinxi), params), params));
return R.ok().put("data", page);
}
/**
* 列表
*/
@RequestMapping("/lists")
public R list( PeicaixinxiEntity peicaixinxi){
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
ew.allEq(MPUtil.allEQMapPre( peicaixinxi, "peicaixinxi"));
return R.ok().put("data", peicaixinxiService.selectListView(ew));
}
/**
* 查询
*/
@RequestMapping("/query")
public R query(PeicaixinxiEntity peicaixinxi){
EntityWrapper< PeicaixinxiEntity> ew = new EntityWrapper< PeicaixinxiEntity>();
ew.allEq(MPUtil.allEQMapPre( peicaixinxi, "peicaixinxi"));
PeicaixinxiView peicaixinxiView = peicaixinxiService.selectView(ew);
return R.ok("查询配菜信息成功").put("data", peicaixinxiView);
}
/**
* 后台详情
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
PeicaixinxiEntity peicaixinxi = peicaixinxiService.selectById(id);
peicaixinxi.setClicknum(peicaixinxi.getClicknum()+1);
peicaixinxiService.updateById(peicaixinxi);
peicaixinxi = peicaixinxiService.selectView(new EntityWrapper<PeicaixinxiEntity>().eq("id", id));
return R.ok().put("data", peicaixinxi);
}
/**
* 前台详情
*/
@IgnoreAuth
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
PeicaixinxiEntity peicaixinxi = peicaixinxiService.selectById(id);
peicaixinxi.setClicknum(peicaixinxi.getClicknum()+1);
peicaixinxiService.updateById(peicaixinxi);
peicaixinxi = peicaixinxiService.selectView(new EntityWrapper<PeicaixinxiEntity>().eq("id", id));
return R.ok().put("data", peicaixinxi);
}
/**
* 赞或踩
*/
@RequestMapping("/thumbsup/{id}")
public R vote(@PathVariable("id") String id,String type){
PeicaixinxiEntity peicaixinxi = peicaixinxiService.selectById(id);
if(type.equals("1")) {
peicaixinxi.setThumbsupnum(peicaixinxi.getThumbsupnum()+1);
} else {
peicaixinxi.setCrazilynum(peicaixinxi.getCrazilynum()+1);
}
peicaixinxiService.updateById(peicaixinxi);
return R.ok("投票成功");
}
/**
* 后台保存
*/
@RequestMapping("/save")
public R save(@RequestBody PeicaixinxiEntity peicaixinxi, HttpServletRequest request){
if(peicaixinxiService.selectCount(new EntityWrapper<PeicaixinxiEntity>().eq("shangpinmingcheng", peicaixinxi.getShangpinmingcheng()))>0) {
return R.error("商品名称已存在");
}
//ValidatorUtils.validateEntity(peicaixinxi);
peicaixinxiService.insert(peicaixinxi);
return R.ok();
}
/**
* 前台保存
*/
@RequestMapping("/add")
public R add(@RequestBody PeicaixinxiEntity peicaixinxi, HttpServletRequest request){
if(peicaixinxiService.selectCount(new EntityWrapper<PeicaixinxiEntity>().eq("shangpinmingcheng", peicaixinxi.getShangpinmingcheng()))>0) {
return R.error("商品名称已存在");
}
//ValidatorUtils.validateEntity(peicaixinxi);
peicaixinxiService.insert(peicaixinxi);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
@Transactional
public R update(@RequestBody PeicaixinxiEntity peicaixinxi, HttpServletRequest request){
//ValidatorUtils.validateEntity(peicaixinxi);
if(peicaixinxiService.selectCount(new EntityWrapper<PeicaixinxiEntity>().ne("id", peicaixinxi.getId()).eq("shangpinmingcheng", peicaixinxi.getShangpinmingcheng()))>0) {
return R.error("商品名称已存在");
}
peicaixinxiService.updateById(peicaixinxi);//全部更新
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
peicaixinxiService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
/**
* 前台智能排序
*/
@IgnoreAuth
@RequestMapping("/autoSort")
public R autoSort(@RequestParam Map<String, Object> params,PeicaixinxiEntity peicaixinxi, HttpServletRequest request,String pre){
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
Map<String, Object> newMap = new HashMap<String, Object>();
Map<String, Object> param = new HashMap<String, Object>();
Iterator<Map.Entry<String, Object>> it = param.entrySet().iterator();
while (it.hasNext()) {
Map.Entry<String, Object> entry = it.next();
String key = entry.getKey();
String newKey = entry.getKey();
if (pre.endsWith(".")) {
newMap.put(pre + newKey, entry.getValue());
} else if (StringUtils.isEmpty(pre)) {
newMap.put(newKey, entry.getValue());
} else {
newMap.put(pre + "." + newKey, entry.getValue());
}
}
params.put("sort", "clicknum");
params.put("order", "desc");
PageUtils page = peicaixinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, peicaixinxi), params), params));
return R.ok().put("data", page);
}
/**
* 协同算法(基于用户的协同算法)
*/
@RequestMapping("/autoSort2")
public R autoSort2(@RequestParam Map<String, Object> params,PeicaixinxiEntity peicaixinxi, HttpServletRequest request){
String userId = request.getSession().getAttribute("userId").toString();
Integer limit = params.get("limit")==null?10:Integer.parseInt(params.get("limit").toString());
List<OrdersEntity> orders = ordersService.selectList(new EntityWrapper<OrdersEntity>());
Map<String, Map<String, Double>> ratings = new HashMap<>();
if(orders!=null && orders.size()>0) {
for(OrdersEntity o : orders) {
Map<String, Double> userRatings = null;
if(ratings.containsKey(o.getUserid().toString())) {
userRatings = ratings.get(o.getUserid().toString());
} else {
userRatings = new HashMap<>();
ratings.put(o.getUserid().toString(), userRatings);
}
if(userRatings.containsKey(o.getGoodid().toString())) {
userRatings.put(o.getGoodid().toString(), userRatings.get(o.getGoodid().toString())+1.0);
} else {
userRatings.put(o.getGoodid().toString(), 1.0);
}
}
}
// 创建协同过滤对象
UserBasedCollaborativeFiltering filter = new UserBasedCollaborativeFiltering(ratings);
// 为指定用户推荐物品
String targetUser = userId;
int numRecommendations = limit;
List<String> recommendations = filter.recommendItems(targetUser, numRecommendations);
// 输出推荐结果
System.out.println("Recommendations for " + targetUser + ":");
for (String item : recommendations) {
System.out.println(item);
}
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
ew.in("id", recommendations);
if(recommendations!=null && recommendations.size()>0) {
ew.last("order by FIELD(id, "+String.join(",", recommendations)+")");
}
PageUtils page = peicaixinxiService.queryPage(params, ew);
List<PeicaixinxiEntity> pageList = (List<PeicaixinxiEntity>)page.getList();
if(pageList.size()<limit) {
int toAddNum = limit-pageList.size();
ew = new EntityWrapper<PeicaixinxiEntity>();
ew.notIn("id", recommendations);
ew.orderBy("id", false);
ew.last("limit "+toAddNum);
pageList.addAll(peicaixinxiService.selectList(ew));
} else if(pageList.size()>limit) {
pageList = pageList.subList(0, limit);
}
page.setList(pageList);
return R.ok().put("data", page);
}
/**
* (按值统计)
*/
@RequestMapping("/value/{xColumnName}/{yColumnName}")
public R value(@PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("yColumn", yColumnName);
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
List<Map<String, Object>> result = peicaixinxiService.selectValue(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* (按值统计(多))
*/
@RequestMapping("/valueMul/{xColumnName}")
public R valueMul(@PathVariable("xColumnName") String xColumnName,@RequestParam String yColumnNameMul, HttpServletRequest request) {
String[] yColumnNames = yColumnNameMul.split(",");
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
List<List<Map<String, Object>>> result2 = new ArrayList<List<Map<String,Object>>>();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
for(int i=0;i<yColumnNames.length;i++) {
params.put("yColumn", yColumnNames[i]);
List<Map<String, Object>> result = peicaixinxiService.selectValue(params, ew);
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
result2.add(result);
}
return R.ok().put("data", result2);
}
/**
* (按值统计)时间统计类型
*/
@RequestMapping("/value/{xColumnName}/{yColumnName}/{timeStatType}")
public R valueDay(@PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName, @PathVariable("timeStatType") String timeStatType,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("yColumn", yColumnName);
params.put("timeStatType", timeStatType);
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
List<Map<String, Object>> result = peicaixinxiService.selectTimeStatValue(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* (按值统计)时间统计类型(多)
*/
@RequestMapping("/valueMul/{xColumnName}/{timeStatType}")
public R valueMulDay(@PathVariable("xColumnName") String xColumnName, @PathVariable("timeStatType") String timeStatType,@RequestParam String yColumnNameMul,HttpServletRequest request) {
String[] yColumnNames = yColumnNameMul.split(",");
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("timeStatType", timeStatType);
List<List<Map<String, Object>>> result2 = new ArrayList<List<Map<String,Object>>>();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
for(int i=0;i<yColumnNames.length;i++) {
params.put("yColumn", yColumnNames[i]);
List<Map<String, Object>> result = peicaixinxiService.selectTimeStatValue(params, ew);
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
result2.add(result);
}
return R.ok().put("data", result2);
}
/**
* 分组统计
*/
@RequestMapping("/group/{columnName}")
public R group(@PathVariable("columnName") String columnName,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("column", columnName);
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
List<Map<String, Object>> result = peicaixinxiService.selectGroup(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* 总数量
*/
@RequestMapping("/count")
public R count(@RequestParam Map<String, Object> params,PeicaixinxiEntity peicaixinxi, HttpServletRequest request){
EntityWrapper<PeicaixinxiEntity> ew = new EntityWrapper<PeicaixinxiEntity>();
int count = peicaixinxiService.selectCount(MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, peicaixinxi), params), params));
return R.ok().put("data", count);
}
}
5.2 配菜Service模块
package com.service;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.utils.PageUtils;
import com.entity.PeicaixinxiEntity;
import java.util.List;
import java.util.Map;
import com.entity.vo.PeicaixinxiVO;
import org.apache.ibatis.annotations.Param;
import com.entity.view.PeicaixinxiView;
/**
* 配菜信息
*
* @author
* @email
*/
public interface PeicaixinxiService extends IService<PeicaixinxiEntity> {
PageUtils queryPage(Map<String, Object> params);
List<PeicaixinxiVO> selectListVO(Wrapper<PeicaixinxiEntity> wrapper);
PeicaixinxiVO selectVO(@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
List<PeicaixinxiView> selectListView(Wrapper<PeicaixinxiEntity> wrapper);
PeicaixinxiView selectView(@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
PageUtils queryPage(Map<String, Object> params,Wrapper<PeicaixinxiEntity> wrapper);
List<Map<String, Object>> selectValue(Map<String, Object> params,Wrapper<PeicaixinxiEntity> wrapper);
List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,Wrapper<PeicaixinxiEntity> wrapper);
List<Map<String, Object>> selectGroup(Map<String, Object> params,Wrapper<PeicaixinxiEntity> wrapper);
}
5.3 配菜ServiceImpl模块
package com.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.List;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.utils.PageUtils;
import com.utils.Query;
import com.dao.PeicaixinxiDao;
import com.entity.PeicaixinxiEntity;
import com.service.PeicaixinxiService;
import com.entity.vo.PeicaixinxiVO;
import com.entity.view.PeicaixinxiView;
@Service("peicaixinxiService")
public class PeicaixinxiServiceImpl extends ServiceImpl<PeicaixinxiDao, PeicaixinxiEntity> implements PeicaixinxiService {
@Override
public PageUtils queryPage(Map<String, Object> params) {
Page<PeicaixinxiEntity> page = this.selectPage(
new Query<PeicaixinxiEntity>(params).getPage(),
new EntityWrapper<PeicaixinxiEntity>()
);
return new PageUtils(page);
}
@Override
public PageUtils queryPage(Map<String, Object> params, Wrapper<PeicaixinxiEntity> wrapper) {
Page<PeicaixinxiView> page =new Query<PeicaixinxiView>(params).getPage();
page.setRecords(baseMapper.selectListView(page,wrapper));
PageUtils pageUtil = new PageUtils(page);
return pageUtil;
}
@Override
public List<PeicaixinxiVO> selectListVO(Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectListVO(wrapper);
}
@Override
public PeicaixinxiVO selectVO(Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectVO(wrapper);
}
@Override
public List<PeicaixinxiView> selectListView(Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectListView(wrapper);
}
@Override
public PeicaixinxiView selectView(Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectView(wrapper);
}
@Override
public List<Map<String, Object>> selectValue(Map<String, Object> params, Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectValue(params, wrapper);
}
@Override
public List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params, Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectTimeStatValue(params, wrapper);
}
@Override
public List<Map<String, Object>> selectGroup(Map<String, Object> params, Wrapper<PeicaixinxiEntity> wrapper) {
return baseMapper.selectGroup(params, wrapper);
}
}
5.4 配菜Dao模块
package com.dao;
import com.entity.PeicaixinxiEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.apache.ibatis.annotations.Param;
import com.entity.vo.PeicaixinxiVO;
import com.entity.view.PeicaixinxiView;
/**
* 配菜信息
*
* @author
* @email
*/
public interface PeicaixinxiDao extends BaseMapper<PeicaixinxiEntity> {
List<PeicaixinxiVO> selectListVO(@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
PeicaixinxiVO selectVO(@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
List<PeicaixinxiView> selectListView(@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
List<PeicaixinxiView> selectListView(Pagination page,@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
PeicaixinxiView selectView(@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
List<Map<String, Object>> selectValue(@Param("params") Map<String, Object> params,@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
List<Map<String, Object>> selectTimeStatValue(@Param("params") Map<String, Object> params,@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
List<Map<String, Object>> selectGroup(@Param("params") Map<String, Object> params,@Param("ew") Wrapper<PeicaixinxiEntity> wrapper);
}
6、论文目录结构
摘要... I
Abstract... II
1 绪论... 1
1.1 项目简介... 1
1.2 调查研究... 1
1.2.1 研究背景及意义... 1
1.2.2 国内外研究现状... 2
1.2.3 研究主要内容... 2
1.3 论文的章节安排... 3
2 系统相关技术介绍... 4
2.1 Java语言... 4
2.2 SpringBoot框架... 4
2.3 Vue框架... 4
2.4 MySQL数据库... 4
3 系统需求分析... 6
3.1 可行性分析... 6
3.1.1 技术可行性... 6
3.1.2 经济可行性... 6
3.1.3 操作可行性... 6
3.2 系统功能需求... 6
3.2.1 用户端功能需求... 6
3.2.2 XX端功能需求... 6
3.2.3 管理员端功能需求... 6
3.3 系统性能需求... 6
4 系统总体设计... 7
4.1 系统总体架构设计... 7
4.2 系统的功能设计... 7
4.3 数据库设计... 7
4.3.1 概念设计E-R图... 7
4.3.2 逻辑设计关系模式... 7
4.3.3 数据库物理设计... 7
5 系统详细实现... 14
5.1 系统实现环境... 14
5.2 用户端... 14
5.2.1 登录页面... 14
5.2.2 注册页面... 14
5.2.3 XXXX页面... 14
5.2.4 XXXX页面... 14
5.2.5 XXXX页面... 14
5.3 XXXX端... 15
5.3.1 XXXX页面... 15
5.3.2 XXXX页面... 15
5.3.3 XXXX页面... 15
5.3.4 XXXX页面... 15
5.4 管理端... 15
5.4.1 用户管理页面... 15
5.4.2 XXXX页面... 15
5.4.3 XXXX页面... 16
5.4.4 XXXX页面... 16
6 系统测试... 16
6.1 测试目的... 16
6.2 测试方法... 16
6.3 测试用例... 16
6.3.1 XXXX测试... 16
6.3.2 XXXX测试... 16
6.4 测试结果... 16
结论... 17
参考文献... 18
致谢... 19
更多源码:
7、源码获取
感谢大家的阅读,如有不懂的问题可以评论区交流或私聊!
喜欢文章可以点赞、收藏、关注、评论啦
→下方联系方式获取源码←