Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求数据库文件 #3

Open
gong1231 opened this issue Nov 18, 2023 · 3 comments
Open

求数据库文件 #3

gong1231 opened this issue Nov 18, 2023 · 3 comments

Comments

@gong1231
Copy link

有没有数据库文件啊,救命Is there a database file? Help

@kdpkst
Copy link
Contributor

kdpkst commented Nov 21, 2023

我们的数据库表是用JPA生成的,没有直接写SQL。具体代码在Models文件夹中:https://github.com/humb1e1989/Pet-Shop-Grooming-Appointment-System-/tree/main/src/main/java/com/cpt202/appointment_system/Models

@gong1231
Copy link
Author

你们这个我运行出来了,好像仅仅是一个网页,有没有后续改进功能,有没有实现预约功能后台人员管理的代码部分

@kdpkst
Copy link
Contributor

kdpkst commented Nov 22, 2023

这个网站做完了就没再维护了,但当时做了一个后台管理人员的部分。你手动在数据库User表插入数据,在属性type这一栏填1(0是用户,1表示管理人员)。然后运行这个web项目,用你刚在数据库插入的这个用户登录,应该能进入到管理员的页面。至于实现这个部分的代码在哪里我不太清楚,抱歉我没参与这个功能的开发。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants