Explorar o código

fix:表格异常返回

zqbao hai 4 meses
pai
achega
3749a6fd6b
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      services/excel/lucky_sheet.go

+ 0 - 3
services/excel/lucky_sheet.go

@@ -1219,9 +1219,6 @@ func GetTableDataByMixedTableData(config [][]request.MixedTableCellDataReq, hide
 	if err != nil {
 		return
 	}
-	if len(excelRuleMappingList) == 0 {
-		return
-	}
 	excelRuleMap := make(map[int]*models.ExcelInfoRuleMappingView)
 	for _, v := range excelRuleMappingList {
 		excelRuleMap[v.ExcelInfoRuleMappingId] = v