作者 陈志颖

fix:分红激励规则DTO时间类型修改

@@ -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 }