prj_project_change_save.lsc 826 Bytes
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" trace="true">
    <a:init-procedure>
        <a:batch-apply sourcepath="/parameter">
            <p:switch test="@current_parameter/@_status">
                <p:case value="insert">
                    <a:model-insert model="prj.PRJ1000.prj_project_change_req_info"/>
                </p:case>
                <p:case value="update">
                    <a:model-update model="prj.PRJ1000.prj_project_change_req_info"/>
                </p:case>
            </p:switch>
            <a:model-batch-update model="prj.PRJ1000.prj_project_change_con_list" sourcePath="@current_parameter/lines"/>
        </a:batch-apply>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>