⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 worktree.java

📁 ERO系统.针对生产型、分销型、服务型企业等不同的行业特点
💻 JAVA
字号:
package include.nseer_cookie;

import include.nseer_db.nseer_db;

import include.tree_index.Nseer;

public class WorkTree {
	public static void setZero(String unit_db_name,String mod,String first) {
		
		nseer_db db=new nseer_db(unit_db_name);
		Nseer n=new Nseer();
		try{
			String sql="update "+mod+"_tree set workflow_tag='0' where hreflink='"+"check_list.jsp"+"' and file_path='"+mod+"/"+first+"/"+"'";
			db.executeUpdate(sql);
			sql="update "+mod+"_view set workflow_tag='0' where hreflink='"+"check_list.jsp"+"' and file_path='"+mod+"/"+first+"/"+"'";
			db.executeUpdate(sql);
			db.close();
		
		}catch(Exception ex){
			ex.printStackTrace();
		}
	}
	
	public static void setOne(String unit_db_name,String mod,String first) {
		
		nseer_db db=new nseer_db(unit_db_name);
		Nseer n=new Nseer();
		try{
			String sql="update "+mod+"_tree set workflow_tag='1' where hreflink='"+"check_list.jsp"+"' and file_path='"+mod+"/"+first+"/"+"'";
			db.executeUpdate(sql);
			sql="update "+mod+"_view set workflow_tag='1' where hreflink='"+"check_list.jsp"+"' and file_path='"+mod+"/"+first+"/"+"'";
			db.executeUpdate(sql);
			db.close();
		
		}catch(Exception ex){
			ex.printStackTrace();
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -