修改业务审批时传阅逻辑

This commit is contained in:
jianghongdong 2018-07-27 15:07:29 +08:00
parent 4449335119
commit a40747fa73
2 changed files with 9 additions and 3 deletions

View File

@ -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);

View File

@ -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);