# iwms
**Repository Path**: sandyznb/iwms
## Basic Information
- **Project Name**: iwms
- **Description**: 智能仓储管理系统
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2024-02-29
- **Last Updated**: 2024-02-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# iwms 项目初始化
#### 介绍
智能仓储管理系统
#### 软件架构
软件架构说明
后端技术:Spring Boot 2.6.6 + SpringcloudAlibaba2021.1 +MybatisPlus 3.5.1 + Shiro 1.8.0+ Jwt 3.11.0
+ Swagger + Redis
前端技术: Ant-design-vue + Vue + Webpack
其他技术: Druid(数据库连接池)、Logback(日志工具) 、poi(Excel工具)、
Quartz(定时任务)、lombok(简化代码)
项目构建: Maven、Jdk8
#### 安装教程
1. node版本v16 cnpm 安装命令npm install cnpm@7.1.0 -g --registry=https://registry.npm.taobao.org
2. 后端运行main模块下sql
3. 前端UI项目cnpm install
#### 20240120
后端防重复提交引入分布式锁用法:
@JRepeat(lockKey = "#wmsAsnDetailVo", lockTime = 10)
@CacheEvict(value= {CacheConstant.SYS_USERS_CACHE}, key="#username")
###20230607 按钮插槽
####20230616 兼容高级查询
AND
${ew.sqlSegment}
分布式锁注解 @JLock
//lockKey支持spel表达式
@JLock(lockKey= "redis-lock")
@JLock(lockKey="#user.name")
@JLock(lockKey ={"#user.name","#user.id"})
防止重复提交的注解 @JRepeat
@JRepeat(lockKey = "#name", lockTime = 5)
事务回滚
@Transactional(rollbackFor = Exception.class)
数据日志
JSONObject jsonMsg = new JSONObject();
jsonMsg.put("businessCode",WmsScheduleBusinessEnums.addDataLog.getCode());
jsonMsg.put("tableName","wms_asn");
jsonMsg.put("dataId",asn.getId());
jsonMsg.put("dataContent",JSONObject.toJSONString(asn));
wmsScheduleJobService.genAsyncScheduleJob(JSONObject.toJSONString(jsonMsg),WmsScheduleBusinessEnums.addDataLog.getCode(),asn.getCode());
#### 20240125
实体类加字段必须是包装类,不然页面查询的时候可能用默认值匹配,不显示数据
JsonNode node1 = objectMapper.readTree(jsonStr);
JsonNode node2 = objectMapper.readTree(anotherJsonStr);
boolean isMatched = node1.equals(node2);
System.out.println("Is matched? " + isMatched);
#### 20240201
前端打包需修改IP和端口
#### 20240219
打印标签可设置去除页眉页脚
#### 20240220
MINIO使用:
1:输入.\minio.exe server E:\minio 命令启动Minio。E:\minio 为minio上传文件保存目录,可自定义保存目录。
2:用户名密码:minioadmin
#### 20240229





