Compare commits
2 Commits
668af2140a
...
01a06566ee
| Author | SHA1 | Date | |
|---|---|---|---|
| 01a06566ee | |||
| 865c00b5b4 |
@@ -154,7 +154,7 @@ security:
|
||||
- /test/**
|
||||
- /klp/generateRecord
|
||||
- /klp/generateRecord/**
|
||||
|
||||
- /wms/coilPendingAction/**
|
||||
# 测接口
|
||||
# - /ems/energyConsumption
|
||||
# - /ems/energyConsumption/**
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user