提交内容:计划编制查询自定义API接口

时间:2025-05-21 15:29
提交人:邹江涛
This commit is contained in:
zoujiangtao 2025-05-21 15:41:24 +08:00
parent 02e66afd8d
commit 7385d70ab7
1 changed files with 2 additions and 2 deletions

View File

@ -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);