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

What should we submit #55

Closed
wLUOw opened this issue Dec 19, 2023 · 2 comments
Closed

What should we submit #55

wLUOw opened this issue Dec 19, 2023 · 2 comments
Labels
status:answered Answered officially type:docs Improvements or additions to documentation

Comments

@wLUOw
Copy link

wLUOw commented Dec 19, 2023

Describe your question

请问我们是需要交以下文件吗?

1. 报告(pdf格式)

报告名为 sid1_sid2_sid3_Report.pdf

2. submit文件夹的压缩包

submit文件夹结构如下

submit 
├── tables.sql      (建表语句)
└── sustc-api.jar  (由submitJar生成)

其中.sql文件中,需要包含全部建表的sql语句,不需要创建数据库的sql语句,但是需不需要创建user并赋予权限的语句?
比如以下这一类

create user manager with password '123456';
grant connect on database project2 to manager;
grant usage on schema public to manager;
grant select, insert, update, delete, truncate on all tables in schema public to manager;

submit文件夹应该用sustc的submitJar命令生成,还是应该用sustc-api的submitJar命令生成submit文件夹?

3. sustc-api的src文件夹的压缩包

是否要把dto和接口删除,只保留实现类呢?还是全部保留?

@wLUOw wLUOw added status:waiting-for-reply Waiting for SA to reply type:docs Improvements or additions to documentation labels Dec 19, 2023
@hezean
Copy link
Owner

hezean commented Dec 19, 2023

  1. 不需要包含创建用户的语句,提交的sql会被以一个新创建的用户的身份执行,这个用户是测试数据库的owner

sustc的submitJarsustc-api的submitJar 是等效的

  1. 执行clean任务后打包sustc-api文件夹即可

@hezean hezean added status:answered Answered officially and removed status:waiting-for-reply Waiting for SA to reply labels Dec 19, 2023
@hezean hezean pinned this issue Dec 19, 2023
@hezean hezean closed this as completed Dec 19, 2023
@wLUOw
Copy link
Author

wLUOw commented Dec 19, 2023

非常感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:answered Answered officially type:docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants