ปรับปรุงการแสดงผล

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-04-21 07:53:48 +07:00
parent 41c1a276f9
commit 31f21f24ad
5 changed files with 164 additions and 66 deletions

View File

@@ -210,8 +210,8 @@ namespace TodoAPI2.Models
var existingEntity = _repository.Get(id);
if (existingEntity != null)
{
existingEntity.adjust_postponement_id = model.adjust_postponement_id;
existingEntity.adjust_postponement_quota_id = model.adjust_postponement_quota_id;
//existingEntity.adjust_postponement_id = model.adjust_postponement_id;
//existingEntity.adjust_postponement_quota_id = model.adjust_postponement_quota_id;
existingEntity.employee_id = model.employee_id;
existingEntity.sarary = model.sarary;
existingEntity.cost_living = model.cost_living;
@@ -253,8 +253,8 @@ namespace TodoAPI2.Models
var existingEntity = _repository.Get(i.id.Value);
if (existingEntity != null)
{
existingEntity.adjust_postponement_id = i.adjust_postponement_id;
existingEntity.adjust_postponement_quota_id = i.adjust_postponement_quota_id;
//existingEntity.adjust_postponement_id = i.adjust_postponement_id;
//existingEntity.adjust_postponement_quota_id = i.adjust_postponement_quota_id;
existingEntity.employee_id = i.employee_id;
existingEntity.sarary = i.sarary;
existingEntity.cost_living = i.cost_living;