| | |
| | | } else { |
| | | returnStr += "<span id=\"" + id + "Span\" name=\"" + id + "Span\" style=\"border:0px solid #a5a6ad; height:24px;\">" |
| | | + "<input id=\"" + id + "\" name=\"" + id + "\" value=\"" + getJspValue(id) + "\" type=\"hidden\" " |
| | | + "onPropertyChange=\"cheeckSValueChan('" + id + "')\" /><ul class=\"checkcss\"><% outStr=\"\";"; |
| | | returnStr += "\r\ntry{\r\n int i_sql_checks=0;"; |
| | | + "onPropertyChange=\"cheeckSValueChan('" + id + "')\" /><ul class=\"checkcss\"><% "; |
| | | returnStr += "\r\ntry{\r\n String outStr=\"\";\r\n int i_sql_checks=0;"; |
| | | returnStr += "\r\n sql = \"" |
| | | + DBHelper.replaceBr(panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "SqlScript"), true)) + "\";"; |
| | | returnStr += "\r\n SRS = build.getSqlRowSet(DBHelper.getValRepShi(sql,session,docMap, false));"; |
| | |
| | | + "\" type=\"hidden\" onPropertyChange=\"radioValueChan('" + id + "')\">" + getRadiosFun(id); |
| | | } else { |
| | | returnStr += "<span id=\"" + id |
| | | + "Span\" style=\"border:0px solid #a5a6ad; height:24px;\"><% outStr=\"\";"; |
| | | returnStr += "\r\ntry{\r\n int i_sql_radio=0;"; |
| | | + "Span\" style=\"border:0px solid #a5a6ad; height:24px;\"><%"; |
| | | returnStr += "\r\ntry{\r\n String outStr=\"\";\r\nint i_sql_radio=0;"; |
| | | returnStr += "\r\n sql = \"" |
| | | + DBHelper.replaceBr(panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "SqlScript"), true)) + "\";"; |
| | | returnStr += "\r\n SRS = build.getSqlRowSet(DBHelper.getValRepShi(sql,session,docMap, false));"; |
| | | returnStr += " while(SRS.next()){ "; |
| | | returnStr += " while(SRS.next()){ \r\n"; |
| | | returnStr += "if((\"" + panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "initValue"), false) |
| | | + "\").equals(SRS.getObject(2))||(\"" |
| | | + panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "initValue"), false) |