parent
02e66afd8d
commit
7385d70ab7
|
@ -1102,13 +1102,13 @@ public class ApiService {
|
||||||
try {
|
try {
|
||||||
List<List<Object>> lists = k3CloudApi.executeBillQuery(jsonObject.toString());
|
List<List<Object>> lists = k3CloudApi.executeBillQuery(jsonObject.toString());
|
||||||
if (lists.isEmpty()) {
|
if (lists.isEmpty()) {
|
||||||
result.put("result", "false");
|
result.put("result", false);
|
||||||
} else {
|
} else {
|
||||||
List<Object> objects = lists.get(0);
|
List<Object> objects = lists.get(0);
|
||||||
result.put("billNumber", objects.get(0));
|
result.put("billNumber", objects.get(0));
|
||||||
result.put("billId", objects.get(1));
|
result.put("billId", objects.get(1));
|
||||||
result.put("billType", xkBillType);
|
result.put("billType", xkBillType);
|
||||||
result.put("result", "true");
|
result.put("result", true);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
Loading…
Reference in New Issue