|
|
|
@ -310,13 +310,11 @@ public class ZbdcModel {
|
|
|
|
|
String c = "";
|
|
|
|
|
if (!StrKit.isBlank(level_filter)) {
|
|
|
|
|
String[] s = level_filter.split(",");
|
|
|
|
|
for (int i = 1; i <= s.length; i++) {
|
|
|
|
|
c += "level_" + i + "=" + s[i] + " and ";
|
|
|
|
|
for (int i = 0; i < s.length; i++) {
|
|
|
|
|
c += " and level_" + (i + 1) + "='" + s[i]+"' " ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (!StrKit.isBlank(c)) {
|
|
|
|
|
c = c.substring(0, c.length() - 4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String sqlExceptSelect = "from t_zbdc_templet where km_code='" + km_code + "'";
|
|
|
|
|
if (!StrKit.isBlank(c)) sqlExceptSelect += c;
|
|
|
|
|