添加获取实时时间getCurrenTime()完成出库管理功能

master
ljc 7 months ago
parent 9bcdf03f7c
commit 768eb43d61

@ -116,7 +116,7 @@ public class Main extends Application {
timeThread.start();
return statusBar;
}
private String getCurrentTime() {
private String getCurrentTime() {//实时时间
return java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
}
private MenuBar createMenuBar() {

@ -79,4 +79,4 @@ public class OutboundRecord {
public void setRemark(String remark) {
this.remark = remark;
}
}
}

@ -220,4 +220,4 @@ public class OutboundView extends BorderPane {
alert.setContentText(content);
alert.showAndWait();
}
}
}
Loading…
Cancel
Save