...
|
...
|
@@ -87,7 +87,7 @@ func (s SyncOrderService) SyncOrderFromBestshop(cmd command.CreateOrderFromBests |
|
|
|
|
|
/**
|
|
|
* @Author SteveChan
|
|
|
* @Description //TODO 同步小程序订单,增加销售时间
|
|
|
* @Description //同步小程序订单,增加销售时间
|
|
|
* @Date 23:53 2021/1/26
|
|
|
* @Param
|
|
|
* @return
|
...
|
...
|
@@ -266,7 +266,7 @@ func (s SyncOrderService) copyOrderBestshopToOrderBase(orderBestshop *domain.Ord |
|
|
orderbase.PartnerCategory = domain.PartnerCategory{Id: 1, Name: "事业合伙人"}
|
|
|
orderbase.Compute()
|
|
|
// 销售日期
|
|
|
orderbase.SaleDate = orderBestshop.CreateTime
|
|
|
//orderbase.SaleDate = orderBestshop.CreateTime
|
|
|
err = orderBaseRepository.Save(&orderbase)
|
|
|
if err != nil {
|
|
|
e := fmt.Sprintf("添加order_base数据失败%s", err)
|
...
|
...
|
|