fix(security): 更新安全配置并修正炉计划服务逻辑

- 在安全配置中添加 /wms/coilPendingAction/** 路径到忽略列表
- 从安全配置中移除测接口相关路径
- 移除 WmsFurnacePlanServiceImpl 中的 endTime 设置逻辑
- 简化炉计划实际开始时间设置流程
This commit is contained in:
2026-04-25 12:55:56 +08:00
parent c5fa84df98
commit 865c00b5b4
2 changed files with 1 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ security:
- /test/**
- /klp/generateRecord
- /klp/generateRecord/**
- /wms/coilPendingAction/**
# 测接口
# - /ems/energyConsumption
# - /ems/energyConsumption/**

View File

@@ -289,12 +289,10 @@ public class WmsFurnacePlanServiceImpl implements IWmsFurnacePlanService {
}
Date now = new Date();
Date endTime = new Date(now.getTime() + 48L * 60 * 60 * 1000);
WmsFurnacePlan update = new WmsFurnacePlan();
update.setPlanId(planId);
update.setActualStartTime(now);
update.setEndTime(endTime);
update.setStatus(2);
baseMapper.updateById(update);