แก้บักด่วน 1 รายการ
This commit is contained in:
@@ -53,9 +53,9 @@ namespace TodoAPI2.Models
|
|||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(behavior))
|
if (!string.IsNullOrEmpty(behavior))
|
||||||
{
|
{
|
||||||
if (behavior.Split(' ').Count() > 1)
|
if (behavior.Trim().Split(' ').Count() > 1)
|
||||||
{
|
{
|
||||||
return behavior.Replace(behavior.Split(' ')[0], "");
|
return behavior.Replace(behavior.Trim().Split(' ')[0], "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return behavior;
|
return behavior;
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ namespace TodoAPI2.Models
|
|||||||
&& (m_eva_evaluation_behavior.create_evaluation_detail_id == model.create_evaluation_detail_id || !model.create_evaluation_detail_id.HasValue)
|
&& (m_eva_evaluation_behavior.create_evaluation_detail_id == model.create_evaluation_detail_id || !model.create_evaluation_detail_id.HasValue)
|
||||||
|
|
||||||
|
|
||||||
orderby m_eva_evaluation_behavior.behavior
|
orderby m_eva_evaluation_behavior.behavior_fix
|
||||||
select new eva_evaluation_behaviorViewModel()
|
select new eva_evaluation_behaviorViewModel()
|
||||||
{
|
{
|
||||||
id = m_eva_evaluation_behavior.id,
|
id = m_eva_evaluation_behavior.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user