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

📄 special_plan_task_jsp.java

📁 tomcat最新安装程序
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
					hasRight=true;
				}
				
		 	}
		
		
      out.write("\r\n\t\r\n        ");
      out.write("<tr ");
if(set.getD_Cancellation().equals("y")){
      out.write(" bgcolor=\"#cccccc\"");
}   
		   else {if((i+1)%2==0){  
      out.write(" class=\"bgcolor\"");
}}
      out.write(">     \r\n          ");
      out.write("<td align=\"left\" class=\"common\" width=\"6%\" > ");
      out.print(set.getD_Num());
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\" class=\"common\" width=\"7%\"  nowrap> \r\n            ");
if((null != set.getUser_ID()) && (!set.getUser_ID().trim().equals(""))){
		out.println(StringFormat.changeHTMLTags(set.getI_Name()));
		}else{
		out.println("无");}
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\" class=\"common\" width=\"7%\" > \r\n            ");
if(null != set.getD_ManagerName()) 
		out.println(StringFormat.changeHTMLTags(set.getD_ManagerName()));
		
      out.write("\r\n          ");
      out.write("</td>\r\n");
      out.write("<!--add by tang 2004.06.18 增加助理-->\r\n          ");
      out.write("<td align=\"left\" class=\"common\" width=\"7%\"  nowrap> \r\n\t");
String aidpersonid = set.getD_AidPerson();
		if((set.getD_AidPerson().equals("")))  
		   { out.println("");
		     }else{
		     PersonInfoBusiness bibu = new PersonInfoBusiness();
		     bibu.setQueryWhere(aidpersonid);
             bibu.execute("query");
             PersonInfoRecordSet PiRdSet = bibu.getRecordSet();
             PiRdSet.next();
		     out.println(StringFormat.changeHTMLTags(PiRdSet.getI_Name()));
			 }
      out.write("\r\n\t\t\r\n\t");
      out.write("</td>\t\t \r\n");
      out.write("<!--add by tang 20040618-->\t\t\t \t\t \r\n          ");
      out.write("<td align=\"center\" class=\"common\" width=\"18%\" > \r\n\t\t  ");
      out.write("<a ");
if(hasRight){
      out.write(" href=\"#\" onClick=\"MM_openBrWindow('/krm/servlet/DetailServlet?module=detail&amp;&amp;status=q&amp;&amp;queryterm=primarykey&amp;&amp;id=");
      out.print(set.getD_Serial());
      out.write("&amp;&amp;isproblem=");
      out.print(isproblem);
      out.write("','detail','resizable=yes,width=800,height=500,top=2,left=2,scrollbars=no')\" ");
}
      out.write(">");
      out.print(StringFormat.changeHTMLTags(set.getD_Topic()));
      out.write("</a>");
      out.write("</td>\r\n          ");
      out.write("<td align=\"center\" class=\"common\" width=\"6%\"  nowrap>\r\n\t\t  ");
      out.write("<a");
if(hasRight){
      out.write(" href=\"/krm/servlet/DetailServlet?module=deaim&&status=q&&queryterm=show&&D_Serial=");
      out.print(set.getD_Serial());
      out.write("\"");
}
      out.write(">\r\n\t\t  ");

		  int aimcount=0;
		  if(null != set.getD_Goalcount()){
		  aimcount=Integer.parseInt(set.getD_Goalcount());
		  }
		  out.print(aimcount);
		  aimnumber = aimnumber + aimcount;
		  
      out.write("\r\n\t\t  ");
//=(String)Count7.get(i)
      out.write("</a>       \r\n\t\t  ");
      out.write("</td>\r\n\t\t  ");
// aimnumber = aimnumber + Float.parseFloat((String)Count7.get(i));
		  
      out.write("\r\n          ");
      out.write("<td align=\"center\" class=\"common\" width=\"6%\"  nowrap>\r\n\t\t  ");
      out.write("<a");
if(hasRight){
      out.write(" href=\"/krm/servlet/DetailServlet?module=deplan&&status=q&&queryterm=show&&D_Serial=");
      out.print(set.getD_Serial());
      out.write("\"");
}
      out.write(">\r\n\t\t  ");

		  int plancount=0;
		  if(null != set.getD_Plancount()){
		  plancount=Integer.parseInt(set.getD_Plancount());
		  }
		  out.print(plancount);
		  licheng = licheng + plancount;
		  
      out.write("\r\n\t\t  ");
