fanRptCostOp.jsp
5.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<%@page import="weaver.fna.interfaces.thread.FnaFanRptCostOpThread"%>
<%@page import="weaver.fna.general.FnaRptRuleSet"%><%@page import="weaver.fna.general.FnaCommon"%>
<%@page import="weaver.fna.report.FnaReport"%>
<%@page import="weaver.fna.budget.Expense"%>
<%@page import="weaver.fna.maintenance.FnaCostCenter"%>
<%@page import="weaver.fna.general.FnaBudgetLeftRuleSet"%>
<%@page import="weaver.fna.budget.FnaBudgetBatchObj"%><%@page import="weaver.fna.maintenance.BudgetfeeTypeComInfo"%><%@page import="org.apache.poi.hssf.usermodel.HSSFCell"%><%@page import="org.apache.poi.hssf.usermodel.HSSFRow"%><%@page import="org.apache.poi.hssf.usermodel.HSSFSheet"%><%@page import="org.apache.poi.hssf.usermodel.HSSFWorkbook"%><%@page import="org.apache.poi.poifs.filesystem.POIFSFileSystem"%><%@page import="java.io.FileInputStream"%><%@page import="weaver.file.FileManage"%><%@page import="weaver.file.FileUpload"%><%@page import="java.lang.Exception"%><%@page import="weaver.systeminfo.SystemEnv"%><%@page import="weaver.fna.budget.FnaBudgetUtil"%><%@page import="weaver.fna.maintenance.FnaBudgetInfoComInfo"%><%@page import="weaver.fna.budget.BudgetHandler"%><%@page import="weaver.fna.maintenance.FnaBudgetControl"%><%@page import="weaver.hrm.company.CompanyComInfo"%><%@page import="weaver.hrm.company.SubCompanyComInfo"%><%@page import="weaver.hrm.company.DepartmentComInfo"%><%@page import="weaver.hrm.resource.ResourceComInfo"%><%@page import="weaver.conn.RecordSet"%><%@page import="org.apache.commons.lang.StringEscapeUtils"%><%@page import="java.text.DecimalFormat"%><%@ page import="weaver.fna.maintenance.FnaBudgetInfo" %><%@page import="java.text.SimpleDateFormat"%><%@page import="weaver.general.BaseBean"%><%@page import="weaver.general.TimeUtil"%><%@page import="org.json.JSONObject"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" %><%@ page import="weaver.general.Util" %><%@ page import="java.util.*,java.sql.Timestamp" %><%@ page import="weaver.general.GCONST" %><%@page import="weaver.hrm.HrmUserVarify"%><%@page import="weaver.hrm.User"%>
<%
BaseBean bb = new BaseBean();
User user = HrmUserVarify.getUser (request , response) ;
String _guid1 = Util.null2String(request.getParameter("_guid1")).trim();
String requestmark=Util.null2String(request.getParameter("requestmark")).trim();
String requestname=Util.null2String(request.getParameter("requestname")).trim();
String creater=Util.null2String(request.getParameter("creater")).trim();
String fromdate=Util.null2String(request.getParameter("fromdate")).trim();
String todate=Util.null2String(request.getParameter("todate")).trim();
int feeType=Util.getIntValue(request.getParameter("feeType"),-1);
String sumAmt1=Util.null2String(request.getParameter("sumAmt1"));
String sumAmt2=Util.null2String(request.getParameter("sumAmt2"));
int orgType = Util.getIntValue(request.getParameter("orgType"), -1);
String subId = Util.null2String(request.getParameter("subId")).trim();
String depId = Util.null2String(request.getParameter("depId")).trim();
String hrmId = Util.null2String(request.getParameter("hrmId")).trim();
String fccId = Util.null2String(request.getParameter("fccId")).trim();
String subjectId = Util.null2String(request.getParameter("subjectId")).trim();
String crmids=Util.null2String(request.getParameter("crmids")).trim();
String prjids=Util.null2String(request.getParameter("prjids")).trim();
String fromOccurDate=Util.null2String(request.getParameter("fromOccurDate")).trim();
String toOccurDate=Util.null2String(request.getParameter("toOccurDate")).trim();
String fromReceivedate=Util.null2String(request.getParameter("fromReceivedate")).trim();
String toReceivedate=Util.null2String(request.getParameter("toReceivedate")).trim();
String receivedateselect = Util.getIntValue(request.getParameter("receivedateselect"), 6)+"";
String createdateselect = Util.getIntValue(request.getParameter("createdateselect"), 6)+"";
int fnaDataSources = Util.getIntValue(request.getParameter("fnaDataSources"), -1);
FnaFanRptCostOpThread fnaFanRptCostOpThread = new FnaFanRptCostOpThread();
fnaFanRptCostOpThread.setUser(user);
fnaFanRptCostOpThread.setGuid(_guid1);
fnaFanRptCostOpThread.setRequestmark(requestmark);
fnaFanRptCostOpThread.setRequestname(requestname);
fnaFanRptCostOpThread.setCreater(creater);
fnaFanRptCostOpThread.setFromdate(fromdate);
fnaFanRptCostOpThread.setTodate(todate);
fnaFanRptCostOpThread.setFeeType(feeType);
fnaFanRptCostOpThread.setSumAmt1(sumAmt1);
fnaFanRptCostOpThread.setSumAmt2(sumAmt2);
fnaFanRptCostOpThread.setOrgType(orgType);
fnaFanRptCostOpThread.setSubId(subId);
fnaFanRptCostOpThread.setDepId(depId);
fnaFanRptCostOpThread.setHrmId(hrmId);
fnaFanRptCostOpThread.setFccId(fccId);
fnaFanRptCostOpThread.setSubjectId(subjectId);
fnaFanRptCostOpThread.setCrmids(crmids);
fnaFanRptCostOpThread.setPrjids(prjids);
fnaFanRptCostOpThread.setFromOccurDate(fromOccurDate);
fnaFanRptCostOpThread.setToOccurDate(toOccurDate);
fnaFanRptCostOpThread.setFromReceivedate(fromReceivedate);
fnaFanRptCostOpThread.setToReceivedate(toReceivedate);
fnaFanRptCostOpThread.setReceivedateselect(receivedateselect);
fnaFanRptCostOpThread.setCreatedateselect(createdateselect);
fnaFanRptCostOpThread.setFnaDataSources(fnaDataSources);
fnaFanRptCostOpThread.setIsprint(false);
Thread thread_1 = new Thread(fnaFanRptCostOpThread);
thread_1.start();
%>