Browse Source

Merge branch 'bzq1/execl-edit' of eta_server/eta_api into debug

鲍自强 9 tháng trước cách đây
mục cha
commit
630860df9d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      controllers/target.go

+ 2 - 2
controllers/target.go

@@ -3964,13 +3964,13 @@ func (this *TargetController) ExcelDataAdd() {
 				closeVal := req.Data[i][j].(map[string]interface{})
 				if item, ok := secNameToDateMap[secNameList[j-1]]; ok {
 					tmpVal, ok := closeVal["m"].(string)
-					if !ok {
+					if !ok || tmpVal == "" {
 						continue
 					}
 					item[date] = tmpVal
 				} else {
 					tmpVal, ok := closeVal["m"].(string)
-					if !ok {
+					if !ok || tmpVal == "" {
 						continue
 					}
 					secNameToDateMap[secNameList[j-1]] = map[string]string{