แก้searchตำแหน่ง
This commit is contained in:
parent
4c67904018
commit
f9bafbb4f1
1 changed files with 6 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ import { Position } from "../entities/Position";
|
|||
import { Brackets } from "typeorm/browser";
|
||||
@Route("api/v1/org/pos")
|
||||
@Tags("Position")
|
||||
@Security("bearerAuth")
|
||||
// @Security("bearerAuth")
|
||||
@Response(
|
||||
HttpStatusCode.INTERNAL_SERVER_ERROR,
|
||||
"เกิดข้อผิดพลาด ไม่สามารถแสดงรายการได้ กรุณาลองใหม่ในภายหลัง",
|
||||
|
|
@ -688,15 +688,15 @@ export class PositionController extends Controller {
|
|||
let keywordAsInt: any;
|
||||
keywordAsInt = body.keyword == null ? null : parseInt(body.keyword, 10);
|
||||
if (isNaN(keywordAsInt)) {
|
||||
keywordAsInt = "";
|
||||
keywordAsInt = "P@ssw0rd!z";
|
||||
}
|
||||
masterId = [...new Set(masterId)];
|
||||
|
||||
const keywordConditions = [
|
||||
{
|
||||
...checkChildConditions,
|
||||
...typeCondition,
|
||||
},
|
||||
// {
|
||||
// ...checkChildConditions,
|
||||
// ...typeCondition,
|
||||
// },
|
||||
{
|
||||
...checkChildConditions,
|
||||
...typeCondition,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue