Skip to content

Commit

Permalink
feat:fix proto
Browse files Browse the repository at this point in the history
  • Loading branch information
whxxxxxxxxxx committed Aug 20, 2024
1 parent e754a2e commit 6fc4cec
Showing 1 changed file with 36 additions and 39 deletions.
75 changes: 36 additions & 39 deletions campusapis/sklInfo/v1/skl.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ syntax = "proto3";

package campusapis.sklInfo.v1;

import "campusapis/schoolTime/defined.proto";
import "campusapis/staff/base.proto";
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

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



// Skl 数据库中的student_history_info表
message SklStudentHistoryInfo {
string StudentName = 1; // 学生姓名
string UnitId = 2; // 学院ID
//18,卓越学院
//27,网络空间安全学院(浙江保密学院)
//14,会计学院
//06,自动化学院(人工智能学院)
//15,经济学院
//01,机械工程学院
//07,理学院
//03,管理学院
//05,计算机学院(软件学院)
//34,法学院
//11,外国语学院
//08,通信工程学院
//33,人文艺术与数字媒体学院
//20,材料与环境工程学院
//12,人文与法学院
//17,国际教育学院
//28,人文艺术与数字媒体学院、法学院
//22,数字媒体与艺术设计学院
//32,圣光机联合学院
//31,继续教育学院
//04,电子信息学院(集成电路科学与工程学院)
//19,生命信息与仪器工程学院
string UnitName = 3; // 学院名称
string MajorCode = 4; // 专业代码
string Major = 5; // 专业名称
string ClassNo = 6; // 班级
string Grade = 7; // 年级
string TeacherId = 8; // 辅导员工号
string SchoolYear = 9; // 学年
string Semester = 10; // 学期
string StudentId = 11; // 学号
}
//// Skl 数据库中的student_history_info表
//message SklStudentHistoryInfo {
// string StudentName = 1; // 学生姓名
// string UnitId = 2; // 学院ID
// //18,卓越学院
// //27,网络空间安全学院(浙江保密学院)
// //14,会计学院
// //06,自动化学院(人工智能学院)
// //15,经济学院
// //01,机械工程学院
// //07,理学院
// //03,管理学院
// //05,计算机学院(软件学院)
// //34,法学院
// //11,外国语学院
// //08,通信工程学院
// //33,人文艺术与数字媒体学院
// //20,材料与环境工程学院
// //12,人文与法学院
// //17,国际教育学院
// //28,人文艺术与数字媒体学院、法学院
// //22,数字媒体与艺术设计学院
// //32,圣光机联合学院
// //31,继续教育学院
// //04,电子信息学院(集成电路科学与工程学院)
// //19,生命信息与仪器工程学院
// string UnitName = 3; // 学院名称
// string MajorCode = 4; // 专业代码
// string Major = 5; // 专业名称
// string ClassNo = 6; // 班级
// string Grade = 7; // 年级
// string TeacherId = 8; // 辅导员工号
// string SchoolYear = 9; // 学年
// string Semester = 10; // 学期
// string StudentId = 11; // 学号
//}

service SklInfoService {
// 获取某学院某年级的学生信息
Expand Down

0 comments on commit 6fc4cec

Please sign in to comment.