<%@page import="com.tenwa.comm.dataRightmanager.DataRightManager"%> <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% String contractId = CurPage.getParameter("ContractId") != null ? CurPage.getParameter("ContractId") : ""; String isRemind = CurPage.getParameter("IsRemind") != null ? CurPage.getParameter("IsRemind") : ""; ASObjectModel doTemp = new ASObjectModel("LBFiveGradeClassificationList"); String appendSql = ""; if(!"".equals(contractId)){ appendSql += " and O.id = '"+contractId+"' and lccs.Is_Remind = '"+isRemind+"' AND v.DATEDIFF(v.NOW(),lccs.FIVE_GRADE_DATE) <= 3 "; }else if(!"".equals(isRemind)){ appendSql += " and lccs.Is_Remind = '"+isRemind+"' AND v.DATEDIFF(v.NOW(),lccs.FIVE_GRADE_DATE) <= 3 "; } //String sCondtion=DataRightManager.getRightCondition(CurUser,"O", "contract"); String sCondtion=""; if(!"".equals(appendSql)) sCondtion += appendSql; doTemp.appendJboWhere(sCondtion); doTemp.setDefaultValue("IS_AUTO", "Y"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式 dwTemp.setPageSize(15); dwTemp.genHTMLObjectWindow(""); String sButtons[][] =new String[][] { {"true","","Button","设置自动分类","设置自动分类","setAutoClassification()","","","","btn_icon_set"}, {"true","","Button","取消自动分类","取消自动分类","cancelAutoClassification()","","","","btn_icon_delete"}, {"true","","Button","执行定时任务","执行定时任务","execute()","","","",""} }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%> <%@ include file="/Frame/resources/include/include_end.jspf"%>