系统使用技术:SSM
前端技术:bootstrap,js,css等
开发工具:idea
数据库:mysql5.7
项目介绍:
该系统采用SSM整合开发,数据层为MyBatis,mysql数据库,具有完整的业务逻辑。功能包含:仓库管理、分配管理员、供应商维护、客户维护、货物的出入库操作、日志管理、各种信息的批量导入导出操作等。
部分功能展示:
下面我们来看看部分相关功能。
管理员首页:
首页
可以选择库存、进行入库、出库
登录
输入用户ID和密码登录
库存信息
查看库存信息
出入库记录
查看出入库信息
货物入库
可以选择供应商,以及入库货物,进行入库
货物出库
选择客户或者货物进行出库信息
供应商管理
对供应商进行操作
货物信息
对货物进行操作
客户信息
对客户信息进行操作
库存信息
对库存进行操作
修改密码
对密码修改
部分代码:
/** * 通用的记录查询 * * @param searchType 查询类型 * @param keyWord 查询关键字 * @param offset 分页偏移值 * @param limit 分页大小 * @return 返回一个 Map ,包含所有符合要求的查询结果,以及记录的条数 */ private Map<String, Object> query(String searchType, String keyWord, int offset, int limit) throws GoodsManageServiceException { Map<String, Object> queryResult = null; switch (searchType) { case SEARCH_BY_ID: if (StringUtils.isNumeric(keyWord)) queryResult = goodsManageService.selectById(Integer.valueOf(keyWord)); break; case SEARCH_BY_NAME: queryResult = goodsManageService.selectByName(keyWord); break; case SEARCH_ALL: queryResult = goodsManageService.selectAll(offset, limit); break; default: // do other thing break; } return queryResult; } /** * 搜索货物信息 * * @param searchType 搜索类型 * @param offset 如有多条记录时分页的偏移值 * @param limit 如有多条记录时分页的大小 * @param keyWord 搜索的关键字 * @return 返回所有符合要求的记录 */ @SuppressWarnings("unchecked") @RequestMapping(value = "getGoodsList", method = RequestMethod.GET) public @ResponseBody Map<String, Object> getGoodsList(@RequestParam("searchType") String searchType, @RequestParam("offset") int offset, @RequestParam("limit") int limit, @RequestParam("keyWord") String keyWord) throws GoodsManageServiceException { // 初始化 Response Response responseContent = responseUtil.newResponseInstance(); List<Supplier> rows = null; long total = 0; // 查询 Map<String, Object> queryResult = query(searchType, keyWord, offset, limit); if (queryResult != null) { rows = (List<Supplier>) queryResult.get("data"); total = (long) queryResult.get("total"); } // 设置 Response responseContent.setCustomerInfo("rows", rows); responseContent.setResponseTotal(total); return responseContent.generateResponse(); }
以上就是部分功能展示,从整体上来看,本系统功能是十分完整的,界面设计简洁大方,交互友好,数据库设计也很合理,规模适中,比较适合毕业设计和课程设计的相关应用。