-1

Moqui Framework を使用してアプリケーションを実装しました。残りがこのような場合

<resource name="userstores">
    <id name="parentId">
        <method type="get"><entity name="UserRoleMaps" operation="list"/></method>

         <resource name="child_Id">
            <method type="get"><entity name="users" operation="one"/></method>
         </resource>

    </id>  
</resource>

UserRoleMaps エンティティに child_Id 列があり、UserRolemaps から child_Id を取得する必要がありデータ取得する条件としてユーザーエンティティに渡す必要があります。どうすればそれを繰り返すことができますか。

私が試している URL は次のとおりです: http://localhost:8080/moqui/rest/s1/moqui/userstores/100

4

1 に答える 1