|
|
|
@ -544,33 +544,41 @@ public class GoodsServiceImpl implements GoodsService { |
|
|
|
tgmap.put("otherIdentifiers",gd.getOtherIdentifiers()); |
|
|
|
tgmap.put("classification",gd.getClassification()); |
|
|
|
|
|
|
|
// tgmap.put("servicecode",null);
|
|
|
|
// tgmap.put("linkcode",null);
|
|
|
|
// tgmap.put("publisherId",null);
|
|
|
|
// tgmap.put("registrant",null);
|
|
|
|
// tgmap.put("resolution_url",null);
|
|
|
|
// tgmap.put("source_type",null);
|
|
|
|
// tgmap.put("source_name_type",null);
|
|
|
|
// tgmap.put("source_name",null);
|
|
|
|
// tgmap.put("sourceIdentify",null);
|
|
|
|
// tgmap.put("source_fragment",null);
|
|
|
|
// tgmap.put("target_name",null);
|
|
|
|
// tgmap.put("target_name_type",null);
|
|
|
|
// tgmap.put("targetIdentify",null);
|
|
|
|
// tgmap.put("target_fragment",null);
|
|
|
|
// tgmap.put("targetFormat",null);
|
|
|
|
// tgmap.put("source_data",null);
|
|
|
|
// tgmap.put("target_data",null);
|
|
|
|
// tgmap.put("metadataXml",null);
|
|
|
|
// tgmap.put("allocationtime",null);
|
|
|
|
if(glist!=null){ |
|
|
|
List tmpgs=new ArrayList(); |
|
|
|
for(GoodsSource gs:gslist){ |
|
|
|
tgmap.put("servicecode",gs.getServicecode()); |
|
|
|
tgmap.put("linkcode",gs.getLinkcode()); |
|
|
|
tgmap.put("publisherId",gs.getPublisherid()); |
|
|
|
tgmap.put("registrant",gs.getRegistrant()); |
|
|
|
tgmap.put("resolution_url",gs.getResolutionUrl()); |
|
|
|
tgmap.put("source_type",gs.getSourceType()); |
|
|
|
tgmap.put("source_name_type",gs.getSourceNameType()); |
|
|
|
tgmap.put("source_name",gs.getSourceName()); |
|
|
|
tgmap.put("sourceIdentify",gs.getSourceIdentify()); |
|
|
|
tgmap.put("source_fragment",gs.getSourceFragment()); |
|
|
|
tgmap.put("target_name",gs.getTargetName()); |
|
|
|
tgmap.put("target_name_type",gs.getTargetNameType()); |
|
|
|
tgmap.put("targetIdentify",gs.getTargetIdentify()); |
|
|
|
tgmap.put("target_fragment",gs.getTargetFragment()); |
|
|
|
tgmap.put("targetFormat",gs.getTargetFormat()); |
|
|
|
tgmap.put("source_data",gs.getSourceData()); |
|
|
|
tgmap.put("target_data",gs.getTargetData()); |
|
|
|
tgmap.put("metadataXml",gs.getMetadataXml()); |
|
|
|
tgmap.put("allocationtime",gs.getAllocationtime()); |
|
|
|
tgmap.put("cancellation_reason",gs.getCancellationReason()); |
|
|
|
} |
|
|
|
tgmap.put("source",tmpgs); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tgmap.put("cancellationtime",g.getCancelTime()); |
|
|
|
tgmap.put("cancellation_reason",null); |
|
|
|
|
|
|
|
tgmap.put("sale_count",g.getSaleCount()); |
|
|
|
tgmap.put("click_count",g.getClickCount()); |
|
|
|
tgmap.put("stock",gd.getStock()); |
|
|
|
tgmap.put("goods_image",gd.getGoodsImage()); |
|
|
|
tgmap.put("source",gslist); |
|
|
|
|
|
|
|
retlist.add(tgmap); |
|
|
|
} |
|
|
|
|
|
|
|
|