報表發送失敗修復

This commit is contained in:
b110212000 2022-03-02 11:18:52 +08:00
parent 1ed04e15e0
commit 31447af556

View File

@ -1046,6 +1046,10 @@ namespace SolarPower.Controllers
} }
var sheet = workbook.CreateSheet(powerstationid.Name); var sheet = workbook.CreateSheet(powerstationid.Name);
var Formbody = GetForm(select_Table);//取body var Formbody = GetForm(select_Table);//取body
if(Formbody.Result.Data.Count == 0)
{
continue;
}
var Formhead = GetTableHead(select_Table);//取head var Formhead = GetTableHead(select_Table);//取head
int RowPosition = 0; int RowPosition = 0;