|
|
@ -291,3 +291,24 @@ func (a *afterService) FindByAfsId(ctx context.Context, afsId uint) (reply Reply
|
|
|
|
err = xClient.Call(ctx, "FindByAfsId", afsId, &reply)
|
|
|
|
err = xClient.Call(ctx, "FindByAfsId", afsId, &reply)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ReplySourceSkuIdsAfsInfos struct {
|
|
|
|
|
|
|
|
SourceId uint // 供应商Id
|
|
|
|
|
|
|
|
SourceName string // 供应商名称
|
|
|
|
|
|
|
|
ChannelId uint // 客户Id
|
|
|
|
|
|
|
|
SkuId uint // 沙马skuId
|
|
|
|
|
|
|
|
SourceSkuId string // 供应商skuId
|
|
|
|
|
|
|
|
HopeTypeName string // 期望售后类型
|
|
|
|
|
|
|
|
TypeReasonName string // 售后原因
|
|
|
|
|
|
|
|
CustomerPrice decimal.Decimal // 销售价格
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// FindBySourceSkuIdsAfsInfos @Title 根据sourceSkuId查询售后信息
|
|
|
|
|
|
|
|
func (a *afterService) FindBySourceSkuIdsAfsInfos(ctx context.Context, sourceSkuIds []uint) (reply []ReplySourceSkuIdsAfsInfos, err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "FindBySourceSkuIdsAfsInfos", sourceSkuIds, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|