1.项目立项新增加条件路由。
2。修改用户角色显示问题。 3.新引入传统租金测算。
This commit is contained in:
parent
0433c4d5f3
commit
66fd084f5d
@ -75,7 +75,7 @@
|
||||
}
|
||||
}
|
||||
%>
|
||||
<body leftmargin="0" topmargin="0" onload="" class="ListPage" style=" overflow-y:auto; overflow-x:auto; width:600px; height:700px;¡±>
|
||||
<body leftmargin="0" topmargin="0" onload="" class="ListPage" style=" overflow-y:auto; overflow-x:auto; width:600px; height:600px;¡±>
|
||||
<table style="border: 0;width: 100%;height: 100%" cellspacing="0" cellpadding="0" >
|
||||
<tr height=1 align=center>
|
||||
<td>用户【 <font color=#6666cc><%=sUserName%></font> 】具有的角色
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
package com.tenwa.lease.flow.project.businessapply;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.tenwa.calc.LC_CALC_CONDITION;
|
||||
import jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR;
|
||||
import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP;
|
||||
import jbo.sys.USER_INFO;
|
||||
|
||||
import com.amarsoft.app.lc.workflow.action.GetFlowAction;
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService;
|
||||
import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum;
|
||||
import com.tenwa.lease.flow.comm.serviceImp.LeaseFlowBaseServiceImp;
|
||||
|
||||
public class CopyOfbusinessApplyForTwo extends BaseBussiness {
|
||||
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String userId = this.getAttribute("CurUserID").toString();
|
||||
|
||||
BizObjectManager userInfo = JBOFactory.getBizObjectManager(USER_INFO.CLASS_NAME, Sqlca);
|
||||
BizObject condition = userInfo.createQuery("USERID=:userId").setParameter("userId",userId).getSingleResult(false);
|
||||
String sMessage="";
|
||||
String applytype = null;
|
||||
if(null!=condition){
|
||||
applytype=condition.getAttribute("BELONGORG").toString();
|
||||
}
|
||||
if("8009011"==applytype||applytype.equals("8009010")){//ת¸øÒµÎñ¶þ²¿
|
||||
sMessage="true";
|
||||
}else {
|
||||
sMessage="false";
|
||||
}
|
||||
return sMessage;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.tenwa.lease.flow.project.businessapply;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.tenwa.calc.LC_CALC_CONDITION;
|
||||
import jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR;
|
||||
import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP;
|
||||
import jbo.sys.USER_INFO;
|
||||
|
||||
import com.amarsoft.app.lc.workflow.action.GetFlowAction;
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService;
|
||||
import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum;
|
||||
import com.tenwa.lease.flow.comm.serviceImp.LeaseFlowBaseServiceImp;
|
||||
|
||||
public class businessApplyForOne extends BaseBussiness {
|
||||
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String userId = this.getAttribute("CurUserID").toString();
|
||||
|
||||
BizObjectManager userInfo = JBOFactory.getBizObjectManager(USER_INFO.CLASS_NAME, Sqlca);
|
||||
BizObject condition = userInfo.createQuery("USERID=:userId").setParameter("userId",userId).getSingleResult(false);
|
||||
String sMessage="";
|
||||
String applytype = null;
|
||||
if(null!=condition){
|
||||
applytype=condition.getAttribute("BELONGORG").toString();
|
||||
}
|
||||
if("8009010"==applytype||applytype.equals("8009010")){//ת¸øÒµÎñÒ»²¿
|
||||
sMessage="true";
|
||||
}else {
|
||||
sMessage="false";
|
||||
}
|
||||
return sMessage;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user