Skip to content

Commit 6fc4cec

Browse files
committed
feat:fix proto
1 parent e754a2e commit 6fc4cec

File tree

1 file changed

+36
-39
lines changed

1 file changed

+36
-39
lines changed

campusapis/sklInfo/v1/skl.proto

Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ syntax = "proto3";
22

33
package campusapis.sklInfo.v1;
44

5-
import "campusapis/schoolTime/defined.proto";
6-
import "campusapis/staff/base.proto";
75
import "google/api/annotations.proto";
8-
import "google/protobuf/empty.proto";
96
import "protoc-gen-openapiv2/options/annotations.proto";
107

118
option go_package = "./campusapis/sklInfo/v1";
@@ -33,42 +30,42 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
3330

3431

3532

36-
// Skl 数据库中的student_history_info表
37-
message SklStudentHistoryInfo {
38-
string StudentName = 1; // 学生姓名
39-
string UnitId = 2; // 学院ID
40-
//18,卓越学院
41-
//27,网络空间安全学院(浙江保密学院)
42-
//14,会计学院
43-
//06,自动化学院(人工智能学院)
44-
//15,经济学院
45-
//01,机械工程学院
46-
//07,理学院
47-
//03,管理学院
48-
//05,计算机学院(软件学院)
49-
//34,法学院
50-
//11,外国语学院
51-
//08,通信工程学院
52-
//33,人文艺术与数字媒体学院
53-
//20,材料与环境工程学院
54-
//12,人文与法学院
55-
//17,国际教育学院
56-
//28,人文艺术与数字媒体学院、法学院
57-
//22,数字媒体与艺术设计学院
58-
//32,圣光机联合学院
59-
//31,继续教育学院
60-
//04,电子信息学院(集成电路科学与工程学院)
61-
//19,生命信息与仪器工程学院
62-
string UnitName = 3; // 学院名称
63-
string MajorCode = 4; // 专业代码
64-
string Major = 5; // 专业名称
65-
string ClassNo = 6; // 班级
66-
string Grade = 7; // 年级
67-
string TeacherId = 8; // 辅导员工号
68-
string SchoolYear = 9; // 学年
69-
string Semester = 10; // 学期
70-
string StudentId = 11; // 学号
71-
}
33+
//// Skl 数据库中的student_history_info表
34+
//message SklStudentHistoryInfo {
35+
// string StudentName = 1; // 学生姓名
36+
// string UnitId = 2; // 学院ID
37+
// //18,卓越学院
38+
// //27,网络空间安全学院(浙江保密学院)
39+
// //14,会计学院
40+
// //06,自动化学院(人工智能学院)
41+
// //15,经济学院
42+
// //01,机械工程学院
43+
// //07,理学院
44+
// //03,管理学院
45+
// //05,计算机学院(软件学院)
46+
// //34,法学院
47+
// //11,外国语学院
48+
// //08,通信工程学院
49+
// //33,人文艺术与数字媒体学院
50+
// //20,材料与环境工程学院
51+
// //12,人文与法学院
52+
// //17,国际教育学院
53+
// //28,人文艺术与数字媒体学院、法学院
54+
// //22,数字媒体与艺术设计学院
55+
// //32,圣光机联合学院
56+
// //31,继续教育学院
57+
// //04,电子信息学院(集成电路科学与工程学院)
58+
// //19,生命信息与仪器工程学院
59+
// string UnitName = 3; // 学院名称
60+
// string MajorCode = 4; // 专业代码
61+
// string Major = 5; // 专业名称
62+
// string ClassNo = 6; // 班级
63+
// string Grade = 7; // 年级
64+
// string TeacherId = 8; // 辅导员工号
65+
// string SchoolYear = 9; // 学年
66+
// string Semester = 10; // 学期
67+
// string StudentId = 11; // 学号
68+
//}
7269

7370
service SklInfoService {
7471
// 获取某学院某年级的学生信息

0 commit comments

Comments
 (0)