fixing
This commit is contained in:
parent
d69872d421
commit
afc7605022
1 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ import {
|
||||||
Tags,
|
Tags,
|
||||||
Body,
|
Body,
|
||||||
Request,
|
Request,
|
||||||
SuccessResponse,
|
|
||||||
Response,
|
Response,
|
||||||
Get,
|
Get,
|
||||||
Query,
|
Query,
|
||||||
|
|
@ -62,7 +61,7 @@ export class ReportController extends Controller {
|
||||||
@Get("")
|
@Get("")
|
||||||
async GetReport(@Query() assign_id: string, @Query() evaluate_no: number = 1) {
|
async GetReport(@Query() assign_id: string, @Query() evaluate_no: number = 1) {
|
||||||
const evaluate = await this.evaluateChairmanRepository.findOne({
|
const evaluate = await this.evaluateChairmanRepository.findOne({
|
||||||
where: { assign_id },
|
where: { assign_id, no: evaluate_no.toString() },
|
||||||
});
|
});
|
||||||
|
|
||||||
const result = await this.evaluateResultRepository.findOne({
|
const result = await this.evaluateResultRepository.findOne({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue