<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<activity id="__ROBw4UX55vicQVdITIM">
  <name>删除</name>
  <parentId>__1ZcECfdFoAfNsxtvUN6</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <type>3</type>
  <onActionForm></onActionForm>
  <onActionView></onActionView>
  <onActionFlow></onActionFlow>
  <onActionPrint></onActionPrint>
  <colorType>default</colorType>
  <beforeActionScript><![CDATA[#include "getDsName"
(function(){ 
 var selectId = getParameterAsText("_selects");
var arrto = splitText(selectId,";");       
var errorStr = "";            
var applyRuleIdStr = '"';
var dominId = getDomainid();
var dsName = getDsName();
if(!isNotNull(selectId)){                               
  return createAlert("请先勾选需要删除的数据");                               
}           
for(var i=0;i<arrto.length;i++){
  applyRuleIdStr += arrto[i] + '","';
}
applyRuleIdStr = applyRuleIdStr.substring(0, applyRuleIdStr.length - 2);
var sql ="delete t1,t2,t3,t4 from tlk_apply_rule_info t1 "+         
          		"left JOIN "+         
         		"tlk_apply_column_info t2 on t1.ID = t2.ITEM_APPLYRULEID "+    
    			"left JOIN "+         
         		"tlk_apply_condition_info t3 on t2.ITEM_APPLYRULEID = t3.ITEM_APPLYRULEID "+  
        		"left JOIN "+         
         		"tlk_rule_object_info t4 on t3.ITEM_APPLYRULEID = t4.ITEM_RULEID "+  
         		"where t1.ID in ("+ applyRuleIdStr +")";        
deleteByDSName(dsName,sql);   
})()]]></beforeActionScript>
  <afterActionScript><![CDATA[]]></afterActionScript>
  <retractBeforeActionScript><![CDATA[]]></retractBeforeActionScript>
  <retractAfterActionScript><![CDATA[]]></retractAfterActionScript>
  <hiddenScript><![CDATA[]]></hiddenScript>
  <readonlyScript><![CDATA[]]></readonlyScript>
  <startFlowScript><![CDATA[]]></startFlowScript>
  <editMode>0</editMode>
  <flowShowType></flowShowType>
  <fileNameScript><![CDATA[]]></fileNameScript>
  <orderno>2</orderno>
  <stateToShow></stateToShow>
  <parentView>__1ZcECfdFoAfNsxtvUN6</parentView>
  <parentForm></parentForm>
  <impmappingconfigid>__7tkXQ8UWGSqrTJkHtCB</impmappingconfigid>
  <jumpType>0</jumpType>
  <expSub>false</expSub>
  <icon></icon>
  <disableFlowNode>false</disableFlowNode>
  <changeFlowOperator>false</changeFlowOperator>
  <changeFlowCc>false</changeFlowCc>
  <multiLanguageLabel></multiLanguageLabel>
  <dispatcherMode>0</dispatcherMode>
  <dispatcherUrl><![CDATA[]]></dispatcherUrl>
  <dispatcherParams><![CDATA[]]></dispatcherParams>
  <jumpMode>1</jumpMode>
  <jumpActOpenType>0</jumpActOpenType>
  <withOld>false</withOld>
  <actionType>0</actionType>
  <actionDispatcherUrlScript><![CDATA[]]></actionDispatcherUrlScript>
  <actionSelection>0</actionSelection>
  <relatedFormId></relatedFormId>
  <actionScript><![CDATA[]]></actionScript>
  <workFlowType>0</workFlowType>
  <contextMenu>false</contextMenu>
  <showInToolbar>true</showInToolbar>
  <transpond>选择</transpond>
  <targetList>__pv8pd9ykExqgVfGcWYM|</targetList>
  <label><![CDATA[]]></label>
</activity>