สร้างทะเบียนประวัติ
This commit is contained in:
parent
55f1c1add8
commit
250e4860b3
2 changed files with 17 additions and 15 deletions
|
|
@ -130,6 +130,8 @@ export class ProfileController extends Controller {
|
|||
}
|
||||
|
||||
const profile = Object.assign(new Profile(), body);
|
||||
profile.isProbation = false;
|
||||
profile.isLeave = false;
|
||||
profile.createdUserId = request.user.sub;
|
||||
profile.createdFullName = request.user.name;
|
||||
profile.lastUpdateUserId = request.user.sub;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue