(domainId: string, uid: number, pids: number[])
| 426 | } |
| 427 | |
| 428 | static async getListStatus(domainId: string, uid: number, pids: number[]) { |
| 429 | const psdocs = await ProblemModel.getMultiStatus( |
| 430 | domainId, { uid, docId: { $in: Array.from(new Set(pids)) } }, |
| 431 | ).toArray(); |
| 432 | return keyBy(psdocs, 'docId'); |
| 433 | } |
| 434 | |
| 435 | static async updateStatus( |
| 436 | domainId: string, pid: number, uid: number, |
no test coverage detected