exp_employee_assign.lsc 1.01 KB
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 18 19 20 21 22 23
<?xml version="1.0" encoding="UTF-8"?>
<!-- 员工分配对应的svc -->
<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="update">
                    <a:model-update model="exp.EXP1050.exp_employee_assigns"/>
                </p:case>
                <p:case value="insert">
                    <a:model-insert model="exp.EXP1050.exp_employee_assigns"/>
                </p:case>
                <p:case value="delete">
                    <a:model-delete model="exp.EXP1050.exp_employee_assigns"/>
                </p:case>
            </p:switch>
        </a:batch-apply>
        <a:batch-apply sourcepath="/parameter">
            <a:model-execute model="db.exp_employees_pkg.primary_position_flag_check"/>
        </a:batch-apply>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>