Merge branch '0.8.X' of http://49.232.154.205:10100/DeXun/klp-oa into 0.8.X
This commit is contained in:
@@ -154,7 +154,7 @@ security:
|
|||||||
- /test/**
|
- /test/**
|
||||||
- /klp/generateRecord
|
- /klp/generateRecord
|
||||||
- /klp/generateRecord/**
|
- /klp/generateRecord/**
|
||||||
|
- /wms/coilPendingAction/**
|
||||||
# 测接口
|
# 测接口
|
||||||
# - /ems/energyConsumption
|
# - /ems/energyConsumption
|
||||||
# - /ems/energyConsumption/**
|
# - /ems/energyConsumption/**
|
||||||
|
|||||||
@@ -289,12 +289,10 @@ public class WmsFurnacePlanServiceImpl implements IWmsFurnacePlanService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Date now = new Date();
|
Date now = new Date();
|
||||||
Date endTime = new Date(now.getTime() + 48L * 60 * 60 * 1000);
|
|
||||||
|
|
||||||
WmsFurnacePlan update = new WmsFurnacePlan();
|
WmsFurnacePlan update = new WmsFurnacePlan();
|
||||||
update.setPlanId(planId);
|
update.setPlanId(planId);
|
||||||
update.setActualStartTime(now);
|
update.setActualStartTime(now);
|
||||||
update.setEndTime(endTime);
|
|
||||||
update.setStatus(2);
|
update.setStatus(2);
|
||||||
baseMapper.updateById(update);
|
baseMapper.updateById(update);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user