问答流程非法数据进行校验
This commit is contained in:
@@ -52,14 +52,27 @@ public class answerAfter implements TaskListener {
|
||||
List<String> asList = Arrays.asList(split1);
|
||||
String str = "";
|
||||
String bzstr = "";
|
||||
for (int i = 0; i <asList.size() ; i++) {
|
||||
if(i==3){
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
str = split2[1].substring(1, split2[1].length() -1);
|
||||
if(asList.size()==8) {
|
||||
for (int i = 0; i < asList.size(); i++) {
|
||||
if (i == 0) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
str = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
if (i == 5) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
bzstr = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
}
|
||||
if(i==2){
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
bzstr = split2[1].substring(1, split2[1].length() -1);
|
||||
}else {
|
||||
for (int i = 0; i < asList.size(); i++) {
|
||||
if (i == 1) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
str = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
if (i == 6) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
bzstr = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
String prcName = bzstr+"-("+str+")-问答流程";
|
||||
|
||||
@@ -44,14 +44,27 @@ public class quizAfter implements TaskListener {
|
||||
List<String> asList = Arrays.asList(split1);
|
||||
String str = "";
|
||||
String bzstr = "";
|
||||
for (int i = 0; i <asList.size() ; i++) {
|
||||
if(i==1){
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
str = split2[1].substring(1, split2[1].length() -1);
|
||||
if(asList.size()==8) {
|
||||
for (int i = 0; i < asList.size(); i++) {
|
||||
if (i == 0) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
str = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
if (i == 5) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
bzstr = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
}
|
||||
if(i==6){
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
bzstr = split2[1].substring(1, split2[1].length() -1);
|
||||
}else {
|
||||
for (int i = 0; i < asList.size(); i++) {
|
||||
if (i == 1) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
str = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
if (i == 6) {
|
||||
String[] split2 = asList.get(i).split(":");
|
||||
bzstr = split2[1].substring(1, split2[1].length() - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
String prcName = bzstr+"-("+str+")-问答流程";
|
||||
|
||||
Reference in New Issue
Block a user