MigrationOperation.jsp 734 Bytes
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="weaver.file.Prop,weaver.general.GCONST" %>
<%@ page import="weaver.general.Util" %>
<%@ page import="weaver.upgradetool.dbupgrade.upgrade.PropUtil" %>
<%@ page import="java.io.File" %>
<%
    String operationSwitchPath =GCONST.getRootPath() + "system" + File.separatorChar + "upgradetoe9" + File.separatorChar +"resource" + File.separatorChar + "operationSwitch.properties";
    PropUtil tablepropswitch=PropUtil.getInstance(operationSwitchPath);
    String switchVal = Util.null2String(tablepropswitch.getValues("switch"));
    //默认不使用,只有使用的时候才打开
    if(!"1".equals(switchVal)){
        return;
    } else {

    }

%>