修改业务审批时传阅逻辑
This commit is contained in:
parent
4449335119
commit
a40747fa73
@ -45,14 +45,20 @@ public class TenwaFlowTask extends FlowTask {
|
||||
.setParameter("phaseno", this.PhaseNo).getSingleResult(false);
|
||||
|
||||
String routeType = bo.getAttribute("CHOICESCRIPT").getString();
|
||||
String passReader = this
|
||||
.getFlowUserByPhase(this.PhaseNo, "ATTRIBUTE10");
|
||||
String passReader=this.getFlowUserByPhase(this.PhaseNo, "ATTRIBUTE10");
|
||||
String operatorType = bo.getAttribute("ATTRIBUTE7").getString();
|
||||
String isLastUser = "Yes";
|
||||
if (!operatorType.equals("01")) {
|
||||
isLastUser = this.getIsStepLastOperator();
|
||||
}
|
||||
String nextSteps = bo.getAttribute("NEXTSTEPS").getString();
|
||||
if("BusinessApplyFlow".equals(this.FlowNo)){
|
||||
if(nextSteps.indexOf("1000")>0){
|
||||
passReader=this.getFlowUserByPhase("1000", "ATTRIBUTE10");
|
||||
}else{
|
||||
passReader="";
|
||||
}
|
||||
}
|
||||
if (this.AssignedTaskNo.length() > 0) {
|
||||
FlowTask rebackTask = new FlowTask(this.AssignedTaskNo,
|
||||
this.baseTrans);
|
||||
|
||||
@ -26,7 +26,7 @@ public class SaveBusinessStatus extends BaseBussiness {
|
||||
if(Integer.parseInt(Status)<11){
|
||||
ContractNumberOrProjectNo = this.getAttribute("ProjectName").toString();
|
||||
}else{
|
||||
ContractNumberOrProjectNo = this.getAttribute("ContractNumber").toString();
|
||||
ContractNumberOrProjectNo = this.getAttribute("ContractNo")==null?this.getAttribute("contract_number").toString():this.getAttribute("ContractNo").toString();
|
||||
}
|
||||
ASUser user = ASUser.getUser(userid, Sqlca);
|
||||
BizObjectManager bsbom = JBOFactory.getBizObjectManager(BUSINESS_STATUS.CLASS_NAME, Sqlca);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user