xinyb
2024-04-29 1ec334995d9ae8099c138271b421fd25b9e5dc9f
优化32控件加载问题
1个文件已修改
10 ■■■■ 已修改文件
src/com/yc/service/panel/v2/TypeControl.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/panel/v2/TypeControl.java
@@ -808,8 +808,8 @@
        } 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));";
@@ -921,12 +921,12 @@
                    + "\" 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)