From cabfc8856a434243ddf436d4cb758cd30b5a4471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BB=B4=E9=93=8E?= <3233682574@qq.com>
Date: Wed, 25 Jun 2025 11:32:34 +0800
Subject: [PATCH] 1
---
.idea/PythonProject.iml | 2 +-
.idea/misc.xml | 1 +
main.py | 7 ++++---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.idea/PythonProject.iml b/.idea/PythonProject.iml
index d837de4..6f1ddae 100644
--- a/.idea/PythonProject.iml
+++ b/.idea/PythonProject.iml
@@ -4,7 +4,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index ba49dd3..c4fe1f7 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,4 +3,5 @@
+
\ No newline at end of file
diff --git a/main.py b/main.py
index 06784ec..a230673 100644
--- a/main.py
+++ b/main.py
@@ -1,5 +1,7 @@
import os, sys
from ui.add_student import StudentTUI
+from DAL.clear_all_student import IStudentDAL
+from BLL.add_student import StudentBLL
cur_dir = os.path.dirname(os.path.abspath(__file__))
project_dir = os.path.dirname(cur_dir)
@@ -7,9 +9,8 @@ project_dir = os.path.dirname(cur_dir)
sys.path.append(project_dir)
def main():
-
file_path ='./data/students.json'
-
- ui = StudentTUI(file_path)
+ ui = StudentTUI(file_path)
+ ui.run()
if __name__=='__main__':
main()
\ No newline at end of file