Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
3.7 kB
6
Indexable
Never
<service name="addPaymentProcessHondok" bean="" output="outputDto">
        <informations>
            <description>Add Payment Process Honor Dokter</description>
            <info-in>
                <info name="result.header.userLoginId" type="Long" description="User login id" />
                <info name="result.header.tenantLoginId" type="Long" description="Tenant login id" />
                <info name="result.header.roleLoginId" type="Long" description="Role login id" />
                <info name="result.header.datetime" type="String" description="Datetime" />
                <info name="result.header.taskName" type="String" description="Task name" />

                <info name="result.payload.ouId" type="Long" description="ouId" />
                <info name="result.payload.paymentOrderNo" type="String" description="Payment Order No" />
                <info name="result.payload.paymentOrderDate" type="String" description="Payment Order Date" />
                <info name="result.payload.remark" type="String" description="Remark" />
                <info name="result.payload.totalAmount" type="Long" description="Total Amount" />
                <info name="result.payload.balanceProcessHondokList" type="List" description="Balance Process Hondok List" />

            </info-in>
            <info-out>
                <info name="result.ouId" type="Long" description="OU Id" />
                <info name="result.paymentOrderNo" type="String" description="Payment Order No" />
                <info name="result.paymentOrderDate" type="String" description="Payment Order Date" />
                <info name="result.remark" type="String" description="Remark" />
                <info name="result.totalAmount" type="Long" description="Total Amount" />
                <info name="result.balanceProcessHondokList" type="List" description="Balance Process Hondok List" />
                <info name="result.balanceProcessHondokIds" type="String" description="Balance Process Hondok Ids" />
            </info-out>
        </informations>

        <!-- Create input for autonumber if needed -->
        <mod-dto output="inputDto">
            <key name="userLoginId" type="Long" from="${result.header.userLoginId}" />
            <key name="tenantLoginId" type="Long" from="${result.header.tenantLoginId}" />
            <key name="roleLoginId" type="Long" from="${result.header.roleLoginId}" />
            <key name="datetime" type="String" from="${result.header.datetime}" />

            <key name="ouId" type="Long" from="${result.payload.ouId}" />
            <key name="paymentOrderNo" type="String" from="${result.payload.paymentOrderNo}" />
            <key name="paymentOrderDate" type="String" from="${result.payload.paymentOrderDate}" />
            <key name="remark" type="String" from="${result.payload.remark}" />
            <key name="totalAmount" type="Long" from="${result.payload.totalAmount}" />
            <key name="balanceProcessHondokList" type="List" from="${result.payload.balanceProcessHondokList}" />
        </mod-dto>

        <mod-dto output="inputDtoForParamAutonum">
            <key name="id" type="Long" from="${result.payload.ouId}" />
        </mod-dto>
        <autonumber ref="paymentOrderCBHondok" action="CREATE" />
        <approval ref="paymentOrderCB" action="CREATE" />
        <call-bt name="addPaymentProcessHondok" input="${inputDto}" output="outputDto" approval-ref="paymentOrderCB">
            <autonumber-ref>
                <ref name="paymentOrderCBHondok" />
            </autonumber-ref>
            <onsuccess />
            <onerror />
        </call-bt>
    </service>
Leave a Comment