diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmAdminEntry.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmAdminEntry.java index 3461777..f137490 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmAdminEntry.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmAdminEntry.java @@ -12,6 +12,8 @@ public class ElmAdminEntry { new ElmAdminEntry().work(); } + // CodeLineNum 2600 + private static final int exitCode = 10; public void work(){ @@ -99,4 +101,4 @@ public class ElmAdminEntry { System.exit(0); } } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmBusinessEntry.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmBusinessEntry.java index 986f6fa..02a4f1a 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmBusinessEntry.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/ElmBusinessEntry.java @@ -127,4 +127,4 @@ public class ElmBusinessEntry { } } } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/AdminView.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/AdminView.java index ab3cbe9..f88a0a4 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/AdminView.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/AdminView.java @@ -555,4 +555,4 @@ public class AdminView { e.printStackTrace(); } } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/Display.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/Display.java index 3b2f64b..0744550 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/Display.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/View/Display.java @@ -209,4 +209,4 @@ public class Display { System.out.println("+ 按回车键继续..."); sca.nextLine(); } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDao.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDao.java index 393351a..b551338 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDao.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDao.java @@ -15,4 +15,4 @@ public interface AdminDao { boolean updateAdminPassword(Admin admin); ResultSet fuzzyQueryExampleForName(String name); ResultSet getAllAdmin(); -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDaoImpl.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDaoImpl.java index d9b0834..6da680e 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDaoImpl.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/AdminDaoImpl.java @@ -181,4 +181,4 @@ public class AdminDaoImpl implements AdminDao{ } return null; } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDao.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDao.java index 7cfc27d..15f2338 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDao.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDao.java @@ -26,4 +26,4 @@ public interface BusinessDao { boolean deleteFoodId(int foodId, Business business); boolean deleteFoodName(String foodName, Business business); ResultSet getBusinessFoodInfo(Business business); -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDaoImpl.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDaoImpl.java index c776e3b..aafcc63 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDaoImpl.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/dao/BusinessDaoImpl.java @@ -511,4 +511,4 @@ public class BusinessDaoImpl implements BusinessDao{ } return false; } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/jdbc/JDBC.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/jdbc/JDBC.java index af7e017..f0305c7 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/jdbc/JDBC.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/jdbc/JDBC.java @@ -30,4 +30,4 @@ public class JDBC { throw new RuntimeException("数据库连接失败", e); } } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Admin.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Admin.java index 1d5e2af..2672e03 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Admin.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Admin.java @@ -57,4 +57,4 @@ public class Admin { public void setAdminPassword(String password){ adminPassword = password; } -} +} \ No newline at end of file diff --git a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Business.java b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Business.java index 97e26a1..86dd927 100644 --- a/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Business.java +++ b/02_Intellij_Java_CourseExperiment_20240611/CourseExperiment/src/po/Business.java @@ -93,4 +93,4 @@ public class Business { public String toString() { return super.toString(); } -} +} \ No newline at end of file