├── src └── main │ ├── webapp │ ├── upload │ │ ├── test.txt │ │ ├── 1610418367297.jpg │ │ ├── shangpinxinxi_shangpintupian1.jpg │ │ ├── shangpinxinxi_shangpintupian2.jpg │ │ ├── shangpinxinxi_shangpintupian3.jpg │ │ ├── shangpinxinxi_shangpintupian4.jpg │ │ ├── shangpinxinxi_shangpintupian5.jpg │ │ └── shangpinxinxi_shangpintupian6.jpg │ ├── admin │ │ ├── src │ │ │ ├── store │ │ │ │ └── store.js │ │ │ ├── assets │ │ │ │ ├── img │ │ │ │ │ ├── bg.jpg │ │ │ │ │ ├── 404.png │ │ │ │ │ ├── logo.png │ │ │ │ │ ├── role.png │ │ │ │ │ ├── avator.png │ │ │ │ │ ├── captcha.jpg │ │ │ │ │ ├── login.png │ │ │ │ │ ├── password.png │ │ │ │ │ ├── username.png │ │ │ │ │ └── test │ │ │ │ │ │ ├── jianshe.png │ │ │ │ │ │ ├── nongye.png │ │ │ │ │ │ ├── weixin.png │ │ │ │ │ │ ├── jiaotong.png │ │ │ │ │ │ ├── zhifubao.png │ │ │ │ │ │ └── zhongguo.png │ │ │ │ └── css │ │ │ │ │ ├── element-variables.scss │ │ │ │ │ └── style.scss │ │ │ ├── icons │ │ │ │ ├── svg │ │ │ │ │ ├── chart.svg │ │ │ │ │ ├── size.svg │ │ │ │ │ ├── sender.svg │ │ │ │ │ ├── table.svg │ │ │ │ │ ├── link.svg │ │ │ │ │ ├── component.svg │ │ │ │ │ ├── code.svg │ │ │ │ │ ├── money.svg │ │ │ │ │ ├── svg │ │ │ │ │ │ ├── code.svg │ │ │ │ │ │ ├── email.svg │ │ │ │ │ │ ├── documentation.svg │ │ │ │ │ │ ├── task.svg │ │ │ │ │ │ ├── menu.svg │ │ │ │ │ │ ├── traceabilityList.svg │ │ │ │ │ │ ├── user.svg │ │ │ │ │ │ ├── user0.svg │ │ │ │ │ │ ├── harvestBatch.svg │ │ │ │ │ │ ├── pests.svg │ │ │ │ │ │ ├── video.svg │ │ │ │ │ │ ├── traceabilityStyle.svg │ │ │ │ │ │ ├── harvestManage.svg │ │ │ │ │ │ ├── password.svg │ │ │ │ │ │ ├── warnings.svg │ │ │ │ │ │ ├── inspection.svg │ │ │ │ │ │ ├── financeBudget.svg │ │ │ │ │ │ ├── harvestDetection.svg │ │ │ │ │ │ ├── finance.svg │ │ │ │ │ │ ├── source.svg │ │ │ │ │ │ ├── retroactiveCoding.svg │ │ │ │ │ │ ├── pesticideResidue.svg │ │ │ │ │ │ ├── order.svg │ │ │ │ │ │ ├── monitorEquipment.svg │ │ │ │ │ │ ├── traceability.svg │ │ │ │ │ │ ├── peoples.svg │ │ │ │ │ │ ├── phone.svg │ │ │ │ │ │ ├── board.svg │ │ │ │ │ │ ├── AIDeviceLayout.svg │ │ │ │ │ │ ├── internet.svg │ │ │ │ │ │ ├── deviceMonitorData.svg │ │ │ │ │ │ ├── videoKey.svg │ │ │ │ │ │ ├── mainSystem.svg │ │ │ │ │ │ ├── AI.svg │ │ │ │ │ │ ├── farmingProject.svg │ │ │ │ │ │ ├── EIM.svg │ │ │ │ │ │ ├── company.svg │ │ │ │ │ │ ├── heavyMetalDetection.svg │ │ │ │ │ │ ├── harvestWorks.svg │ │ │ │ │ │ ├── validCode.svg │ │ │ │ │ │ ├── firms.svg │ │ │ │ │ │ ├── tempFarm.svg │ │ │ │ │ │ ├── VIP.svg │ │ │ │ │ │ ├── financeReality.svg │ │ │ │ │ │ ├── home.svg │ │ │ │ │ │ ├── diseasesinsects.svg │ │ │ │ │ │ ├── environmental.svg │ │ │ │ │ │ ├── sourceActive.svg │ │ │ │ │ │ ├── ┐┤░х╣▄└э.svg │ │ │ │ │ │ ├── batch.svg │ │ │ │ │ │ ├── scheme.svg │ │ │ │ │ │ ├── dashboard.svg │ │ │ │ │ │ ├── board1.svg │ │ │ │ │ │ ├── log.svg │ │ │ │ │ │ ├── eye-open.svg │ │ │ │ │ │ ├── mainSystemActive.svg │ │ │ │ │ │ ├── agricultureRegister.svg │ │ │ │ │ │ ├── base.svg │ │ │ │ │ │ ├── internetActive.svg │ │ │ │ │ │ ├── dataLack.svg │ │ │ │ │ │ ├── vipCustomized.svg │ │ │ │ │ │ ├── crop.svg │ │ │ │ │ │ ├── workOrder.svg │ │ │ │ │ │ ├── firm.svg │ │ │ │ │ │ ├── news.svg │ │ │ │ │ │ ├── residual.svg │ │ │ │ │ │ ├── dataAbnormal.svg │ │ │ │ │ │ ├── boardConfig.svg │ │ │ │ │ │ ├── cfg.svg │ │ │ │ │ │ ├── system.svg │ │ │ │ │ │ ├── videoEquipment.svg │ │ │ │ │ │ └── plant.svg │ │ │ │ │ ├── documentation.svg │ │ │ │ │ ├── email.svg │ │ │ │ │ ├── menu.svg │ │ │ │ │ ├── task.svg │ │ │ │ │ ├── fullscreen.svg │ │ │ │ │ ├── druid.svg │ │ │ │ │ ├── drag.svg │ │ │ │ │ ├── server.svg │ │ │ │ │ ├── user.svg │ │ │ │ │ ├── user0.svg │ │ │ │ │ ├── monitor.svg │ │ │ │ │ ├── lock.svg │ │ │ │ │ ├── excel.svg │ │ │ │ │ ├── nested.svg │ │ │ │ │ ├── nested0.svg │ │ │ │ │ ├── search.svg │ │ │ │ │ ├── form.svg │ │ │ │ │ ├── list.svg │ │ │ │ │ ├── build.svg │ │ │ │ │ ├── education.svg │ │ │ │ │ ├── message.svg │ │ │ │ │ ├── theme.svg │ │ │ │ │ ├── password.svg │ │ │ │ │ ├── password0.svg │ │ │ │ │ ├── star.svg │ │ │ │ │ ├── download.svg │ │ │ │ │ ├── tab.svg │ │ │ │ │ ├── edit.svg │ │ │ │ │ ├── icon.svg │ │ │ │ │ ├── table0.svg │ │ │ │ │ ├── clipboard.svg │ │ │ │ │ ├── template.svg │ │ │ │ │ ├── file.svg │ │ │ │ │ ├── peoples.svg │ │ │ │ │ ├── phone.svg │ │ │ │ │ ├── tree-table.svg │ │ │ │ │ ├── date.svg │ │ │ │ │ ├── post.svg │ │ │ │ │ ├── operation.svg │ │ │ │ │ ├── channel.svg │ │ │ │ │ ├── validCode.svg │ │ │ │ │ ├── bug.svg │ │ │ │ │ ├── logininfor.svg │ │ │ │ │ ├── skill.svg │ │ │ │ │ ├── swagger.svg │ │ │ │ │ ├── 404.svg │ │ │ │ │ ├── international.svg │ │ │ │ │ ├── dashboard.svg │ │ │ │ │ ├── language.svg │ │ │ │ │ ├── shoppingCard.svg │ │ │ │ │ ├── log.svg │ │ │ │ │ ├── eye-open.svg │ │ │ │ │ ├── dept.svg │ │ │ │ │ ├── articleEdit.svg │ │ │ │ │ ├── wechat.svg │ │ │ │ │ ├── job.svg │ │ │ │ │ ├── people.svg │ │ │ │ │ ├── tool.svg │ │ │ │ │ ├── zip.svg │ │ │ │ │ ├── pdf.svg │ │ │ │ │ ├── cfg.svg │ │ │ │ │ ├── exit-fullscreen.svg │ │ │ │ │ └── system.svg │ │ │ │ ├── index.js │ │ │ │ └── svgo.yml │ │ │ ├── utils │ │ │ │ ├── i18n.js │ │ │ │ ├── base.js │ │ │ │ ├── api.js │ │ │ │ ├── storage.js │ │ │ │ ├── http.js │ │ │ │ ├── validate.js │ │ │ │ └── utils.js │ │ │ ├── App.vue │ │ │ ├── views │ │ │ │ ├── index.vue │ │ │ │ ├── 404.vue │ │ │ │ └── home.vue │ │ │ └── components │ │ │ │ ├── SvgIcon │ │ │ │ └── index.vue │ │ │ │ ├── home │ │ │ │ ├── HomeProgress.vue │ │ │ │ └── HomeCard.vue │ │ │ │ └── index │ │ │ │ ├── IndexAsideSub.vue │ │ │ │ ├── IndexAside.vue │ │ │ │ └── IndexHeader.vue.bak │ │ ├── 1-install.bat │ │ ├── 2-run.bat │ │ ├── babel.config.js │ │ ├── public │ │ │ ├── favicon.ico │ │ │ └── index.html │ │ ├── .gitignore │ │ ├── package.json │ │ └── vue.config.js │ └── resources │ │ └── bootstrap │ │ └── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── resources │ ├── config.properties │ ├── spring │ │ └── spring.xml │ ├── log4j.properties │ └── mybatis │ │ └── mybatis-config.xml │ └── java │ └── com │ ├── dao │ ├── ConfigDao.java │ ├── PandianDao.java │ ├── OperatelogDao.java │ ├── UserDao.java │ ├── TokenDao.java │ ├── CommonDao.java │ ├── ShanghuDao.java │ ├── RukujiluDao.java │ ├── ChukujiluDao.java │ ├── ChukushenqingDao.java │ ├── ShangpinfenleiDao.java │ └── ShangpinxinxiDao.java │ ├── annotation │ ├── IgnoreAuth.java │ ├── LoginUser.java │ └── APPLoginUser.java │ ├── utils │ ├── CommonUtil.java │ ├── FileUtil.java │ ├── JQPageInfo.java │ ├── R.java │ ├── SQLFilter.java │ ├── HttpClientUtils.java │ ├── ValidatorUtils.java │ └── SpringContextUtils.java │ ├── config │ └── MyMetaObjectHandler.java │ ├── model │ └── enums │ │ └── TypeEnum.java │ └── controller │ └── OperatelogController.java ├── screenshot ├── 1.png ├── 10.png ├── 11.png ├── 12.png ├── 13.png ├── 14.png ├── 15.png ├── 16.png ├── 17.png ├── 18.png ├── 19.png ├── 2.png ├── 20.png ├── 21.png ├── 22.png ├── 23.png ├── 24.png ├── 25.png ├── 26.png ├── 27.png ├── 28.png ├── 29.png ├── 3.png ├── 4.png ├── 5.png ├── 6.png ├── 7.png ├── 8.png └── 9.png ├── .gitignore └── README.md /src/main/webapp/upload/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/store/store.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/1-install.bat: -------------------------------------------------------------------------------- 1 | cnpm install -------------------------------------------------------------------------------- /src/main/webapp/admin/2-run.bat: -------------------------------------------------------------------------------- 1 | cnpm run serve -------------------------------------------------------------------------------- /screenshot/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/1.png -------------------------------------------------------------------------------- /screenshot/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/10.png -------------------------------------------------------------------------------- /screenshot/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/11.png -------------------------------------------------------------------------------- /screenshot/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/12.png -------------------------------------------------------------------------------- /screenshot/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/13.png -------------------------------------------------------------------------------- /screenshot/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/14.png -------------------------------------------------------------------------------- /screenshot/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/15.png -------------------------------------------------------------------------------- /screenshot/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/16.png -------------------------------------------------------------------------------- /screenshot/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/17.png -------------------------------------------------------------------------------- /screenshot/18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/18.png -------------------------------------------------------------------------------- /screenshot/19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/19.png -------------------------------------------------------------------------------- /screenshot/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/2.png -------------------------------------------------------------------------------- /screenshot/20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/20.png -------------------------------------------------------------------------------- /screenshot/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/21.png -------------------------------------------------------------------------------- /screenshot/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/22.png -------------------------------------------------------------------------------- /screenshot/23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/23.png -------------------------------------------------------------------------------- /screenshot/24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/24.png -------------------------------------------------------------------------------- /screenshot/25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/25.png -------------------------------------------------------------------------------- /screenshot/26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/26.png -------------------------------------------------------------------------------- /screenshot/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/27.png -------------------------------------------------------------------------------- /screenshot/28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/28.png -------------------------------------------------------------------------------- /screenshot/29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/29.png -------------------------------------------------------------------------------- /screenshot/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/3.png -------------------------------------------------------------------------------- /screenshot/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/4.png -------------------------------------------------------------------------------- /screenshot/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/5.png -------------------------------------------------------------------------------- /screenshot/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/6.png -------------------------------------------------------------------------------- /screenshot/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/7.png -------------------------------------------------------------------------------- /screenshot/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/8.png -------------------------------------------------------------------------------- /screenshot/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/screenshot/9.png -------------------------------------------------------------------------------- /src/main/webapp/admin/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /src/main/webapp/admin/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/public/favicon.ico -------------------------------------------------------------------------------- /src/main/webapp/upload/1610418367297.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/1610418367297.jpg -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/404.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/logo.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/role.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/role.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/avator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/avator.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/captcha.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/captcha.jpg -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/login.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/password.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/username.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/username.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/test/jianshe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/test/jianshe.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/test/nongye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/test/nongye.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/test/weixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/test/weixin.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/test/jiaotong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/test/jiaotong.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/test/zhifubao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/test/zhifubao.png -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/img/test/zhongguo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/admin/src/assets/img/test/zhongguo.png -------------------------------------------------------------------------------- /src/main/webapp/upload/shangpinxinxi_shangpintupian1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/shangpinxinxi_shangpintupian1.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/shangpinxinxi_shangpintupian2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/shangpinxinxi_shangpintupian2.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/shangpinxinxi_shangpintupian3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/shangpinxinxi_shangpintupian3.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/shangpinxinxi_shangpintupian4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/shangpinxinxi_shangpintupian4.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/shangpinxinxi_shangpintupian5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/shangpinxinxi_shangpintupian5.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/shangpinxinxi_shangpintupian6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/upload/shangpinxinxi_shangpintupian6.jpg -------------------------------------------------------------------------------- /src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/resources/config.properties: -------------------------------------------------------------------------------- 1 | validationQuery=SELECT 1 2 | 3 | jdbc_url=jdbc:mysql://127.0.0.1:3306/no018_inventory?useUnicode=true&characterEncoding=UTF-8&tinyInt1isBit=false 4 | jdbc_username=root 5 | jdbc_password=1025 6 | -------------------------------------------------------------------------------- /src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Descartes007/no025_InventoryManagementSys/HEAD/src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/chart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/size.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/sender.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/dao/ConfigDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import com.entity.ConfigEntity; 6 | 7 | /** 8 | * 配置 9 | */ 10 | public interface ConfigDao extends BaseMapper { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/IgnoreAuth.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * 忽略Token验证 7 | */ 8 | @Target(ElementType.METHOD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | @Documented 11 | public @interface IgnoreAuth { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/table.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/link.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/component.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/dao/PandianDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.baomidou.mybatisplus.mapper.BaseMapper; 4 | import com.entity.PandianEntity; 5 | 6 | 7 | /** 8 | * 库存盘点 9 | * 10 | * @author 11 | * @email 12 | * @date 2023-04-12 10:13:58 13 | */ 14 | public interface PandianDao extends BaseMapper { 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/dao/OperatelogDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.baomidou.mybatisplus.mapper.BaseMapper; 4 | import com.entity.OperatelogEntity; 5 | 6 | 7 | /** 8 | * 日志记录 9 | * 10 | * @author 11 | * @email 12 | * @date 2023-04-12 10:13:58 13 | */ 14 | public interface OperatelogDao extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import SvgIcon from '@/components/SvgIcon'// svg component 3 | 4 | // register globally 5 | Vue.component('svg-icon', SvgIcon) 6 | 7 | const req = require.context('./svg/svg', false, /\.svg$/) 8 | const requireAll = requireContext => requireContext.keys().map(requireContext) 9 | requireAll(req) 10 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/code.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | **/*.log 8 | 9 | tests/**/coverage/ 10 | tests/e2e/reports 11 | selenium-debug.log 12 | 13 | # Editor directories and files 14 | .idea 15 | .vscode 16 | *.suo 17 | *.ntvs* 18 | *.njsproj 19 | *.sln 20 | *.local 21 | 22 | package-lock.json 23 | yarn.lock 24 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/money.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/code.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/css/element-variables.scss: -------------------------------------------------------------------------------- 1 | /* 改变主题色变量 */ 2 | $--color-primary: #00c292 !default; 3 | $--color-success: #67c23a !default; 4 | $--color-warning: #e6a23c !default; 5 | $--color-danger: #f56c6c !default; 6 | $--color-info: #909399 !default; 7 | /* 改变 icon 字体路径变量,必需 */ 8 | $--font-path: '~element-ui/lib/theme-chalk/fonts'; 9 | @import "~element-ui/packages/theme-chalk/src/index"; -------------------------------------------------------------------------------- /src/main/java/com/annotation/LoginUser.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * 登录用户信息 10 | */ 11 | @Target(ElementType.PARAMETER) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface LoginUser { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/APPLoginUser.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * 登录用户信息 10 | */ 11 | @Target(ElementType.PARAMETER) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface APPLoginUser { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/documentation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/documentation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/i18n.js: -------------------------------------------------------------------------------- 1 | // translate router.meta.title, be used in breadcrumb sidebar tagsview 2 | export function generateTitle(title) { 3 | const hasKey = this.$te('route.' + title) 4 | 5 | if (hasKey) { 6 | // $t :this method from vue-i18n, inject in @/lang/index.js 7 | const translatedTitle = this.$t('route.' + title) 8 | 9 | return translatedTitle 10 | } 11 | return title 12 | } 13 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/task.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/task.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/fullscreen.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 31 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/druid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svgo.yml: -------------------------------------------------------------------------------- 1 | # replace default config 2 | # 基于svgo对svg文件进行压缩:https://panjiachen.github.io/vue-element-admin-site/zh/feature/script/svgo.html 3 | # multipass: true 4 | # full: true 5 | 6 | plugins: 7 | 8 | # - name 9 | # 10 | # or: 11 | # - name: false 12 | # - name: true 13 | # 14 | # or: 15 | # - name: 16 | # param1: 1 17 | # param2: 2 18 | 19 | - removeAttrs: 20 | attrs: 21 | - 'fill' 22 | - 'fill-rule' 23 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/base.js: -------------------------------------------------------------------------------- 1 | const base = { 2 | get() { 3 | return { 4 | url : "http://localhost:8080/inventory/", 5 | name: "inventory", 6 | // 退出到首页链接 7 | indexUrl: 'http://localhost:8080/inventory/front/index.html' 8 | }; 9 | }, 10 | getProjectName(){ 11 | return { 12 | projectName: "马格宁超市库存管理信息系统" 13 | } 14 | } 15 | } 16 | export default base 17 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/drag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/api.js: -------------------------------------------------------------------------------- 1 | const api = { 2 | // 积分订单 3 | orderpage: 'orders/page', 4 | orderdelete: 'orders/delete', 5 | orderinfo: 'orders/info/', 6 | ordersave: 'orders/save', 7 | orderupdate: 'orders/update', 8 | // 配置 9 | configpage: 'config/page', 10 | configdelete: 'config/delete', 11 | configinfo: 'config/info/', 12 | configsave: 'config/save', 13 | configupdate: 'config/update' 14 | 15 | } 16 | 17 | export default api 18 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/server.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/traceabilityList.svg: -------------------------------------------------------------------------------- 1 | 溯源配置 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/storage.js: -------------------------------------------------------------------------------- 1 | const storage = { 2 | set(key, value) { 3 | localStorage.setItem(key, JSON.stringify(value)); 4 | }, 5 | get(key) { 6 | return localStorage.getItem(key)?localStorage.getItem(key).replace('"','').replace('"',''):""; 7 | }, 8 | getObj(key) { 9 | return localStorage.getItem(key)?JSON.parse(localStorage.getItem(key)):null; 10 | }, 11 | remove(key) { 12 | localStorage.removeItem(key); 13 | } 14 | } 15 | export default storage; -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/user.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/user0.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/user.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/user0.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/monitor.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/harvestBatch.svg: -------------------------------------------------------------------------------- 1 | 采收批次管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/excel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/pests.svg: -------------------------------------------------------------------------------- 1 | 病虫害反馈 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/video.svg: -------------------------------------------------------------------------------- 1 | 视频云配置sp -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/nested.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/nested0.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/traceabilityStyle.svg: -------------------------------------------------------------------------------- 1 | 溯源管理样式 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/form.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/list.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 11 | import com.entity.UserEntity; 12 | 13 | /** 14 | * 用户 15 | */ 16 | public interface UserDao extends BaseMapper { 17 | 18 | List selectListView(@Param("ew") Wrapper wrapper); 19 | 20 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/build.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/education.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/utils/CommonUtil.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.util.Random; 4 | 5 | public class CommonUtil { 6 | /** 7 | * 获取随机字符串 8 | * 9 | * @param num 10 | * @return 11 | */ 12 | public static String getRandomString(Integer num) { 13 | String base = "abcdefghijklmnopqrstuvwxyz0123456789"; 14 | Random random = new Random(); 15 | StringBuffer sb = new StringBuffer(); 16 | for (int i = 0; i < num; i++) { 17 | int number = random.nextInt(base.length()); 18 | sb.append(base.charAt(number)); 19 | } 20 | return sb.toString(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/webapp/admin/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 后台管理系统 10 | 11 | 12 | 13 | 17 |
18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TokenDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 11 | import com.entity.TokenEntity; 12 | 13 | /** 14 | * token 15 | */ 16 | public interface TokenDao extends BaseMapper { 17 | 18 | List selectListView(@Param("ew") Wrapper wrapper); 19 | 20 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/message.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/theme.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/harvestManage.svg: -------------------------------------------------------------------------------- 1 | 采收管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/password.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/password0.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/password.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/config/MyMetaObjectHandler.java: -------------------------------------------------------------------------------- 1 | package com.config; 2 | 3 | import com.baomidou.mybatisplus.mapper.MetaObjectHandler; 4 | import org.apache.ibatis.reflection.MetaObject; 5 | 6 | import java.util.Date; 7 | 8 | /** 9 | * 数据库自定义填充处理器 10 | */ 11 | public class MyMetaObjectHandler extends MetaObjectHandler { 12 | 13 | @Override 14 | public void insertFill(MetaObject metaObject) { 15 | this.setFieldValByName("ctime", new Date(), metaObject); 16 | } 17 | 18 | @Override 19 | public boolean openUpdateFill() { 20 | return false; 21 | } 22 | 23 | @Override 24 | public void updateFill(MetaObject metaObject) { 25 | // 关闭更新填充、这里不执行 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/star.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/warnings.svg: -------------------------------------------------------------------------------- 1 | 预警阈值 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/download.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/dao/CommonDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | /** 8 | * 通用接口 9 | */ 10 | public interface CommonDao{ 11 | List getOption(Map params); 12 | 13 | Map getFollowByOption(Map params); 14 | 15 | List getFollowByOption2(Map params); 16 | 17 | void sh(Map params); 18 | 19 | int remindCount(Map params); 20 | 21 | Map selectCal(Map params); 22 | 23 | List> selectGroup(Map params); 24 | 25 | List> selectValue(Map params); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/inspection.svg: -------------------------------------------------------------------------------- 1 | 巡视反馈 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/tab.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/edit.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/financeBudget.svg: -------------------------------------------------------------------------------- 1 | 预算统计 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/harvestDetection.svg: -------------------------------------------------------------------------------- 1 | 采收检测标准 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/finance.svg: -------------------------------------------------------------------------------- 1 | 财务管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/views/index.vue: -------------------------------------------------------------------------------- 1 | 10 | 22 | 23 | 33 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/table0.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/clipboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/model/enums/TypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.model.enums; 2 | 3 | import java.io.Serializable; 4 | 5 | import com.baomidou.mybatisplus.enums.IEnum; 6 | 7 | /** 8 | * 必须现在 IEnum 配置 该包扫描自动注入,查看文件 spring-mybatis.xml 参数 typeEnumsPackage 9 | */ 10 | public enum TypeEnum implements IEnum { 11 | DISABLED(0, "禁用"), 12 | NORMAL(1, "正常"); 13 | 14 | private final int value; 15 | private final String desc; 16 | 17 | TypeEnum(final int value, final String desc) { 18 | this.value = value; 19 | this.desc = desc; 20 | } 21 | 22 | @Override 23 | public Serializable getValue() { 24 | return this.value; 25 | } 26 | 27 | // Jackson 注解为 JsonValue 返回中文 json 描述 28 | public String getDesc() { 29 | return this.desc; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/source.svg: -------------------------------------------------------------------------------- 1 | 溯源管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/template.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/retroactiveCoding.svg: -------------------------------------------------------------------------------- 1 | 追溯打码 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ###################################################################### 2 | # Build Tools 3 | 4 | .gradle 5 | /build/ 6 | !gradle/wrapper/gradle-wrapper.jar 7 | 8 | target/ 9 | !.mvn/wrapper/maven-wrapper.jar 10 | 11 | ###################################################################### 12 | # IDE 13 | 14 | ### STS ### 15 | .apt_generated 16 | .classpath 17 | .factorypath 18 | .project 19 | .settings 20 | .springBeans 21 | 22 | ### IntelliJ IDEA ### 23 | .idea 24 | *.iws 25 | *.iml 26 | *.ipr 27 | 28 | ### NetBeans ### 29 | nbproject/private/ 30 | build/* 31 | nbbuild/ 32 | dist/ 33 | nbdist/ 34 | .nb-gradle/ 35 | 36 | ###################################################################### 37 | # Others 38 | *.log 39 | *.xml.versionsBackup 40 | *.swp 41 | 42 | !*/build/*.java 43 | !*/build/*.html 44 | !*/build/*.xml 45 | -------------------------------------------------------------------------------- /src/main/java/com/utils/FileUtil.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.io.ByteArrayOutputStream; 4 | import java.io.File; 5 | import java.io.FileInputStream; 6 | import java.io.IOException; 7 | import java.io.InputStream; 8 | 9 | /** 10 | * @author yangliyuan 11 | * @version 创建时间:2020年2月7日 下午8:01:14 12 | * 类说明 : 13 | */ 14 | 15 | public class FileUtil { 16 | public static byte[] FileToByte(File file) throws IOException { 17 | // 将数据转为流 18 | @SuppressWarnings("resource") 19 | InputStream content = new FileInputStream(file); 20 | ByteArrayOutputStream swapStream = new ByteArrayOutputStream(); 21 | byte[] buff = new byte[100]; 22 | int rc = 0; 23 | while ((rc = content.read(buff, 0, 100)) > 0) { 24 | swapStream.write(buff, 0, rc); 25 | } 26 | // 获得二进制数组 27 | return swapStream.toByteArray(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/pesticideResidue.svg: -------------------------------------------------------------------------------- 1 | 农残检测项 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/file.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/order.svg: -------------------------------------------------------------------------------- 1 | 工单总览 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/peoples.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/monitorEquipment.svg: -------------------------------------------------------------------------------- 1 | 监测设备 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/traceability.svg: -------------------------------------------------------------------------------- 1 | 溯源管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/peoples.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/phone.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/phone.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/board.svg: -------------------------------------------------------------------------------- 1 | 看板管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/http.js: -------------------------------------------------------------------------------- 1 | import axios from 'axios' 2 | import router from '@/router/router-static' 3 | import storage from '@/utils/storage' 4 | 5 | const http = axios.create({ 6 | timeout: 1000 * 86400, 7 | withCredentials: true, 8 | baseURL: '/inventory', 9 | headers: { 10 | 'Content-Type': 'application/json; charset=utf-8' 11 | } 12 | }) 13 | // 请求拦截 14 | http.interceptors.request.use(config => { 15 | config.headers['Token'] = storage.get('Token') // 请求头带上token 16 | return config 17 | }, error => { 18 | return Promise.reject(error) 19 | }) 20 | // 响应拦截 21 | http.interceptors.response.use(response => { 22 | if (response.data && response.data.code === 401) { // 401, token失效 23 | router.push({ name: 'login' }) 24 | } 25 | return response 26 | }, error => { 27 | return Promise.reject(error) 28 | }) 29 | export default http -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/AIDeviceLayout.svg: -------------------------------------------------------------------------------- 1 | 物联网配置 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/internet.svg: -------------------------------------------------------------------------------- 1 | 物联网管理置 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/deviceMonitorData.svg: -------------------------------------------------------------------------------- 1 | 监测数据 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/tree-table.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/components/SvgIcon/index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 34 | 35 | 44 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/date.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/videoKey.svg: -------------------------------------------------------------------------------- 1 | 视频云配置1 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/post.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/resources/spring/spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/operation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/mainSystem.svg: -------------------------------------------------------------------------------- 1 | 主系统 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/AI.svg: -------------------------------------------------------------------------------- 1 | 物联设备 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/farmingProject.svg: -------------------------------------------------------------------------------- 1 | 农事项目 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/EIM.svg: -------------------------------------------------------------------------------- 1 | 企业信息 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/channel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/utils/JQPageInfo.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | public class JQPageInfo{ 4 | private Integer page; 5 | 6 | private Integer limit; 7 | 8 | private String sidx; 9 | 10 | private String order; 11 | 12 | private Integer offset; 13 | 14 | public Integer getPage() { 15 | return page; 16 | } 17 | 18 | public void setPage(Integer page) { 19 | this.page = page; 20 | } 21 | 22 | public Integer getLimit() { 23 | return limit; 24 | } 25 | 26 | public void setLimit(Integer limit) { 27 | this.limit = limit; 28 | } 29 | 30 | public String getSidx() { 31 | return sidx; 32 | } 33 | 34 | public void setSidx(String sidx) { 35 | this.sidx = sidx; 36 | } 37 | 38 | public String getOrder() { 39 | return order; 40 | } 41 | 42 | public void setOrder(String order) { 43 | this.order = order; 44 | } 45 | 46 | public Integer getOffset() { 47 | return offset; 48 | } 49 | 50 | public void setOffset(Integer offset) { 51 | this.offset = offset; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/company.svg: -------------------------------------------------------------------------------- 1 | 基本信息 -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO,CONSOLE,A 2 | log4j.addivity.org.apache=false 3 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender 4 | log4j.appender.CONSOLE.Threshold=INFO 5 | log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss} -%-4r [%t] %-5p %x - %m%n 6 | log4j.appender.CONSOLE.Target=System.out 7 | #log4j.appender.CONSOLE.charset=utf-8 8 | log4j.appender.CONSOLE.encoding=utf-8 9 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout 10 | log4j.appender.A=org.apache.log4j.DailyRollingFileAppender 11 | log4j.appender.A.File=${catalina.home}/logs/yo_log/PurePro_ 12 | log4j.appender.A.DatePattern=yyyy-MM-dd'.log' 13 | log4j.appender.A.layout=org.apache.log4j.PatternLayout 14 | log4j.appender.A.layout.ConversionPattern=[FH_sys] %d{yyyy-MM-dd HH\:mm\:ss} %5p %c{1}\:%L \: %m%n 15 | log4j.logger.java.sql.ResultSet=INFO 16 | log4j.logger.org.apache=INFO 17 | log4j.logger.java.sql.Connection=INFO 18 | log4j.logger.java.sql.Statement=INFO 19 | log4j.logger.java.sql.PreparedStatement=INFO -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/heavyMetalDetection.svg: -------------------------------------------------------------------------------- 1 | 重金属检测项 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/harvestWorks.svg: -------------------------------------------------------------------------------- 1 | 采收检测工单 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/validCode.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/validCode.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/dao/ShanghuDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.ShanghuEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import com.baomidou.mybatisplus.mapper.Wrapper; 7 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 8 | 9 | import org.apache.ibatis.annotations.Param; 10 | import com.entity.vo.ShanghuVO; 11 | import com.entity.view.ShanghuView; 12 | 13 | 14 | /** 15 | * 商户 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-04-12 10:13:58 20 | */ 21 | public interface ShanghuDao extends BaseMapper { 22 | 23 | List selectListVO(@Param("ew") Wrapper wrapper); 24 | 25 | ShanghuVO selectVO(@Param("ew") Wrapper wrapper); 26 | 27 | List selectListView(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 30 | 31 | ShanghuView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/utils/R.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | /** 7 | * 返回数据 8 | */ 9 | public class R extends HashMap { 10 | private static final long serialVersionUID = 1L; 11 | 12 | public R() { 13 | put("code", 0); 14 | } 15 | 16 | public static R error() { 17 | return error(500, "未知异常,请联系管理员"); 18 | } 19 | 20 | public static R error(String msg) { 21 | return error(500, msg); 22 | } 23 | 24 | public static R error(int code, String msg) { 25 | R r = new R(); 26 | r.put("code", code); 27 | r.put("msg", msg); 28 | return r; 29 | } 30 | 31 | public static R ok(String msg) { 32 | R r = new R(); 33 | r.put("msg", msg); 34 | return r; 35 | } 36 | 37 | public static R ok(Map map) { 38 | R r = new R(); 39 | r.putAll(map); 40 | return r; 41 | } 42 | 43 | public static R ok() { 44 | return new R(); 45 | } 46 | 47 | public R put(String key, Object value) { 48 | super.put(key, value); 49 | return this; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/firms.svg: -------------------------------------------------------------------------------- 1 | 厂商管理2 -------------------------------------------------------------------------------- /src/main/java/com/dao/RukujiluDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.RukujiluEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import com.baomidou.mybatisplus.mapper.Wrapper; 7 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 8 | 9 | import org.apache.ibatis.annotations.Param; 10 | import com.entity.vo.RukujiluVO; 11 | import com.entity.view.RukujiluView; 12 | 13 | 14 | /** 15 | * 入库记录 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-04-12 10:13:58 20 | */ 21 | public interface RukujiluDao extends BaseMapper { 22 | 23 | List selectListVO(@Param("ew") Wrapper wrapper); 24 | 25 | RukujiluVO selectVO(@Param("ew") Wrapper wrapper); 26 | 27 | List selectListView(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 30 | 31 | RukujiluView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/bug.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/views/404.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 20 | 21 | 46 | 47 | -------------------------------------------------------------------------------- /src/main/java/com/dao/ChukujiluDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.ChukujiluEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import com.baomidou.mybatisplus.mapper.Wrapper; 7 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 8 | 9 | import org.apache.ibatis.annotations.Param; 10 | import com.entity.vo.ChukujiluVO; 11 | import com.entity.view.ChukujiluView; 12 | 13 | 14 | /** 15 | * 出库记录 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-04-12 10:13:58 20 | */ 21 | public interface ChukujiluDao extends BaseMapper { 22 | 23 | List selectListVO(@Param("ew") Wrapper wrapper); 24 | 25 | ChukujiluVO selectVO(@Param("ew") Wrapper wrapper); 26 | 27 | List selectListView(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 30 | 31 | ChukujiluView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/logininfor.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/tempFarm.svg: -------------------------------------------------------------------------------- 1 | 临时农事管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/assets/css/style.scss: -------------------------------------------------------------------------------- 1 | .form-content { 2 | background: #ffffff; 3 | padding: 10px 10px 0 10px; 4 | } 5 | 6 | .table-content { 7 | background: #ffffff; 8 | padding: 0 10px; 9 | } 10 | 11 | .pagination-content { 12 | margin-top: 10px; 13 | padding-bottom: 10px; 14 | text-align: right; 15 | } 16 | 17 | .detail-form-content { 18 | background: #ffffff; 19 | padding: 10px; 20 | 21 | .el-input { 22 | min-width: 200px; 23 | max-width: 600px; 24 | } 25 | } 26 | 27 | .bg { 28 | position: absolute; 29 | top: 0; 30 | left: 0; 31 | height: 100%; 32 | } 33 | 34 | .login-bg { 35 | background-image: url(../img/bg.jpg); 36 | background-size: 100% 100%; 37 | opacity: 0.9; 38 | } 39 | 40 | .login-form { 41 | position: absolute; 42 | top: 0; 43 | right: 0; 44 | width: 350px; 45 | height: 100%; 46 | background: #ffffff; 47 | padding: 0 60px; 48 | font-size: 18px; 49 | font-weight: bold; 50 | } 51 | 52 | .h1 { 53 | margin-top: 80px; 54 | font-size: 20px; 55 | font-weight: bold; 56 | } 57 | 58 | .btn-login { 59 | margin-top: 50px; 60 | width: 100%; 61 | } -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/VIP.svg: -------------------------------------------------------------------------------- 1 | vip登记 -------------------------------------------------------------------------------- /src/main/java/com/dao/ChukushenqingDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.ChukushenqingEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import com.baomidou.mybatisplus.mapper.Wrapper; 7 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 8 | 9 | import org.apache.ibatis.annotations.Param; 10 | import com.entity.vo.ChukushenqingVO; 11 | import com.entity.view.ChukushenqingView; 12 | 13 | 14 | /** 15 | * 出库申请 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-04-12 10:13:58 20 | */ 21 | public interface ChukushenqingDao extends BaseMapper { 22 | 23 | List selectListVO(@Param("ew") Wrapper wrapper); 24 | 25 | ChukushenqingVO selectVO(@Param("ew") Wrapper wrapper); 26 | 27 | List selectListView(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 30 | 31 | ChukushenqingView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/utils/SQLFilter.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | import org.apache.commons.lang3.StringUtils; 5 | 6 | import com.entity.EIException; 7 | 8 | /** 9 | * SQL过滤 10 | */ 11 | public class SQLFilter { 12 | 13 | /** 14 | * SQL注入过滤 15 | * @param str 待验证的字符串 16 | */ 17 | public static String sqlInject(String str){ 18 | if(StringUtils.isBlank(str)){ 19 | return null; 20 | } 21 | //去掉'|"|;|\字符 22 | str = StringUtils.replace(str, "'", ""); 23 | str = StringUtils.replace(str, "\"", ""); 24 | str = StringUtils.replace(str, ";", ""); 25 | str = StringUtils.replace(str, "\\", ""); 26 | 27 | //转换成小写 28 | str = str.toLowerCase(); 29 | 30 | //非法字符 31 | String[] keywords = {"master", "truncate", "insert", "select", "delete", "update", "declare", "alter", "drop"}; 32 | 33 | //判断是否包含非法字符 34 | for(String keyword : keywords){ 35 | if(str.indexOf(keyword) != -1){ 36 | throw new EIException("包含非法字符"); 37 | } 38 | } 39 | 40 | return str; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/dao/ShangpinfenleiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.ShangpinfenleiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import com.baomidou.mybatisplus.mapper.Wrapper; 7 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 8 | 9 | import org.apache.ibatis.annotations.Param; 10 | import com.entity.vo.ShangpinfenleiVO; 11 | import com.entity.view.ShangpinfenleiView; 12 | 13 | 14 | /** 15 | * 商品分类 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-04-12 10:13:58 20 | */ 21 | public interface ShangpinfenleiDao extends BaseMapper { 22 | 23 | List selectListVO(@Param("ew") Wrapper wrapper); 24 | 25 | ShangpinfenleiVO selectVO(@Param("ew") Wrapper wrapper); 26 | 27 | List selectListView(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 30 | 31 | ShangpinfenleiView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/financeReality.svg: -------------------------------------------------------------------------------- 1 | 实际统计 -------------------------------------------------------------------------------- /src/main/java/com/utils/HttpClientUtils.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.InputStreamReader; 5 | import java.net.HttpURLConnection; 6 | import java.net.URL; 7 | 8 | 9 | /** 10 | * HttpClient工具类 11 | */ 12 | public class HttpClientUtils { 13 | 14 | /** 15 | * @param uri 16 | * @return String 17 | * @description get请求方式 18 | * @author: long.he01 19 | */ 20 | public static String doGet(String uri) { 21 | 22 | StringBuilder result = new StringBuilder(); 23 | try { 24 | String res = ""; 25 | URL url = new URL(uri); 26 | HttpURLConnection conn = (HttpURLConnection) url.openConnection(); 27 | BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8")); 28 | String line; 29 | while ((line = in.readLine()) != null) { 30 | res += line+"\n"; 31 | } 32 | in.close(); 33 | return res; 34 | }catch (Exception e) { 35 | e.printStackTrace(); 36 | return null; 37 | } 38 | 39 | } 40 | 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/skill.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/diseasesinsects.svg: -------------------------------------------------------------------------------- 1 | 病虫害分析 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/environmental.svg: -------------------------------------------------------------------------------- 1 | 基地环境监测 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/swagger.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/utils/ValidatorUtils.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | 5 | import java.util.Set; 6 | 7 | import javax.validation.ConstraintViolation; 8 | import javax.validation.Validation; 9 | import javax.validation.Validator; 10 | 11 | import com.entity.EIException; 12 | 13 | /** 14 | * hibernate-validator校验工具类 15 | */ 16 | public class ValidatorUtils { 17 | private static Validator validator; 18 | 19 | static { 20 | validator = Validation.buildDefaultValidatorFactory().getValidator(); 21 | } 22 | 23 | /** 24 | * 校验对象 25 | * @param object 待校验对象 26 | * @param groups 待校验的组 27 | * @throws EIException 校验不通过,则报EIException异常 28 | */ 29 | public static void validateEntity(Object object, Class... groups) 30 | throws EIException { 31 | Set> constraintViolations = validator.validate(object, groups); 32 | if (!constraintViolations.isEmpty()) { 33 | ConstraintViolation constraint = (ConstraintViolation)constraintViolations.iterator().next(); 34 | throw new EIException(constraint.getMessage()); 35 | } 36 | } 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/404.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/sourceActive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 溯源管理 9 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/validate.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 邮箱 3 | * @param {*} s 4 | */ 5 | export function isEmail (s) { 6 | return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s) 7 | } 8 | 9 | /** 10 | * 手机号码 11 | * @param {*} s 12 | */ 13 | export function isMobile (s) { 14 | return /^1[0-9]{10}$/.test(s) 15 | } 16 | 17 | /** 18 | * 电话号码 19 | * @param {*} s 20 | */ 21 | export function isPhone (s) { 22 | return /^([0-9]{3,4}-)?[0-9]{7,8}$/.test(s) 23 | } 24 | 25 | /** 26 | * URL地址 27 | * @param {*} s 28 | */ 29 | export function isURL (s) { 30 | return /^http[s]?:\/\/.*/.test(s) 31 | } 32 | 33 | /** 34 | * 匹配数字,可以是小数,不可以是负数,可以为空 35 | * @param {*} s 36 | */ 37 | export function isNumber(s){ 38 | return /(^-?[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$)|(^$)/.test(s); 39 | } 40 | /** 41 | * 匹配整数,可以为空 42 | * @param {*} s 43 | */ 44 | export function isIntNumer(s){ 45 | return /(^-?\d+$)|(^$)/.test(s); 46 | } 47 | /** 48 | * 身份证校验 49 | */ 50 | export function checkIdCard(idcard) { 51 | const regIdCard = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/; 52 | if (!regIdCard.test(idcard)) { 53 | return false; 54 | } else { 55 | return true; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/┐┤░х╣▄└э.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 看板管理 9 | 11 | 13 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/views/home.vue: -------------------------------------------------------------------------------- 1 | 8 | 32 | 33 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/batch.svg: -------------------------------------------------------------------------------- 1 | 种植批次管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/international.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/scheme.svg: -------------------------------------------------------------------------------- 1 | 种植计划管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/dashboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/language.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/dashboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/shoppingCard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/board1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 看板管理 9 | 10 | 12 | 15 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/log.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/log.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/eye-open.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/eye-open.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/com/dao/ShangpinxinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.baomidou.mybatisplus.mapper.BaseMapper; 4 | import com.baomidou.mybatisplus.mapper.Wrapper; 5 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 6 | import com.entity.ShangpinxinxiEntity; 7 | import com.entity.view.ShangpinxinxiView; 8 | import com.entity.vo.ShangpinxinxiVO; 9 | import org.apache.ibatis.annotations.Param; 10 | 11 | import java.util.List; 12 | 13 | 14 | /** 15 | * 商品信息 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-04-12 10:13:58 20 | */ 21 | public interface ShangpinxinxiDao extends BaseMapper { 22 | 23 | List selectListVO(@Param("ew") Wrapper wrapper); 24 | 25 | List alarmDeadStock(ShangpinxinxiEntity entity); 26 | 27 | ShangpinxinxiVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(@Param("ew") Wrapper wrapper); 30 | 31 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 32 | 33 | ShangpinxinxiView selectView(@Param("ew") Wrapper wrapper); 34 | 35 | List statistics(ShangpinxinxiEntity shangpinxinxi); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/dept.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/mainSystemActive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 主系统 9 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/agricultureRegister.svg: -------------------------------------------------------------------------------- 1 | 农资登记 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/base.svg: -------------------------------------------------------------------------------- 1 | 基地管理 -------------------------------------------------------------------------------- /src/main/java/com/utils/SpringContextUtils.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | import org.springframework.beans.BeansException; 5 | import org.springframework.context.ApplicationContext; 6 | import org.springframework.context.ApplicationContextAware; 7 | import org.springframework.stereotype.Component; 8 | 9 | 10 | /** 11 | * Spring Context 工具类 12 | */ 13 | @Component 14 | public class SpringContextUtils implements ApplicationContextAware { 15 | public static ApplicationContext applicationContext; 16 | 17 | @Override 18 | public void setApplicationContext(ApplicationContext applicationContext) 19 | throws BeansException { 20 | SpringContextUtils.applicationContext = applicationContext; 21 | } 22 | 23 | public static Object getBean(String name) { 24 | return applicationContext.getBean(name); 25 | } 26 | 27 | public static T getBean(String name, Class requiredType) { 28 | return applicationContext.getBean(name, requiredType); 29 | } 30 | 31 | public static boolean containsBean(String name) { 32 | return applicationContext.containsBean(name); 33 | } 34 | 35 | public static boolean isSingleton(String name) { 36 | return applicationContext.isSingleton(name); 37 | } 38 | 39 | public static Class getType(String name) { 40 | return applicationContext.getType(name); 41 | } 42 | 43 | } -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/articleEdit.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/internetActive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 物联网管理置 9 | 14 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/utils/utils.js: -------------------------------------------------------------------------------- 1 | import storage from './storage'; 2 | import menu from './menu'; 3 | /** 4 | * 是否有权限 5 | * @param {*} key 6 | */ 7 | export function isAuth(tableName,key) { 8 | let role = storage.get("role"); 9 | if(!role){ 10 | role = '管理员'; 11 | } 12 | let menus = menu.list(); 13 | for(let i=0;i数据缺失 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/wechat.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/job.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/components/home/HomeProgress.vue: -------------------------------------------------------------------------------- 1 | 32 | 35 | 56 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

基于SSM框架的库存信息管理系统

2 | 3 |

完整代码获取地址:从戎源码网(https://armycodes.com/)

4 |

作者微信:19941326836 QQ:605739993 QQ群:655392706

5 |

承接计算机毕设、Java毕业设计、Python毕业设计、深度学习、机器学习

6 |

选题+开题报告+任务书+程序定制+安装调试+论文+答辩ppt 一条龙服务

7 |

毕业设计所有选题地址:(https://github.com/Descartes007/allProject)

8 | 9 | ## 一、项目介绍 10 | 11 | 基于SSM框架的库存信息管理系统:前端 微信小程序、ElementUI、Vue,后端 SpringMvc、Mybatis,系统角色分为:管理员,管理员在管理后台物品信息,对物品种类进行管理等。主要功能如下: 12 | 13 | ### 1、管理员: 14 | 15 | - 基本操作:登录、修改密码、获取个人信息、修改个人信息 16 | - 商品信息管理:获取商品信息列表、查看商品详情、修改商品信息、删除商品信息、筛选商品信息、新增商品 17 | - 供应商管理:获取供应商列表、查看供应商详情、修改供应商信息、删除供应商信息、筛选供应商信息、新增供应商 18 | - 商品分类管理:获取商品分类信息列表、修改商品分类信息、删除商品分类信息、筛选商品分类信息、新增商品分类 19 | - 入库管理:获取入库信息、查看入库详情、修改入库信息、删除入库信息、筛选入库信息、商品入库 20 | - 出库管理:获取出库信息、查看出库详情、修改出库信息、删除出库信息、筛选出库信息、商品出库 21 | - 库存管理:获取商品库存信息、盘点库存、筛选商品库存信息、库存盘点查询 22 | - 预警管理:滞销告警查询、上下限告警查询 23 | - 系统管理:新增用户、删除用户、筛选用户、查看用户信息详情、修改用户信息、查看系统日志 24 | 25 | ## 二、环境 26 | 27 | - IntelliJ IDEA 2020.3 28 | 29 | - Mysql 5.7.26 30 | 31 | - Tomcat 9.0.41 32 | 33 | - NodeJs 14.17.3 34 | 35 | - Maven 3.6.3 36 | 37 | - JDK 1.8 38 | 39 | 40 | ## 三、运行截图 41 | ![](screenshot/1.png) 42 | 43 | ![](screenshot/2.png) 44 | 45 | ![](screenshot/3.png) 46 | 47 | ![](screenshot/4.png) 48 | 49 | ![](screenshot/5.png) 50 | 51 | ![](screenshot/6.png) 52 | 53 | ![](screenshot/7.png) 54 | 55 | 56 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/vipCustomized.svg: -------------------------------------------------------------------------------- 1 | VIP定制 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/crop.svg: -------------------------------------------------------------------------------- 1 | 农作物管理2 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/workOrder.svg: -------------------------------------------------------------------------------- 1 | 工单管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/components/index/IndexAsideSub.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 52 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/people.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/components/home/HomeCard.vue: -------------------------------------------------------------------------------- 1 | 22 | 36 | 61 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/tool.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/firm.svg: -------------------------------------------------------------------------------- 1 | 厂商管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/news.svg: -------------------------------------------------------------------------------- 1 | 新闻咨询 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/residual.svg: -------------------------------------------------------------------------------- 1 | 检测管理 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/components/index/IndexAside.vue: -------------------------------------------------------------------------------- 1 | 19 | 45 | 56 | 57 | -------------------------------------------------------------------------------- /src/main/java/com/controller/OperatelogController.java: -------------------------------------------------------------------------------- 1 | package com.controller; 2 | 3 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 4 | import com.entity.ChukujiluEntity; 5 | import com.entity.OperatelogEntity; 6 | import com.service.ChukujiluService; 7 | import com.service.OperatelogService; 8 | import com.utils.MPUtil; 9 | import com.utils.PageUtils; 10 | import com.utils.R; 11 | import org.springframework.beans.factory.annotation.Autowired; 12 | import org.springframework.web.bind.annotation.RequestMapping; 13 | import org.springframework.web.bind.annotation.RequestParam; 14 | import org.springframework.web.bind.annotation.RestController; 15 | 16 | import javax.servlet.http.HttpServletRequest; 17 | import java.util.Map; 18 | 19 | 20 | /** 21 | * 日志记录 22 | * 后端接口 23 | * @author 24 | * @email 25 | * @date 2023-04-12 10:13:58 26 | */ 27 | @RestController 28 | @RequestMapping("/operatelog") 29 | public class OperatelogController { 30 | @Autowired 31 | private OperatelogService operatelogService; 32 | 33 | /** 34 | * 后端列表 35 | */ 36 | @RequestMapping("/page") 37 | public R page(@RequestParam Map params, OperatelogEntity operatelog, HttpServletRequest request){ 38 | EntityWrapper ew = new EntityWrapper(); 39 | PageUtils page = operatelogService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, operatelog), params), params)); 40 | return R.ok().put("data", page); 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/dataAbnormal.svg: -------------------------------------------------------------------------------- 1 | 数据异常 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/zip.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/pdf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mas-creator-admin", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "dev": "vue-cli-service serve", 7 | "build": "vue-cli-service build", 8 | "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", 9 | "lint": "vue-cli-service lint" 10 | }, 11 | "dependencies": { 12 | "axios": "^0.19.2", 13 | "core-js": "^3.4.4", 14 | "echarts": "^4.6.0", 15 | "element-ui": "^2.13.0", 16 | "print-js": "^1.5.0", 17 | "vue": "^2.6.10", 18 | "vue-quill-editor": "^3.0.6", 19 | "vue-amap": "^0.5.10", 20 | "vue-json-excel": "^0.3.0", 21 | "vue-router": "^3.1.5" 22 | }, 23 | "devDependencies": { 24 | "@vue/cli-plugin-babel": "^4.1.0", 25 | "@vue/cli-plugin-eslint": "^4.1.0", 26 | "@vue/cli-service": "^4.1.0", 27 | "babel-eslint": "^10.0.3", 28 | "babel-plugin-component": "^1.1.1", 29 | "eslint": "^5.16.0", 30 | "eslint-plugin-vue": "^5.0.0", 31 | "node-sass": "^4.13.1", 32 | "sass-loader": "^8.0.2", 33 | "svg-sprite-loader": "4.1.3", 34 | "svgo": "1.2.2", 35 | "vue-template-compiler": "^2.6.10" 36 | }, 37 | "eslintConfig": { 38 | "root": true, 39 | "env": { 40 | "node": true 41 | }, 42 | "extends": [ 43 | "plugin:vue/essential", 44 | "eslint:recommended" 45 | ], 46 | "rules": { 47 | "no-console": "off", 48 | "no-unused-vars": 0, 49 | "no-useless-escape": "off" 50 | }, 51 | "parserOptions": { 52 | "parser": "babel-eslint" 53 | } 54 | }, 55 | "browserslist": [ 56 | "> 1%", 57 | "last 2 versions", 58 | "not ie <= 8", 59 | "Android >= 4.0" 60 | ] 61 | } 62 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/boardConfig.svg: -------------------------------------------------------------------------------- 1 | 看板配置 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/cfg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/cfg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/exit-fullscreen.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/vue.config.js: -------------------------------------------------------------------------------- 1 | // var webpack = require('webpack'); 2 | const path = require('path') 3 | function resolve(dir) { 4 | return path.join(__dirname, dir) 5 | } 6 | function publicPath(){ 7 | if (process.env.NODE_ENV == 'production') { 8 | return "././"; 9 | } else { 10 | return "/"; 11 | } 12 | } 13 | // vue.config.js 14 | module.exports = { 15 | // publicPath:"././", 16 | publicPath: publicPath(), 17 | // 国际化配置 使用其它语言,默认情况下中文语言包依旧是被引入的 18 | configureWebpack: { 19 | // plugins: [ 20 | // new webpack.NormalModuleReplacementPlugin(/element-ui[\/\\]lib[\/\\]locale[\/\\]lang[\/\\]zh-CN/, 'element-ui/lib/locale/lang/en') 21 | // ] 22 | resolve: { 23 | alias: { 24 | '@': resolve('src') 25 | } 26 | } 27 | }, 28 | lintOnSave: false, 29 | devServer: { 30 | host: "0.0.0.0", //指定使用一个 host。默认是 localhost,这里默认值即可 31 | port: 8081, //指定端口 32 | hot: true, // 开启热更新 33 | https: false, // 是否开启https模式 34 | proxy: { // 请求代理服务器 35 | '/inventory': { //带上api前缀的 36 | target: 'http://localhost:8080/inventory/', //代理目标地址 37 | changeOrigin: true, 38 | secure: false, 39 | pathRewrite: { // 在发出请求后将/api替换为''空值,这样不影响接口请求 40 | '^/inventory': '' 41 | } 42 | } 43 | } 44 | }, 45 | chainWebpack(config) { 46 | config.module 47 | .rule('svg') 48 | .exclude.add(resolve('src/icons')) 49 | .end() 50 | config.module 51 | .rule('icons') 52 | .test(/\.svg$/) 53 | .include.add(resolve('src/icons')) 54 | .end() 55 | .use('svg-sprite-loader') 56 | .loader('svg-sprite-loader') 57 | .options({ 58 | symbolId: 'icon-[name]' 59 | }) 60 | .end() 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 12 | 13 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/system.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/system.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/videoEquipment.svg: -------------------------------------------------------------------------------- 1 | 监控设备 -------------------------------------------------------------------------------- /src/main/webapp/admin/src/components/index/IndexHeader.vue.bak: -------------------------------------------------------------------------------- 1 | 16 | 17 | 50 | 51 | 52 | 90 | -------------------------------------------------------------------------------- /src/main/webapp/admin/src/icons/svg/svg/plant.svg: -------------------------------------------------------------------------------- 1 | 种植管理 --------------------------------------------------------------------------------