✨ feat(武将): 重生体验优化 ca13e8be3 至 4ee246e78
This commit is contained in:
@@ -42,6 +42,11 @@ export default class School extends BaseModel {
|
||||
return result;
|
||||
}
|
||||
|
||||
public static async findByHids(roleId: string, hids: number[]) {
|
||||
let result: SchoolType[] = await SchoolModel.find({ roleId, hid: { $in: hids } }).lean();
|
||||
return result;
|
||||
}
|
||||
|
||||
public static async updateBySclAndPos(roleId: string, schoolId: number, positionId: number, update: SchoolUpdate) {
|
||||
|
||||
const doc = new SchoolModel();
|
||||
|
||||
Reference in New Issue
Block a user