正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -106,6 +106,9 @@ func (dividendsOrder *DividendsOrder) Update(data map[string]interface{}) error | @@ -106,6 +106,9 @@ func (dividendsOrder *DividendsOrder) Update(data map[string]interface{}) error | ||
106 | if customerName, ok := data["customerName"]; ok { | 106 | if customerName, ok := data["customerName"]; ok { |
107 | dividendsOrder.CustomerName = customerName.(string) | 107 | dividendsOrder.CustomerName = customerName.(string) |
108 | } | 108 | } |
109 | + if remarks, ok := data["remarks"]; ok { | ||
110 | + dividendsOrder.Remarks = remarks.(string) | ||
111 | + } | ||
109 | dividendsOrder.UpdatedAt = time.Now() | 112 | dividendsOrder.UpdatedAt = time.Now() |
110 | return nil | 113 | return nil |
111 | } | 114 | } |
-
请 注册 或 登录 后发表评论