123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <templet>
- <version>1.0</version>
- <procedure _name="target">
- <parameters>
- <parameter>
- <name>codes</name>
- <description>范围列表,[{code:'SE',type:'major'},{code:'SELT',type:'sys'}]</description>
- <type>32</type>
- <format></format>
- </parameter>
- </parameters>
- <actions>
- <operation_set>
- <name>action</name>
- <description>设置系统和专业的交付范围</description>
- <operations>
- <sql_operation>
- <name>clear</name>
- <dataSource>poc</dataSource>
- <sql>delete from `main_scope` where type='major' or type='sys'</sql>
- </sql_operation>
- <table_operation>
- <name>save</name>
- <dataSource>poc</dataSource>
- <mode>1</mode>
- <table>main_scope</table>
- <fields>
- <field_data>
- <field>type</field>
- <data>=bind(codes)</data>
- </field_data>
- <field_data>
- <field>code</field>
- <data>=bind(codes)</data>
- </field_data>
- </fields>
- </table_operation>
- </operations>
- </operation_set>
- </actions>
- </procedure>
- <comments>
- <next_id>1</next_id>
- <list>
- <comment>
- <id>0</id>
- <items>
- <comment_item>
- <content>设置系统和专业的范围</content>
- <update_time>2021-6-10 18:4</update_time>
- </comment_item>
- </items>
- </comment>
- </list>
- </comments>
- <comment_id>0</comment_id>
- </templet>
|