/** * 初始化处理 @Override * * @param dataDom DataDom * @param sessionInfo SessionInfo * @param serviceRequest ServiceRequest */ public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) { super.init(dataDom, sessionInfo, serviceRequest); DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "FINCWGWMST", "", true); Table table = dataDom.getRootTable(); table.setOrderBy("FSTUSR_DTM@desc"); table.refresh(dataDom.getProgramInfo().getProgramNo(), sessionInfo); }
public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) { super.init(dataDom, sessionInfo, serviceRequest); DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "YXPRJMST", "", true); initWhereLimit(dataDom, sessionInfo, serviceRequest); initData(dataDom, sessionInfo, serviceRequest); initSel(dataDom); setAmtReadOnly(dataDom, sessionInfo, serviceRequest); Table table = dataDom.getTable("YXPRJMST"); Orderby orderby1 = new Orderby("FSTUSR_DTM", "desc"); table.clearOrderby(); table.addOrderby(orderby1); }
/** * 初始化处理 @Override * * @param dataDom DataDom * @param sessionInfo SessionInfo * @param serviceRequest ServiceRequest */ public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) { super.init(dataDom, sessionInfo, serviceRequest); DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "FINCWGWMST", "", true); }
/** * 初始化处理 * * @param dataDom DataDom * @param sessionInfo SessionInfo * @param serviceRequest ServiceRequest */ public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) { super.init(dataDom, sessionInfo, serviceRequest); DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "POLEXRMST", "ORG_NO", false); }
/** * 一对多页面的初始化 多可以有多个, 但是一只有一个,外面传入过来的也只是1的主键,如果有pkValue则是维护,如果没有则是添加 * 找到一的数据处理完成之后,设置多的数据(这里只设置一级从表的信息,但是可以有多个多) @Override * * @param dataDom DataDom * @param sessionInfo SessionInfo * @param serviceRequest ServiceRequest */ public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) { super.init(dataDom, sessionInfo, serviceRequest); DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "YXPBPFLIN", "", true); initEvalSel(dataDom); }
/** * 初始化处理 @Override * * @param dataDom DataDom * @param sessionInfo SessionInfo * @param serviceRequest ServiceRequest */ public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) { super.init(dataDom, sessionInfo, serviceRequest); DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "YXTEMPLATEMST", "", true); dataDom.getTable("YXTEMPLATEMST").setOrderBy("FSTUSR_DTM@desc"); dataDom.getTable("YXTEMPLATEMST").refresh("B1YXS60004", sessionInfo); }