class ScriptReadPollTask extends AbstractSqlReadPollTask {
    public ScriptReadPollTask(SqlRead read) {
        super(read);
    }

    @Override
    public void doSave(Map<String, String> saveElementMap) {
        for (Map.Entry<String, String> entry : saveElementMap.entrySet()) {
            String scriptKey = entry.getKey();
            String newData = entry.getValue();

            NodeConvertHelper.NodeSimpleVO scriptVO = NodeConvertHelper.convert(scriptKey);
            NodeConvertHelper.changeScriptNode(scriptVO, newData);
        }
    }

    @Override
    public void doDelete(List<String> deleteElementId) {<FILL_FUNCTION_BODY>}

    @Override
    public ReadType type() {
        return ReadType.SCRIPT;
    }
}

        for (String id : deleteElementId) {
            NodeConvertHelper.NodeSimpleVO scriptVO = NodeConvertHelper.convert(id);

            //  删除script
            FlowBus.unloadScriptNode(scriptVO.getNodeId());
        }
    
<methods>public void <init>(com.yomahub.liteflow.parser.sql.read.SqlRead) ,public abstract void doDelete(List<java.lang.String>) ,public abstract void doSave(Map<java.lang.String,java.lang.String>) ,public void execute() ,public void initData(Map<java.lang.String,java.lang.String>) <variables>private final Map<java.lang.String,java.lang.String> DATA_SHA_MAP,private final non-sealed com.yomahub.liteflow.parser.sql.read.SqlRead read