...
|
...
|
@@ -406,7 +406,8 @@ func (dividendsOrderService *DividendsOrderService) ImportDividendsOrder(importD |
|
|
v := reflect.ValueOf(dividendsOrder)
|
|
|
for k := 0; k < t.NumField(); k++ {
|
|
|
//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"))
|
|
|
if k != 7 && k != 8 {
|
|
|
fmt.Println("name:", fmt.Sprintf("%+v", t.Field(k).Name), ", value:", fmt.Sprintf("%v", v.Field(k).Interface()))
|
|
|
if t.Field(k).Name != "RegionName" && t.Field(k).Name != "Expense" {
|
|
|
if v.Field(k).Interface() == "" {
|
|
|
col := strconv.Itoa(k + 1)
|
|
|
nullCell = append(nullCell, col)
|
...
|
...
|
|