ruleOperation.jsp
1.32 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
<%@ page language="java" contentType="text/html; charset=GBK" %>
<%@ page import="java.util.regex.*" %>
<%@ page import="weaver.general.SessionOper" %>
<%@ page import="weaver.general.TimeUtil" %>
<%@ page import="weaver.hrm.performance.goal.GoalUtil" %>
<%@ include file="/systeminfo/init.jsp" %>
<%
String cycle = Util.null2String(request.getParameter("cycle"));
String checkDate = Util.null2String(request.getParameter("checkDate"));
String checkType = Util.null2String(request.getParameter("checkType"));
//适用对象类型(deptId|hrmId|postId)
String objBeRuled = Util.null2String(request.getParameter("objBeRuled"));
//适用对象ID
int objId = Util.getIntValue(request.getParameter("objId"));
//条件对象:
String objByRuled = "formular"+objBeRuled;
//**********************************************
//测试用
cycle = "3";
checkDate = "2006";
checkType = "3";
objBeRuled = "hrmId";
objId = 8;
//**********************************************
String conditions = "";
String formula = "";
boolean conditionsResult = true;
String formulaHrmId = "";
String formulaPostId = "";
String formulaDeptId = "";
String hrmId = "";
String postId = "";
String deptId = "";
String sql = "";
weaver.hrm.performance.targetcheck.RuleOperation r = new weaver.hrm.performance.targetcheck.RuleOperation();
r.revisePointByRule(objId, checkType, cycle, checkDate);
%>