正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -21,7 +21,7 @@ type DividendsIncentivesEstimateDto struct { | @@ -21,7 +21,7 @@ type DividendsIncentivesEstimateDto struct { | ||
21 | // 订单金额 | 21 | // 订单金额 |
22 | OrderAmount float64 `json:"orderAmount"` | 22 | OrderAmount float64 `json:"orderAmount"` |
23 | // 订单/退货单日期 | 23 | // 订单/退货单日期 |
24 | - OrderDate string `json:"orderDate"` | 24 | + OrderDate time.Time `json:"orderDate"` |
25 | } | 25 | } |
26 | 26 | ||
27 | func (dto *DividendsIncentivesEstimateDto) LoadDto(orderGood *domain.OrderGood, orderNumber string, originalOrderNum string, customerName string, regionName string, orderDate time.Time) error { | 27 | func (dto *DividendsIncentivesEstimateDto) LoadDto(orderGood *domain.OrderGood, orderNumber string, originalOrderNum string, customerName string, regionName string, orderDate time.Time) error { |
@@ -32,6 +32,6 @@ func (dto *DividendsIncentivesEstimateDto) LoadDto(orderGood *domain.OrderGood, | @@ -32,6 +32,6 @@ func (dto *DividendsIncentivesEstimateDto) LoadDto(orderGood *domain.OrderGood, | ||
32 | dto.CustomerName = customerName | 32 | dto.CustomerName = customerName |
33 | dto.RegionName = regionName | 33 | dto.RegionName = regionName |
34 | dto.OrderAmount = orderGood.OrderGoodAmount | 34 | dto.OrderAmount = orderGood.OrderGoodAmount |
35 | - dto.OrderDate = orderDate.String() | 35 | + dto.OrderDate = orderDate |
36 | return nil | 36 | return nil |
37 | } | 37 | } |
-
请 注册 或 登录 后发表评论