เพิ่มฟิล ตามที่เพลงขอ และเติมที่จำเป็น
This commit is contained in:
@@ -52,5 +52,14 @@ namespace TodoAPI2.Models
|
||||
|
||||
[MaxLength(1000)]
|
||||
public string level_this_time { get; set; }
|
||||
|
||||
public decimal? position_allowance_at_this_time { get; set; }
|
||||
|
||||
public decimal? other_money_at_this_time { get; set; }
|
||||
|
||||
public decimal? migration_total_score { get; set; }
|
||||
|
||||
[MaxLength(1000)]
|
||||
public string migration_eva_result { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,16 @@ namespace TodoAPI2.Models
|
||||
|
||||
public string level_this_time { get; set; }
|
||||
|
||||
public decimal? position_allowance_at_this_time { get; set; }
|
||||
|
||||
public decimal? other_money_at_this_time { get; set; }
|
||||
|
||||
public decimal? migration_total_score { get; set; }
|
||||
|
||||
public string migration_eva_result { get; set; }
|
||||
|
||||
public string active_mode { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -146,6 +146,11 @@ namespace TodoAPI2.Models
|
||||
position_this_time = m_eva_adjust_postponement_detail_migration.position_this_time,
|
||||
level_this_time = m_eva_adjust_postponement_detail_migration.level_this_time,
|
||||
|
||||
position_allowance_at_this_time = m_eva_adjust_postponement_detail_migration.position_allowance_at_this_time,
|
||||
other_money_at_this_time = m_eva_adjust_postponement_detail_migration.other_money_at_this_time,
|
||||
migration_total_score = m_eva_adjust_postponement_detail_migration.migration_total_score,
|
||||
migration_eva_result = m_eva_adjust_postponement_detail_migration.migration_eva_result,
|
||||
|
||||
adjust_postponement_id_eva_adjust_postponement_fiscal_year = fk_eva_adjust_postponementResult1.fiscal_year,
|
||||
adjust_postponement_quota_id_eva_adjust_postponement_fiscal_year = fk_eva_adjust_postponementResult2.fiscal_year,
|
||||
employee_id_external_linkage_external_name = fk_external_linkageResult3.fullname,
|
||||
@@ -212,6 +217,11 @@ namespace TodoAPI2.Models
|
||||
existingEntity.position_this_time = model.position_this_time;
|
||||
existingEntity.level_this_time = model.level_this_time;
|
||||
|
||||
existingEntity.position_allowance_at_this_time = model.position_allowance_at_this_time;
|
||||
existingEntity.other_money_at_this_time = model.other_money_at_this_time;
|
||||
existingEntity.migration_total_score = model.migration_total_score;
|
||||
existingEntity.migration_eva_result = model.migration_eva_result;
|
||||
|
||||
var updated = _repository.Update(id, existingEntity);
|
||||
return Get(updated.id);
|
||||
}
|
||||
@@ -244,6 +254,11 @@ namespace TodoAPI2.Models
|
||||
existingEntity.position_this_time = i.position_this_time;
|
||||
existingEntity.level_this_time = i.level_this_time;
|
||||
|
||||
existingEntity.position_allowance_at_this_time = i.position_allowance_at_this_time;
|
||||
existingEntity.other_money_at_this_time = i.other_money_at_this_time;
|
||||
existingEntity.migration_total_score = i.migration_total_score;
|
||||
existingEntity.migration_eva_result = i.migration_eva_result;
|
||||
|
||||
//existingEntity.SetAutoField(_repository.Context);
|
||||
_repository.UpdateWithoutCommit(i.id.Value, existingEntity);
|
||||
}
|
||||
|
||||
@@ -44,6 +44,14 @@ namespace TodoAPI2.Models
|
||||
|
||||
public string level_this_time { get; set; }
|
||||
|
||||
public decimal? position_allowance_at_this_time { get; set; }
|
||||
|
||||
public decimal? other_money_at_this_time { get; set; }
|
||||
|
||||
public decimal? migration_total_score { get; set; }
|
||||
|
||||
public string migration_eva_result { get; set; }
|
||||
|
||||
public int? adjust_postponement_id_eva_adjust_postponement_fiscal_year { get; set; }
|
||||
public int? adjust_postponement_quota_id_eva_adjust_postponement_fiscal_year { get; set; }
|
||||
public string employee_id_external_linkage_external_name { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user