//=(String)Count6.get(i)
      out.write("\r\n\t\t  ");
      out.write("</a>       \r\n\t\t  ");
      out.write("</td>\r\n\t\t  ");
// licheng = licheng + Float.parseFloat((String)Count6.get(i));
		  
      out.write("\r\n          ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\"  nowrap>\t\t  \r\n\t\t   ");

		    float wantmoney =  Float.parseFloat(set.getD_WantMoney());
			m1 = m1 + wantmoney ;
			DecimalFormat df51 = new DecimalFormat("#####0.0");
			out.println(df51.format(wantmoney));
		   
      out.write("\r\n\t\t   ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\"  nowrap>\r\n          ");
 
		    float PreMoney =  Float.parseFloat(set.getD_PreMoney());
			m2 = m2 + PreMoney ;
			DecimalFormat df61 = new DecimalFormat("#####0.0");
			out.println(df61.format(PreMoney));
	      
      out.write("\r\n\t\t  ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\"  nowrap> \r\n          ");
 
		    float yulimoney = wantmoney - PreMoney;
			m8 = m8 + yulimoney ;
			DecimalFormat df77 = new DecimalFormat("#####0.0");
			out.println(df77.format(yulimoney));
	      
      out.write("\r\n\t\t  ");
      out.write("</td>  \r\n          ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\"  nowrap> \r\n          ");
 
		    float ContactMoney =  Float.parseFloat(set.getD_ContactMoney());
			m3 = m3 + ContactMoney ;
			DecimalFormat df71 = new DecimalFormat("#####0.0");
			out.println(df71.format(ContactMoney));
	      
      out.write("\r\n\t\t  ");
      out.write("</td>\r\n         ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\"  nowrap>\r\n          ");
      out.write("<a ");
if(hasRight){
      out.write(" href=\"/krm/servlet/FinIncomeServlet?status=q&module=in&Year=");
      out.print(nowyear);
      out.write("&Month=0&TaskID=");
      out.print(set.getD_Serial());
      out.write("\" ");
}
      out.write(">");
 
		    float D_Income = (Float.parseFloat(set.getD_Income()))/(Float.parseFloat("10000.0"));;
			m4 = m4 + D_Income ;
			DecimalFormat df11 = new DecimalFormat("#####0.0");
			out.println(df11.format(D_Income));
	      
      out.write("</a>\r\n\t\t  ");
      out.write("</td>\r\n          ");

		  FinApprovalStatInfoBusiness business = new FinApprovalStatInfoBusiness();
		  FinanceExpenseAccountRecordSet approvalStatRecordSet = new  FinanceExpenseAccountRecordSet();	
		  approvalStatRecordSet.setItemSum();
		  business.setFinanceExpenseAccountRecordSet(approvalStatRecordSet);
		  business.setQueryWhereDetails();
		  int num = business.execute("querystat");
		  FinanceExpenseAccountRecordSet Expenseset=business.getFinanceExpenseAccountRecordSet();
		  String moneysum="0";
		  Expenseset.beforefirst();
		  while(Expenseset.next())
		  {
		  	if(set.getD_Serial().equals(Expenseset.getEI_ItemID()))
			{
				moneysum=Expenseset.getMoneySum();
			}
		  }  
           
      out.write("\r\n\t\t   ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\"  nowrap>\r\n\t\t   ");
      out.write("<a ");
if(hasRight){
      out.write(" href=\"/krm/servlet/FinIncomeServlet?status=q&module=out&Year=");
      out.print(nowyear);
      out.write("&Month=0&TaskID=");
      out.print(set.getD_Serial());
      out.write("\" ");
}
      out.write(">");

/*李光文2004-06-15任务支出登记*/		 
		 	FinIncomePastRecordSet incomepastrs=new  FinIncomePastRecordSet();
		    FinIncomePastBusiness  incomepastbs=new  FinIncomePastBusiness();
		    incomepastbs.setQueryWhereID(set.getD_Serial());
            int pastnum  = incomepastbs.execute("query");
			  
		    incomepastrs =incomepastbs.getFinIncomePastRecordSet();
			float inComeMoney=0;
			while(incomepastrs.next()){
			  String pastMoney = incomepastrs.getIP_Money();
		      float inCome=(Float.parseFloat(pastMoney))/(Float.parseFloat("10000.0"));              
			  inComeMoney=inCome+inComeMoney;        
			}
			float  MoneySum =(Float.parseFloat(moneysum))/(Float.parseFloat("10000.0"));
		    MoneySum=MoneySum+inComeMoney;
 /*李光文2004-06-15任务支出登记*/		
 /* haoliang 2004-06-26 单据处理的数据 begin*/
 	  FinProcessInfoRecordSet processRs = new FinProcessInfoRecordSet();
	  FinProcessInfoBusiness processBu = new FinProcessInfoBusiness();
	  processBu.setQueryWhereTaskID(set.getD_Serial());
	  processBu.execute("query");
	  processRs=processBu.getFinProcessInfoRecordSet();
	  float processMoney=0;
	  while(processRs.next()){
	      processMoney=processMoney+Float.parseFloat(processRs.getPI_Money());
	  }
	   MoneySum=MoneySum+processMoney/10000;
 /* haoliang 2004-06-26 单据处理的数据 end*/		
			m5 = m5 + MoneySum ;
            DecimalFormat df = new DecimalFormat("#####0.0");
			out.println(df.format(MoneySum));
			incomenum++;
	      
      out.write("</a>\r\n        ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"center\" class=\"common\" width=\"6%\"  nowrap> \r\n            ");
 
			float profit = D_Income - MoneySum;
			m6 = m6 + profit ;
			DecimalFormat df1 = new DecimalFormat("#####0.0");
			out.println(df1.format(profit));
  	      
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"center\" class=\"common\" width=\"6%\"  nowrap> \r\n            ");
 
			float receive =  ContactMoney - D_Income;
    		if(receive<0)
			receive = 0;
            DecimalFormat df2 = new DecimalFormat("#####0.0");
			m7 = m7 + receive ;		 
			out.println(df2.format(receive));
	      
      out.write("\r\n          ");
      out.write("</td>\r\n         ");
      out.write("<td align=\"center\" class=\"common\" width=\"6%\" ");
if(!set.getD_Cancellation().equals("y")){
}
      out.write(" nowrap>\r\n\t\t");
if(null!=set.getD_yingzhi()){
		    float D_yingzhi = Float.parseFloat(set.getD_yingzhi());
			m9 = m9 + D_yingzhi ;
			DecimalFormat df111 = new DecimalFormat("#####0.0");
			out.println(df111.format(D_yingzhi));}
	      
      out.write("\r\n\t\t  ");
      out.write("</td>\r\n          ");
      out.write("<!--add by tang end 2004.03.06-->\r\n\r\n           ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\" > \r\n            ");
String process ="";
			if(hasRight && (set.getD_Cancellation().equals("n"))&&(tasknum.equalsIgnoreCase("n"))&&(!tasksearch.equals("true"))){
      out.write("        \r\n\t\t   ");
      out.write("<a href=\"/krm/servlet/DetailServlet?module=detail&&status=u");
if(tasklevel!=null){
      out.write("&&tasklevel=");
      out.print(tasklevel);
}
if(userid!=null){
      out.write("&&userid=");
      out.print(userid);
}
if(aserial!=null){
      out.write("&&aserial=");
      out.print(aserial);
}
if(pserial!=null){
      out.write("&&pserial=");
      out.print(pserial);
}
if(pcode!=null){
      out.write("&&pcode=");
      out.print(pcode);
}
if(yyear!=null){
      out.write("&&year=");
      out.print(yyear);
}
      out.write("&&queryterm=obtain&&id=");
      out.print(set.getD_Serial());
      out.write("&&hasRight=t\">\r\n\t\t   ");
 process = set.getD_Process();
        	out.println(process+"%");
      out.write("\r\n\t\t\t");
      out.write("</a>\r\n\t\t\t");
}else{
			 process = set.getD_Process();
        	out.println(process+"%");
			}
			
      out.write("\r\n          ");
      out.write("</td>\r\n           ");
      out.write("<!--add by tang begin 2004.03.06-->    \r\n          ");
      out.write("<td align=\"right\" class=\"common\" width=\"6%\" >\r\n         ");
if(kaoheRight && (set.getD_Cancellation().equals("n"))&&(tasknum.equalsIgnoreCase("n"))&&(!tasksearch.equals("true"))){
      out.write("        \r\n\t\t   ");
      out.write("<a href=\"/krm/servlet/DetailServlet?module=detail&&status=u");

⌨️ 快捷键说明

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