作者 唐旭辉

修复:bug -31

@@ -874,7 +874,7 @@ func (service OrderInfoService) ListOrderForExcel(listOrderQuery query.ListOrder @@ -874,7 +874,7 @@ func (service OrderInfoService) ListOrderForExcel(listOrderQuery query.ListOrder
874 listOrderQuery.CompanyId, 874 listOrderQuery.CompanyId,
875 listOrderQuery.PartnerOrCode, 875 listOrderQuery.PartnerOrCode,
876 [2]string{listOrderQuery.UpdateTimeBegin, listOrderQuery.UpdateTimeEnd}, 876 [2]string{listOrderQuery.UpdateTimeBegin, listOrderQuery.UpdateTimeEnd},
877 - [2]string{listOrderQuery.CreateTimeBegin, listOrderQuery.UpdateTimeEnd}, 877 + [2]string{listOrderQuery.CreateTimeBegin, listOrderQuery.CreateTimeEnd},
878 listOrderQuery.PartnerCategory, 878 listOrderQuery.PartnerCategory,
879 ) 879 )
880 if err != nil { 880 if err != nil {
@@ -225,9 +225,9 @@ func (s SyncOrderService) copyOrderBestshopToOrderBase(orderBestshop *domain.Ord @@ -225,9 +225,9 @@ func (s SyncOrderService) copyOrderBestshopToOrderBase(orderBestshop *domain.Ord
225 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, e) 225 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, e)
226 } 226 }
227 for _, v := range companyData.Applets { 227 for _, v := range companyData.Applets {
228 - // if v.Id == BEST_SHOP_UNIONID {  
229 - canCopyOrder = true  
230 - // } 228 + if len(v.Id) > 0 {
  229 + canCopyOrder = true
  230 + }
231 } 231 }
232 if !canCopyOrder { 232 if !canCopyOrder {
233 logs.Warning("公司未设置xiangmi小程序原始id; order_bestshop.id=%d", orderBestshop.Id) 233 logs.Warning("公司未设置xiangmi小程序原始id; order_bestshop.id=%d", orderBestshop.Id)