SVN r335
SVN-Revision: r335
This commit is contained in:
@@ -838,7 +838,7 @@ namespace Lskj.ProductiSched
|
|||||||
string colName = dayValue.ToString("yyyy-MM-dd");
|
string colName = dayValue.ToString("yyyy-MM-dd");
|
||||||
if (dayValue >= startDate && dayValue <= endDate && dataMain.Columns.Contains(colName))
|
if (dayValue >= startDate && dayValue <= endDate && dataMain.Columns.Contains(colName))
|
||||||
{
|
{
|
||||||
Decimal.TryParse(dayRow["amount"] + "", out decimal amountValue);
|
decimal.TryParse(dayRow["amount"] + "", out decimal amountValue);
|
||||||
dataMap[key][colName] = amountValue;
|
dataMap[key][colName] = amountValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -909,7 +909,8 @@ namespace Lskj.ProductiSched
|
|||||||
string colName = dayValue.ToString("yyyy-MM-dd");
|
string colName = dayValue.ToString("yyyy-MM-dd");
|
||||||
if (dayValue >= startDate && dayValue <= endDate && focusedRow.Table.Columns.Contains(colName))
|
if (dayValue >= startDate && dayValue <= endDate && focusedRow.Table.Columns.Contains(colName))
|
||||||
{
|
{
|
||||||
dataMap[key][colName] = Convert.ToDecimal(dayRow["amount"]);
|
decimal.TryParse(dayRow["amount"] + "", out decimal amountValue);
|
||||||
|
dataMap[key][colName] = amountValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user