首页 > 其他 > 详细

框架使用整理 --创建的时候使用前面创建成功的输出

时间:2016-07-05 12:16:45      阅读:225      评论:0      收藏:0      [点我收藏+]
<service verb="create" noun="TelecomNumber">
<in-parameters>
<auto-parameters entity-name="mantle.party.contact.TelecomNumber" include="nonpk"/>
<parameter name="partyId" required="true"/>
<parameter name="contactMechPurposeId" required="true"/>
</in-parameters>
<out-parameters>
<parameter name="contactMechId" required="true"/>
</out-parameters>
<actions>
<entity-make-value entity-name="mantle.party.contact.ContactMech" value-field="contactMech" map="[contactMechTypeEnumId:‘CmtTelecomNumber‘]"/>
<entity-sequenced-id-primary value-field="contactMech"/>
<entity-create value-field="contactMech"/>
<set field="contactMechId" from="contactMech.contactMechId"/>
<entity-make-value entity-name="mantle.party.contact.TelecomNumber" value-field="telecomNumber"/>
<set field="telecomNumber.contactMechId" from="contactMech.contactMechId"/>
<entity-set value-field="telecomNumber" include="nonpk"/>
<entity-create value-field="telecomNumber"/>
<service-call name="create#mantle.party.contact.PartyContactMech" in-map="context"/>
</actions>
</service>

框架使用整理 --创建的时候使用前面创建成功的输出

原文:http://www.cnblogs.com/dream-to-pku/p/5643040.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!