รวม code แก้บัก
This commit is contained in:
@@ -173,6 +173,8 @@ namespace TodoAPI2.Models
|
||||
existingEntity.weight = model.weight;
|
||||
existingEntity.score = model.score;
|
||||
existingEntity.sumary = model.sumary;
|
||||
existingEntity.score2 = model.score;
|
||||
existingEntity.sumary2 = model.sumary;
|
||||
existingEntity.target_score1 = model.target_score1;
|
||||
existingEntity.target_score2 = model.target_score2;
|
||||
existingEntity.target_score3 = model.target_score3;
|
||||
@@ -212,13 +214,14 @@ namespace TodoAPI2.Models
|
||||
//existingEntity.weight = i.weight;
|
||||
existingEntity.score = i.score;
|
||||
existingEntity.sumary = i.sumary;
|
||||
existingEntity.score2 = i.score;
|
||||
existingEntity.sumary2 = i.sumary;
|
||||
//existingEntity.target_score1 = i.target_score1;
|
||||
//existingEntity.target_score2 = i.target_score2;
|
||||
//existingEntity.target_score3 = i.target_score3;
|
||||
//existingEntity.target_score4 = i.target_score4;
|
||||
//existingEntity.target_score5 = i.target_score5;
|
||||
|
||||
|
||||
_repository.UpdateWithoutCommit(i.id.Value, existingEntity);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,6 +105,7 @@ namespace TodoAPI2.Models
|
||||
behavior = m_eva_evaluation_behavior_process2.behavior,
|
||||
weight = m_eva_evaluation_behavior_process2.weight,
|
||||
score = m_eva_evaluation_behavior_process2.score,
|
||||
sumary = m_eva_evaluation_behavior_process2.sumary,
|
||||
score2 = m_eva_evaluation_behavior_process2.score2,
|
||||
sumary2 = m_eva_evaluation_behavior_process2.sumary2,
|
||||
target_score1 = m_eva_evaluation_behavior_process2.target_score1,
|
||||
|
||||
@@ -22,6 +22,8 @@ namespace TodoAPI2.Models
|
||||
|
||||
public decimal? score { get; set; }
|
||||
|
||||
public decimal? sumary { get; set; }
|
||||
|
||||
public decimal? score2 { get; set; }
|
||||
|
||||
public decimal? sumary2 { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user