diff --git a/data/magic-api/api/日志/查询日志.ms b/data/magic-api/api/日志/查询日志.ms index 09e07ca..446fd0d 100644 --- a/data/magic-api/api/日志/查询日志.ms +++ b/data/magic-api/api/日志/查询日志.ms @@ -5,7 +5,7 @@ "groupId" : "55b38df92caf40b99b60fcc88e5ce361", "name" : "查询日志", "createTime" : null, - "updateTime" : 1751937833473, + "updateTime" : 1755078602810, "lock" : null, "createBy" : null, "updateBy" : null, @@ -25,19 +25,7 @@ "children" : null }, { "name" : "dataId", - "value" : "68402bae3bf7c10001a2df32", - "description" : null, - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : null, - "error" : null, - "expression" : null, - "children" : null - }, { - "name" : "mark", - "value" : "1749084392443", + "value" : "6893ef59c4a8d3000121632d", "description" : null, "required" : false, "dataType" : "String", @@ -49,7 +37,19 @@ "children" : null }, { "name" : "log_type", - "value" : "XSHT", + "value" : "XSHTGB", + "description" : null, + "required" : false, + "dataType" : "String", + "type" : null, + "defaultValue" : null, + "validateType" : null, + "error" : null, + "expression" : null, + "children" : null + }, { + "name" : "mark", + "value" : "11111", "description" : null, "required" : false, "dataType" : "String", @@ -64,7 +64,7 @@ "requestBody" : "", "headers" : [ ], "paths" : [ ], - "responseBody" : "{\n \"code\": 200,\n \"message\": \"success\",\n \"data\": [{\n \"logId\": \"08380a4057b3489b8e7952503c73e33e\",\n \"logType\": \"XSHT\",\n \"logStatus\": \"0\",\n \"synType\": \"0\",\n \"dataId\": \"68402bae3bf7c10001a2df32\",\n \"dataName\": \"ZHY2506040011\",\n \"mark\": \"1749084392443\",\n \"resBody\": \"同步成功\",\n \"markId\": null,\n \"sendUrl\": null,\n \"sendBody\": \"{\\\"body\\\":{\\\"data\\\":[{\\\"billname\\\":\\\"20250415095820391422(20250604测试)\\\",\\\"customer_number\\\":\\\"K01430013\\\",\\\"installationmethod\\\":\\\"opt1\\\",\\\"city\\\":\\\"湖南省\\\",\\\"payingcustomer_number\\\":\\\"K01430013\\\",\\\"county\\\":\\\"2251\\\",\\\"type_number\\\":\\\"XSHT-QD01\\\",\\\"reccustomer_number\\\":\\\"K01430013\\\",\\\"zhybilltype\\\":\\\"opt1\\\",\\\"totalallamount\\\":0,\\\"projectsource\\\":\\\"opt3\\\",\\\"party1st\\\":\\\"湖南星航电力科技有限公司\\\",\\\"operator\\\":\\\"ZHY11191\\\",\\\"industrytype_number\\\":\\\"opt1\\\",\\\"bizmode\\\":\\\"C\\\",\\\"crmid\\\":\\\"68402bae3bf7c10001a2df32\\\",\\\"billtype_number\\\":\\\"conm_salcontract_BT_QD\\\",\\\"province\\\":\\\"湖南省\\\",\\\"currency_number\\\":\\\"CNY\\\",\\\"salesmethod\\\":\\\"opt2\\\",\\\"biztimeend\\\":1744646400000,\\\"station\\\":\\\"opt2\\\",\\\"warranty\\\":24,\\\"biztime\\\":1744646400000,\\\"customerpropert\\\":\\\"opt2\\\",\\\"party2nd\\\":\\\"智洋创新科技股份有限公司\\\",\\\"deviceqty\\\":0,\\\"delivery\\\":false,\\\"biztimebegin\\\":1744646400000,\\\"isbidding\\\":false,\\\"dept\\\":\\\"004\\\",\\\"createorg_number\\\":\\\"ZHY\\\",\\\"contparties_number\\\":\\\"ZHY\\\",\\\"productline_number\\\":\\\"opt1\\\",\\\"project_number\\\":\\\"SJ20250604-0480\\\",\\\"billentry\\\":[{\\\"unit1_number\\\":\\\"pcs\\\",\\\"f9w5_unit1_number\\\":\\\"pcs\\\",\\\"baseunit\\\":\\\"套\\\",\\\"taxrateid_number\\\":\\\"V13\\\",\\\"linetype_number\\\":\\\"020\\\",\\\"specification\\\":\\\"无\\\",\\\"baseqty\\\":2,\\\"goodsname\\\":\\\"线路在线监测装置, 视频在线监测装置\\\",\\\"crmentryid\\\":\\\"68402bae3bf7c10001a2df33\\\",\\\"unit_number\\\":\\\"pcs\\\",\\\"material_number\\\":\\\"TEST0001\\\",\\\"qty\\\":2,\\\"curamountandtax\\\":53000.00,\\\"priceandtax\\\":26500.00}],\\\"org_number\\\":\\\"ZHY\\\",\\\"settlecurrency_number\\\":\\\"CNY\\\",\\\"settlecustomer_number\\\":\\\"K01430013\\\",\\\"billno\\\":\\\"ZHY2506040011\\\"}]},\\\"headers\\\":{\\\"Content-Type\\\":[\\\"application/json\\\"],\\\"accessToken\\\":[\\\"2095345516136108032_1IUXws7URzEN2w5yui9HYbtRNXcmFDGZ42aUIqhyVV8dMfy7GV2EiEwAJq4JzGWhDKPzAVPgQwC5phRjGh6sid53qc88G6e9NmQS00\\\"],\\\"Idempotency-Key\\\":[\\\"96a5582c51984b479fad836c84f38d10\\\"]}}\",\n \"sendRes\": \"{\\\"data\\\":{\\\"failCount\\\":\\\"0\\\",\\\"result\\\":[{\\\"billIndex\\\":0,\\\"billStatus\\\":true,\\\"errors\\\":[],\\\"id\\\":\\\"2230400248864334848\\\",\\\"keys\\\":{\\\"f9w5_crmid\\\":\\\"68402bae3bf7c10001a2df32\\\"},\\\"number\\\":\\\"ZHY2506040011\\\",\\\"type\\\":\\\"Add\\\"}],\\\"successCount\\\":\\\"1\\\"},\\\"errorCode\\\":\\\"0\\\",\\\"status\\\":true}\",\n \"sendFlag\": null,\n \"sendMemo\": null\n }],\n \"timestamp\": 1749615949677,\n \"executeTime\": 67\n}", + "responseBody" : "{\n \"code\": 200,\n \"message\": \"success\",\n \"data\": [],\n \"timestamp\": 1755078589971,\n \"executeTime\": 74\n}", "description" : null, "requestBodyDefinition" : null, "responseBodyDefinition" : { @@ -113,190 +113,10 @@ "validateType" : "", "error" : "", "expression" : "", - "children" : [ { - "name" : "", - "value" : "", - "description" : "", - "required" : false, - "dataType" : "Object", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ { - "name" : "logId", - "value" : "08380a4057b3489b8e7952503c73e33e", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "logType", - "value" : "XSHT", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "logStatus", - "value" : "0", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "synType", - "value" : "0", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "dataId", - "value" : "68402bae3bf7c10001a2df32", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "dataName", - "value" : "ZHY2506040011", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "mark", - "value" : "1749084392443", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "resBody", - "value" : "同步成功", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "markId", - "value" : "null", - "description" : "", - "required" : false, - "dataType" : "Object", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "sendUrl", - "value" : "null", - "description" : "", - "required" : false, - "dataType" : "Object", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "sendBody", - "value" : "{\\\"body\\\":{\\\"data\\\":[{\\\"billname\\\":\\\"20250415095820391422(20250604测试)\\\",\\\"customer_number\\\":\\\"K01430013\\\",\\\"installationmethod\\\":\\\"opt1\\\",\\\"city\\\":\\\"湖南省\\\",\\\"payingcustomer_number\\\":\\\"K01430013\\\",\\\"county\\\":\\\"2251\\\",\\\"type_number\\\":\\\"XSHT-QD01\\\",\\\"reccustomer_number\\\":\\\"K01430013\\\",\\\"zhybilltype\\\":\\\"opt1\\\",\\\"totalallamount\\\":0,\\\"projectsource\\\":\\\"opt3\\\",\\\"party1st\\\":\\\"湖南星航电力科技有限公司\\\",\\\"operator\\\":\\\"ZHY11191\\\",\\\"industrytype_number\\\":\\\"opt1\\\",\\\"bizmode\\\":\\\"C\\\",\\\"crmid\\\":\\\"68402bae3bf7c10001a2df32\\\",\\\"billtype_number\\\":\\\"conm_salcontract_BT_QD\\\",\\\"province\\\":\\\"湖南省\\\",\\\"currency_number\\\":\\\"CNY\\\",\\\"salesmethod\\\":\\\"opt2\\\",\\\"biztimeend\\\":1744646400000,\\\"station\\\":\\\"opt2\\\",\\\"warranty\\\":24,\\\"biztime\\\":1744646400000,\\\"customerpropert\\\":\\\"opt2\\\",\\\"party2nd\\\":\\\"智洋创新科技股份有限公司\\\",\\\"deviceqty\\\":0,\\\"delivery\\\":false,\\\"biztimebegin\\\":1744646400000,\\\"isbidding\\\":false,\\\"dept\\\":\\\"004\\\",\\\"createorg_number\\\":\\\"ZHY\\\",\\\"contparties_number\\\":\\\"ZHY\\\",\\\"productline_number\\\":\\\"opt1\\\",\\\"project_number\\\":\\\"SJ20250604-0480\\\",\\\"billentry\\\":[{\\\"unit1_number\\\":\\\"pcs\\\",\\\"f9w5_unit1_number\\\":\\\"pcs\\\",\\\"baseunit\\\":\\\"套\\\",\\\"taxrateid_number\\\":\\\"V13\\\",\\\"linetype_number\\\":\\\"020\\\",\\\"specification\\\":\\\"无\\\",\\\"baseqty\\\":2,\\\"goodsname\\\":\\\"线路在线监测装置, 视频在线监测装置\\\",\\\"crmentryid\\\":\\\"68402bae3bf7c10001a2df33\\\",\\\"unit_number\\\":\\\"pcs\\\",\\\"material_number\\\":\\\"TEST0001\\\",\\\"qty\\\":2,\\\"curamountandtax\\\":53000.00,\\\"priceandtax\\\":26500.00}],\\\"org_number\\\":\\\"ZHY\\\",\\\"settlecurrency_number\\\":\\\"CNY\\\",\\\"settlecustomer_number\\\":\\\"K01430013\\\",\\\"billno\\\":\\\"ZHY2506040011\\\"}]},\\\"headers\\\":{\\\"Content-Type\\\":[\\\"application/json\\\"],\\\"accessToken\\\":[\\\"2095345516136108032_1IUXws7URzEN2w5yui9HYbtRNXcmFDGZ42aUIqhyVV8dMfy7GV2EiEwAJq4JzGWhDKPzAVPgQwC5phRjGh6sid53qc88G6e9NmQS00\\\"],\\\"Idempotency-Key\\\":[\\\"96a5582c51984b479fad836c84f38d10\\\"]}}", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "sendRes", - "value" : "{\\\"data\\\":{\\\"failCount\\\":\\\"0\\\",\\\"result\\\":[{\\\"billIndex\\\":0,\\\"billStatus\\\":true,\\\"errors\\\":[],\\\"id\\\":\\\"2230400248864334848\\\",\\\"keys\\\":{\\\"f9w5_crmid\\\":\\\"68402bae3bf7c10001a2df32\\\"},\\\"number\\\":\\\"ZHY2506040011\\\",\\\"type\\\":\\\"Add\\\"}],\\\"successCount\\\":\\\"1\\\"},\\\"errorCode\\\":\\\"0\\\",\\\"status\\\":true}", - "description" : "", - "required" : false, - "dataType" : "String", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "sendFlag", - "value" : "null", - "description" : "", - "required" : false, - "dataType" : "Object", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - }, { - "name" : "sendMemo", - "value" : "null", - "description" : "", - "required" : false, - "dataType" : "Object", - "type" : null, - "defaultValue" : null, - "validateType" : "", - "error" : "", - "expression" : "", - "children" : [ ] - } ] - } ] + "children" : [ ] }, { "name" : "timestamp", - "value" : "1749615949677", + "value" : "1755078589971", "description" : "", "required" : false, "dataType" : "Long", @@ -308,7 +128,7 @@ "children" : [ ] }, { "name" : "executeTime", - "value" : "67", + "value" : "74", "description" : "", "required" : false, "dataType" : "Integer", diff --git a/src/main/java/com/management/tzcontroller/DeviceInstallController.java b/src/main/java/com/management/tzcontroller/DeviceInstallController.java index c1841aa..800040b 100644 --- a/src/main/java/com/management/tzcontroller/DeviceInstallController.java +++ b/src/main/java/com/management/tzcontroller/DeviceInstallController.java @@ -362,6 +362,7 @@ public class DeviceInstallController { deviceInstallMap.put("preSignContract", deviceInstallData.getString("pre_signed_contract_id__c__r") != null ? deviceInstallData.getString("pre_signed_contract_id__c__r") : "");//预签合同 deviceInstallMap.put("contract", deviceInstallData.getString("sales_contract_number__c__r") != null ? deviceInstallData.getString("sales_contract_number__c__r") : "");//销售合同 deviceInstallMap.put("project", deviceInstallData.getString("project_number__c") != null ? deviceInstallData.getString("project_number__c") : "");//项目号 + deviceInstallMap.put("equipmentUnit", deviceInstallData.getString("device_installation_unit__c__r") != null ? deviceInstallData.getString("device_installation_unit__c__r") : "");//设备安装所属单位 //更新者 List updaterList = deviceInstallData.getJSONArray("updater__c") != null ? deviceInstallData.getJSONArray("updater__c") : new ArrayList();