|
@@ -406,7 +406,8 @@ func (dividendsOrderService *DividendsOrderService) ImportDividendsOrder(importD |
|
@@ -406,7 +406,8 @@ func (dividendsOrderService *DividendsOrderService) ImportDividendsOrder(importD |
406
|
v := reflect.ValueOf(dividendsOrder)
|
406
|
v := reflect.ValueOf(dividendsOrder)
|
407
|
for k := 0; k < t.NumField(); k++ {
|
407
|
for k := 0; k < t.NumField(); k++ {
|
408
|
//fmt.Println("name:", fmt.Sprintf("%+v", t.Field(k).Name), ", value:", fmt.Sprintf("%v", v.Field(k).Interface()), ", yaml:", t.Field(k).Tag.Get("yaml"))
|
408
|
//fmt.Println("name:", fmt.Sprintf("%+v", t.Field(k).Name), ", value:", fmt.Sprintf("%v", v.Field(k).Interface()), ", yaml:", t.Field(k).Tag.Get("yaml"))
|
409
|
- if k != 7 && k != 8 {
|
409
|
+ fmt.Println("name:", fmt.Sprintf("%+v", t.Field(k).Name), ", value:", fmt.Sprintf("%v", v.Field(k).Interface()))
|
|
|
410
|
+ if t.Field(k).Name != "RegionName" && t.Field(k).Name != "Expense" {
|
410
|
if v.Field(k).Interface() == "" {
|
411
|
if v.Field(k).Interface() == "" {
|
411
|
col := strconv.Itoa(k + 1)
|
412
|
col := strconv.Itoa(k + 1)
|
412
|
nullCell = append(nullCell, col)
|
413
|
nullCell = append(nullCell, col)
|