迦南fix

This commit is contained in:
psh
2023-09-14 17:05:36 +08:00
parent c9b0f495dd
commit 65742a4bb6
9 changed files with 309 additions and 379 deletions

View File

@@ -235,17 +235,17 @@ public class SendMaterialTask extends AbstractAcsTask {
PointService pointService = SpringContextHolder.getBean(PointService.class);
// 起点是空位不能搬
// // 起点是空位不能搬
PointDto startPoint = pointService.findByCode(start_point_code);
if (StrUtil.equals(startPoint.getPoint_status(), "00")) {
throw new BadRequestException("起点是空位");
}
// 终点不是空位不能搬
// if (StrUtil.equals(startPoint.getPoint_status(), "00")) {
// throw new BadRequestException("起点是空位");
// }
//
// // 终点不是空位不能搬
PointDto nextPoint = pointService.findByCode(next_point_code);
if (!StrUtil.equals(nextPoint.getPoint_status(), "00")) {
throw new BadRequestException("终点不是空位");
}
// if (!StrUtil.equals(nextPoint.getPoint_status(), "00")) {
// throw new BadRequestException("终点不是空位");
// }
// 判断起点有没有未完成的指令
JSONObject startPointTask = taskTable

View File

@@ -68,7 +68,7 @@ spring:
multi-statement-alagvslow: true
redis:
#数据库索引
database: ${REDIS_DB:1}
database: ${REDIS_DB:3}
host: ${REDIS_HOST:127.0.0.1}
port: ${REDIS_PORT:6379}
password: ${REDIS_PWD:}

View File

@@ -157,4 +157,6 @@ jetcache:
maxTotal: 1000
uri:
- redis://localhost:6379
loki:
url: http://localhost:3100/loki/api/v1
systemName: lms

View File

@@ -2,7 +2,7 @@ spring:
freemarker:
check-template-location: false
profiles:
active: dev
active: prod
jackson:
time-zone: GMT+8
data: