match p=(n:CITG{CITG:‘A’})->[r:include]->(m:ITEM)-[r1:father*]->(m1:ITEM)<-[r2:include{CPCL:‘103’}]-(:CITG)
WITH m.item as mitem, m1.item as item,extract(c in r1|c.NUM) AS t
WITH mitem,item,reduce(a=1,c1 in t|a*c1) as num
RETURN mitem,item,num
已经解决了!!!