no message
This commit is contained in:
parent
ca82158a20
commit
148fa2c81c
6 changed files with 65 additions and 30 deletions
|
|
@ -99,7 +99,10 @@ export class PositionController extends Controller {
|
|||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล PosLevelId");
|
||||
}
|
||||
|
||||
if (requestBody.posExecutiveId != "") requestBody.posExecutiveId = null;
|
||||
if (requestBody.posExecutiveId == "") {
|
||||
requestBody.posExecutiveId = null;
|
||||
posDict.posExecutiveId = null;
|
||||
}
|
||||
|
||||
if (requestBody.posExecutiveId != null) {
|
||||
const checkPosExecutiveId = await this.posExecutiveRepository.findOne({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue