...
|
...
|
@@ -106,6 +106,9 @@ func (dividendsOrder *DividendsOrder) Update(data map[string]interface{}) error |
|
|
if customerName, ok := data["customerName"]; ok {
|
|
|
dividendsOrder.CustomerName = customerName.(string)
|
|
|
}
|
|
|
if remarks, ok := data["remarks"]; ok {
|
|
|
dividendsOrder.Remarks = remarks.(string)
|
|
|
}
|
|
|
dividendsOrder.UpdatedAt = time.Now()
|
|
|
return nil
|
|
|
} |
...
|
...
|
|