The code above, you can achieve so? But I don't get any value, bosses solutions,
CodePudding user response:
Write no problem, order and output orderItem see whether have valueCodePudding user response:
So much code of writing is no problem, you need to have a clear whether you traverse the object's data structure can be like you so useCodePudding user response:
What is your orderList and orderitems data structure? Sure have a value?CodePudding user response:
My order is an object that orderItem is the key value object is the key order object id, output value is a list object in taichung orderItems and orderList has valueCodePudding user response:
Is your id Number or String? To determine the orderItems Key type and the type of the Order id are consistent?