|
@@ -1601,6 +1601,13 @@ namespace OASystem.API.Controllers
|
|
int rowNumber = 1;
|
|
int rowNumber = 1;
|
|
foreach (var item_rst in list_rst)
|
|
foreach (var item_rst in list_rst)
|
|
{
|
|
{
|
|
|
|
+ DateTime dtTemp;
|
|
|
|
+ bool b = DateTime.TryParse(item_rst.visitDate, out dtTemp);
|
|
|
|
+ if (b) {
|
|
|
|
+ item_rst.visitDate = dtTemp.ToString("yyyy-MM-dd");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
item_rst.No = rowNumber;
|
|
item_rst.No = rowNumber;
|
|
rowNumber++;
|
|
rowNumber++;
|
|
|
|
|