set null ตำแหน่งติดเงื่อนไข
This commit is contained in:
parent
f307484707
commit
dda4488409
4 changed files with 198 additions and 113 deletions
|
|
@ -4688,6 +4688,8 @@ export class PositionController extends Controller {
|
|||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลทะเบียนประวัตินี้");
|
||||
|
||||
posMaster.current_holderId = body.profileId;
|
||||
const _null: any = null;
|
||||
posMaster.conditionReason = _null;
|
||||
if (posMasterOld != null) await this.posMasterRepository.save(posMasterOld);
|
||||
await this.posMasterRepository.save(posMaster);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue