杂乱杂乱

/**
     * 获取流程名称
     * @return
     * @throws CordysException
     */
    public List<String> getProcessNameList() throws CordysException{
        List<String> list = new ArrayList<String>();
        try{
            String strSql = ""
                    + "select DISTINCT process_name "
                    + "  from bpm_process_instance "
                    + " where sys_status = 1 "
                    + "  and  (status not in('已中止','已完成') OR status IS NULL)";

            // add by wj 从读库中获取数据 20181112 start
            List<Record> record=Db.use(BlConstant.READ_ONLY).find(strSql);
            // add by wj 从读库中获取数据 20181112 end
            for(int i=0;i<record.size();i++){
                String processName=record.get(i).get("processName");
                list.add(processName);
                
            }
            
            //去重
        }catch(Exception e){
            logger.error("获取流程名称失败");
        }
        return list;
    }
if ( data.firmApproveResult == "10" ) { // 律所审核结果为建议退单时,将此行加深颜色并高亮设置
                                   $('td', row).parents("tr").addClass('priority-1 priority-hover');
                             }

 

posted on 2019-06-18 14:12  小白菜好吃  阅读(233)  评论(0编辑  收藏  举报

导航