📄 worktree.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 + -