k5리포트 원래 수식대로 수정.

This commit is contained in:
chi
2021-05-13 10:18:10 +09:00
parent 36356cff79
commit 160222889a

View File

@@ -98,7 +98,7 @@ namespace FPJ0000.JobReport_
newdr2.Sign = string.Empty;
newdr2.ww = item.Key.Substring(2, 2) + "-" + int.Parse(drDate.ww).ToString("00");
newdr2.pdate = int.Parse(item.Key.Substring(8, 2)).ToString("00");
newdr2.value = item.Where(t => t.svalue == "Technical Support" && t.status != "진행 완료").Count();
newdr2.value = item.Where(t => t.svalue == "Technical Support" && (t.status == "진행 중" || t.status.EndsWith("%"))).Count();
newdr2.graph = true;
dsReport.K5DailyForm.AddK5DailyFormRow(newdr2);
@@ -182,7 +182,7 @@ namespace FPJ0000.JobReport_
newdr8.Sign = string.Empty;
newdr8.ww = item.Key.Substring(2, 2) + "-" + int.Parse(drDate.ww).ToString("00");
newdr8.pdate = int.Parse(item.Key.Substring(8, 2)).ToString("00");
newdr8.value = (double)(item.Where(t => t.svalue != "Overhaul" && t.svalue != "Project" && t.svalue != "Training").Sum(t => t.hrs));
newdr8.value = (double)(item.Where(t => (t.svalue == "Others" || t.svalue == "others")).Sum(t => t.hrs));
newdr8.graph = false;
dsReport.K5DailyForm.AddK5DailyFormRow(newdr8);