set_mr.clmt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <templet>
  2. <version>1.0</version>
  3. <procedure _name="target">
  4. <parameters>
  5. <parameter>
  6. <name>mr_codes</name>
  7. <description>机房类型代码列表</description>
  8. <type>32</type>
  9. <format></format>
  10. <defaultVal>[]</defaultVal>
  11. </parameter>
  12. <parameter>
  13. <name>sys</name>
  14. <description>系统</description>
  15. <format></format>
  16. <validate>
  17. <v_required _name="v1">
  18. </v_required>
  19. </validate>
  20. </parameter>
  21. </parameters>
  22. <actions>
  23. <operation_set>
  24. <name>action</name>
  25. <description>设置操作</description>
  26. <operations>
  27. <table_operation>
  28. <name>clear</name>
  29. <dataSource>poc</dataSource>
  30. <mode>3</mode>
  31. <table>mr_scope</table>
  32. <fields>
  33. <field_data>
  34. <field>sys</field>
  35. <data>=sys</data>
  36. </field_data>
  37. </fields>
  38. </table_operation>
  39. <table_operation>
  40. <name>save</name>
  41. <dataSource>poc</dataSource>
  42. <mode>1</mode>
  43. <table>mr_scope</table>
  44. <fields>
  45. <field_data>
  46. <field>sys</field>
  47. <data>=sys</data>
  48. </field_data>
  49. <field_data>
  50. <field>code</field>
  51. <data>=bind(mr_codes)</data>
  52. </field_data>
  53. </fields>
  54. </table_operation>
  55. </operations>
  56. </operation_set>
  57. </actions>
  58. </procedure>
  59. <comments>
  60. <next_id>1</next_id>
  61. <list>
  62. <comment>
  63. <id>0</id>
  64. <items>
  65. <comment_item>
  66. <content>设置精细化机房范围</content>
  67. <update_time>2021-6-8 14:47</update_time>
  68. </comment_item>
  69. </items>
  70. </comment>
  71. </list>
  72. </comments>
  73. <comment_id>0</comment_id>
  74. </templet>