正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
@@ -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) |
-
请 注册 或 登录 后发表评论