payload = {"dealerNo" : (flowVars.resultMap == null ? null : flowVars.resultMap.dealerNo) ,"photoType" : "SV","photoTitleList":["门面全景","营业区全景","参观体验区全景","会议室","美容室","营业执照"]};]]></expression-component>
<choice doc:name="Choice">
<when expression="payload != null && payload.dealerNo != null">
<dubbo:execute-proxy config-ref="dubbo-interface-dealer-DealerBusinessApi" method="listDealerPhoto:dealerNo#photoType#photoTitleList" doc:name="DealerBusinessApi.listDealerPhoto"/>
<expression-component doc:name="Expression"><![CDATA[if(payload != null && payload.result != null){
flowVars.resultMap.storePhotos = new java.util.ArrayList();
for (com.infinitus.gbss.dealer.result.DealerPhotoResult p : payload.result){
flowVars.photo = new java.util.HashMap();
flowVars.photo.put("attachmentName",p.photoTitle);
flowVars.photo.put("attachmentResId",p.storageResId);