parent
79a471eb37
commit
06fc641a5f
|
@ -551,6 +551,19 @@ public class ApiService {
|
|||
}
|
||||
} else if ("description1".equals(parts[0])) {
|
||||
value = billObject.getLocaleString("description").getLocaleValue();
|
||||
} else if ("payeebankname1".equals(parts[0])) {
|
||||
String payeebankname = billObject.getString("payeebankname");
|
||||
if (payeebankname != null && !payeebankname.isEmpty()) {
|
||||
int index = payeebankname.indexOf("银行");
|
||||
if (index != -1) {
|
||||
String result = payeebankname.substring(0, index + 2);
|
||||
System.out.println(result);
|
||||
} else {
|
||||
value = "";
|
||||
}
|
||||
} else {
|
||||
value = "";
|
||||
}
|
||||
} else {
|
||||
value = billObject.get(parts[0]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue