785 B
785 B
api接口
from com.native.parser.parser_core import *
- queryInfoBySid(sid): | 字符串
-
- 按学号查人
-
- 返回False 或 学生信息
- queryInfoByName(name): | 字符串
-
- 按姓名查
-
- 支持重名查询
-
- 返回集合
- queryAllInfoByNative(native): | | 字符串
-
- 查询该籍贯下的所有信息
-
- 返回集合
- updeteStu(student): | student结构体
-
- 修改操作
-
- 返回 bool
- inster(student): | student结构体
-
- 插入操作
-
- 返回 bool
- delete(key):操作
-
- 删除操作
-
- 返回 bool
Student结构体实体类
from com.native.entity import entity
下的 Student结构体实体类
student.sid
student.name
student.native
构造
entity.Student("22100919", "某某某", "黑龙省")