添加校验判断

This commit is contained in:
tangfutang 2023-09-26 18:30:22 +08:00
parent 8cb7713c7e
commit 3212080969
2 changed files with 7 additions and 2 deletions

View File

@ -27,6 +27,6 @@ try{
}catch(Exception e){
//e.printStackTrace();2018/07/08 by zhulh 找不到校验文件没啥好大惊小怪的
ARE.getLog().error(e.getMessage());
out.print("fail:"+ e.toString());
//out.print("fail:"+ e.toString());
}
%>

View File

@ -33,6 +33,7 @@
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%>
<%
String soft = CurPage.getParameter("soft");
String type = CurPage.getParameter("type");
String userId = CurUser.getUserID();
ASObjectModel doTemp = new ASObjectModel("FlowInstanceTrack3");
doTemp.setDataQueryClass("com.amarsoft.awe.dw.ui.list.FlowMonitorListHtmlGenerator");
@ -40,7 +41,11 @@
String ros = "true";
if("业务申请分担".equals(soft)){
ros = "false";
doTemp.appendJboWhere("( (O.APPLYTYPE='BusinessApplyApply' and O.PHASENO in ('0030','0040','0050','0051','0052') ) or ( O.flow_name='业务变更流程' and O.PHASENAME='信审专员初审') )");
if("reexamine".equals(type)){//添加复审数据
doTemp.appendJboWhere("( (O.APPLYTYPE='BusinessApplyApply' and O.PHASENO in ('0040','0050','0051','0052') ) or ( O.flow_name='业务变更流程' and O.PHASENAME='信审专员初审') )");
}else{
doTemp.appendJboWhere("( (O.APPLYTYPE='BusinessApplyApply' and O.PHASENO='0030' ) or ( O.flow_name='业务变更流程' and O.PHASENAME='信审专员初审') )");
}
};
if("付款业务分担".equals(soft)){
ros = "false";