2023-03-30 报表升级

This commit is contained in:
2023-03-30 18:17:53 +08:00
parent 70bde21f2a
commit e7295249ff
185 changed files with 62531 additions and 1061 deletions
@@ -21,11 +21,11 @@ namespace BLL
public static void SetComplete(string unitId, string reportType, string year, string value)
{
Model.Information_UrgeReport urgeReport = new Model.Information_UrgeReport();
if (reportType == Const.ReportType_1 || reportType == Const.ReportType_2)
if (reportType == Const.ReportType_1 || reportType == Const.ReportType_2 || reportType == Const.ReportType_8)
{
urgeReport = Funs.DB.Information_UrgeReport.FirstOrDefault(x => x.UnitId == unitId && x.ReprotType == reportType && x.YearId == year && x.MonthId == value);
}
else if (reportType == Const.ReportType_3 || reportType == Const.ReportType_4)
else if (reportType == Const.ReportType_3 || reportType == Const.ReportType_4 || reportType == Const.ReportType_9)
{
urgeReport = Funs.DB.Information_UrgeReport.FirstOrDefault(x => x.UnitId == unitId && x.ReprotType == reportType && x.YearId == year && x.QuarterId == value);
}
@@ -33,6 +33,10 @@ namespace BLL
{
urgeReport = Funs.DB.Information_UrgeReport.FirstOrDefault(x => x.UnitId == unitId && x.ReprotType == reportType && x.YearId == year && x.HalfYearId == value);
}
else if (reportType == Const.ReportType_6 || reportType == Const.ReportType_7 || reportType == Const.ReportType_10)
{
urgeReport = Funs.DB.Information_UrgeReport.FirstOrDefault(x => x.UnitId == unitId && x.ReprotType == reportType && x.YearId == year);
}
if (urgeReport != null)
{
urgeReport.IsComplete = true;