專案介紹:
本系統是2020年4月原創的專案,課題新穎,技術采用最新的SpringBoot與mybatis,具體功能如下,
專案技術:
技術:SpringBoot,Mybatis,前端框架layui
開發工具:idea
資料庫:mysql 5.7
JDK版本:jdk1.8
服務器:tomcat8
功能概述:
系統共分為管理員(藥店店長之類的)、員工兩種角色
管理員:
登錄注冊
個人資訊管理:查看個人資訊,修改
管理員管理:新增管理員,查看
員工管理:新增員工,修改,查看,洗掉
供貨商管理:新增供貨商、修改、查看、洗掉
藥品資訊管理:對藥品各種資訊的增、刪、改、查
采購管理:采購藥品的訂單查詢
銷售管理:銷售訂單查詢
公告管理:新增公告,修改,查看,洗掉
員工:登錄注冊
個人資訊管理:查看個人資訊,修改
藥品資訊管理:對藥品各種資訊的增、刪、改、查
采購管理:采購藥品的訂單生成(訂單里包含供貨商資訊、采購日期、藥品資訊、訂單號...)
銷售管理:主要功能:銷售訂單的生成(訂單里包含客戶姓名、藥品資訊...)
公告管理:查看
資料庫設計:

部分功能展示:
登錄頁面

管理員首頁

藥品管理
維護藥品資訊

添加藥品

供應商管理
維護供應商資訊

公告管理
維護公告資訊

員工管理
維護員工資訊

員工采購

員工銷售維護

部分代碼:
/**
* 分頁查詢
* pageIndex 當前頁碼
* pageSize 顯示條數
*/
@RequestMapping(value = "/findMedicine")
public String findMedicine(Integer pageIndex, Integer pageSize, Model model,HttpServletRequest request) {
HttpSession session = request.getSession();
if(session.getAttribute("ad") == null){
session.setAttribute("msg", "對不起,請登錄!");
return "login";
}
PageInfo<Medicine> pageList = medicineService.findPageInfo(pageIndex,pageSize);
List<Supplier> supplierList = supplierService.getAll();
model.addAttribute("pageList",pageList);
model.addAttribute("supplierList",supplierList);
return "MedicineList";
}
/**
* 添加
*/
@RequestMapping(value = "/addMedicine" ,method = RequestMethod.POST)
@ResponseBody
public String addMedicine( @RequestBody Medicine medicine) {
Supplier supplierById = supplierService.findSupplierById(Integer.parseInt(medicine.getSid()));
medicine.setSname(supplierById.getName());
int d = medicineService.addMedicine(medicine);
return "MedicineList";
}
/**
* 洗掉
*/
@RequestMapping( "/deleteMedicine")
@ResponseBody
public String deleteMedicine(Integer id) {
int d = medicineService.deleteMedicine(id);
return "MedicineList";
}
以上就是部分功能展示,從整體上來看,本系統功能是十分完整的,而且也與當前的熱點話題關聯,界面設計簡潔大方,互動友好,資料庫設計也很合理,規模適中,比較適合畢業設計和課程設計的相關應用,
好了,今天就到這兒吧,小伙伴們點贊、收藏、評論,一鍵三連走起呀,下期見~~
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/337677.html
標籤:其他
上一篇:浙政釘 前端 對接流程(小程式)
