ปรับ report
This commit is contained in:
parent
eb7eddabf6
commit
a5e58d4552
2 changed files with 6 additions and 1 deletions
|
|
@ -508,9 +508,10 @@ export class EvaluationController {
|
|||
if (!evaluation) {
|
||||
return `not found data`;
|
||||
}
|
||||
let _code = requestBody.type == "EXPERT" ? "ST05-1" : requestBody.type == "EXPERTISE" ? "ST05-1" : requestBody.type == "SPECIAL_EXPERT" ? "ST05-2" : "ST05-1";
|
||||
const announceTemplate5 = await this.announceTemplateRepository.findOne({
|
||||
where:{
|
||||
code : "ST05-1"
|
||||
code : _code
|
||||
},
|
||||
select: ["detailBody","detailFooter"]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue