Commit 0ed0ccf9 sunke

阳光电源料架入库不通知

1 个父辈 544dd334
......@@ -1628,8 +1628,19 @@ public class TaskService implements ITaskService {
task = dataLogDao.save(task);
theFinishedTaskMap.put(task.getId(),task);
}catch (Exception e){
Storage storage = dataCache.getStorage(task.getCid());
if(storage != null){
if(task.isCheckOutTask()){
postOutNotification(dataCache.getSettings().getOutNotifyApi(), task.getBarcode(), task.getCid());
}else{
postInNotification(dataCache.getSettings().getInNotifyApi(), task.getBarcode(), task.getStorageId());
}
}
}catch (Exception e){
log.error(e);
}
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!