codeTable bug

This commit is contained in:
liujiaji 2018-07-03 14:46:25 +08:00
parent 2be01ebf41
commit ac5bb26320

View File

@ -766,29 +766,29 @@ public abstract class AbstractAweDoQueryManage extends AbstractAweDoHandler {
}
}
}
}
} else if ("CodeTable".equalsIgnoreCase(sSourceType)) {
// -- CodeTable ACQUIRED,ÔËÐÐ,PAUSED,ÔÝÍ£,WAITING,µÈ´ý
if (sSource.length() > 0) {
String[] aSource = sSource.split(",");
if (aSource.length % 2 == 0) {
for (int ai = 0; ai < aSource.length; ai++) {
if ((ai + 1) % 2 != 0
&& sDefult.equals(aSource[ai])) {
doLibraryMap.put("value", aSource[ai + 1]);
}else if ("CodeTable".equalsIgnoreCase(sSourceType)) {
// -- CodeTable ACQUIRED,ÔËÐÐ,PAUSED,ÔÝÍ£,WAITING,µÈ´ý
if (sSource.length() > 0) {
String[] aSource = sSource.split(",");
if (aSource.length % 2 == 0) {
for (int ai = 0; ai < aSource.length; ai++) {
if ((ai + 1) % 2 != 0
&& sDefult.equals(aSource[ai])) {
doLibraryMap.put("value", aSource[ai + 1]);
}
}
}
if (null == doLibraryMap.get("value")) {
doLibraryMap.put("value", sDefult);
}
}
if (null == doLibraryMap.get("value")) {
doLibraryMap.put("value", sDefult);
}
} else if ("@MIN_MAX".equalsIgnoreCase(sSourceType)) {
} else if ("SubPage".equalsIgnoreCase(sSourceType)) {
}
} else if ("@MIN_MAX".equalsIgnoreCase(sSourceType)) {
} else if ("SubPage".equalsIgnoreCase(sSourceType)) {
}
}
Map<String, Object> col = new HashMap<String, Object>();
col.put("basetype", doLibraryMap.get("coltype"));