|
@@ -74,7 +74,12 @@ public class Guiji_Medicine_ServiceImpl extends BaseService implements Guiji_Med
|
|
|
@Override
|
|
|
public ResultModel guiji_medicine_dept_data2(String str) {
|
|
|
ResultModel r = new ResultModel();
|
|
|
+ Map log = new HashMap();
|
|
|
try {
|
|
|
+ log.put("operationStatus", "1");
|
|
|
+ log.put("interfaceinfoId", "e69ddd97d08e4038b1f11466301de94a");
|
|
|
+ log.put("interfaceinfoName", "归集-市医药-平台采集");
|
|
|
+
|
|
|
Guiji_medicine_dept_data2_Bean bean = new Guiji_medicine_dept_data2_Bean();
|
|
|
initBaseGuijiBean(str, bean);
|
|
|
|
|
@@ -102,10 +107,15 @@ public class Guiji_Medicine_ServiceImpl extends BaseService implements Guiji_Med
|
|
|
r.setCode(0);
|
|
|
r.setMessage("成功");
|
|
|
} catch (Exception e) {
|
|
|
+ log.put("operationStatus", "0");
|
|
|
+ log.put("exceptionLog", e);
|
|
|
e.printStackTrace();
|
|
|
r.setCode(99999);
|
|
|
r.setMessage("失败");
|
|
|
-
|
|
|
+ } finally {
|
|
|
+ log.put("param", str);
|
|
|
+ log.put("results", r);
|
|
|
+ HttpUtil.doPost(BaseApi.manager_url + "/system/interfaceLog/addLog", JSONObject.toJSONString(log), null);
|
|
|
}
|
|
|
return r;
|
|
|
}
|
|
@@ -113,7 +123,12 @@ public class Guiji_Medicine_ServiceImpl extends BaseService implements Guiji_Med
|
|
|
@Override
|
|
|
public ResultModel guiji_medicine_dept_data3(String str) {
|
|
|
ResultModel r = new ResultModel();
|
|
|
+ Map log = new HashMap();
|
|
|
try {
|
|
|
+ log.put("operationStatus", "1");
|
|
|
+ log.put("interfaceinfoId", "d46f4f2e5dc8498e86f6b3d8198b18fe");
|
|
|
+ log.put("interfaceinfoName", "归集-市医药-项目采集");
|
|
|
+
|
|
|
Guiji_medicine_dept_data3_Bean bean = new Guiji_medicine_dept_data3_Bean();
|
|
|
initBaseGuijiBean(str, bean);
|
|
|
|
|
@@ -141,10 +156,15 @@ public class Guiji_Medicine_ServiceImpl extends BaseService implements Guiji_Med
|
|
|
r.setCode(0);
|
|
|
r.setMessage("成功");
|
|
|
} catch (Exception e) {
|
|
|
+ log.put("operationStatus", "0");
|
|
|
+ log.put("exceptionLog", e);
|
|
|
e.printStackTrace();
|
|
|
r.setCode(99999);
|
|
|
r.setMessage("失败");
|
|
|
-
|
|
|
+ } finally {
|
|
|
+ log.put("param", str);
|
|
|
+ log.put("results", r);
|
|
|
+ HttpUtil.doPost(BaseApi.manager_url + "/system/interfaceLog/addLog", JSONObject.toJSONString(log), null);
|
|
|
}
|
|
|
return r;
|
|
|
}
|
|
@@ -152,7 +172,12 @@ public class Guiji_Medicine_ServiceImpl extends BaseService implements Guiji_Med
|
|
|
@Override
|
|
|
public ResultModel guiji_medicine_dept_data4(String str) {
|
|
|
ResultModel r = new ResultModel();
|
|
|
+ Map log = new HashMap();
|
|
|
try {
|
|
|
+ log.put("operationStatus", "1");
|
|
|
+ log.put("interfaceinfoId", "d685d16c469445ef8d96acada2587d2e");
|
|
|
+ log.put("interfaceinfoName", "归集-市医药-规上工业经济数据");
|
|
|
+
|
|
|
Guiji_medicine_dept_data4_Bean bean = new Guiji_medicine_dept_data4_Bean();
|
|
|
initBaseGuijiBean(str, bean);
|
|
|
|
|
@@ -179,10 +204,15 @@ public class Guiji_Medicine_ServiceImpl extends BaseService implements Guiji_Med
|
|
|
r.setCode(0);
|
|
|
r.setMessage("成功");
|
|
|
} catch (Exception e) {
|
|
|
+ log.put("operationStatus", "0");
|
|
|
+ log.put("exceptionLog", e);
|
|
|
e.printStackTrace();
|
|
|
r.setCode(99999);
|
|
|
r.setMessage("失败");
|
|
|
-
|
|
|
+ } finally {
|
|
|
+ log.put("param", str);
|
|
|
+ log.put("results", r);
|
|
|
+ HttpUtil.doPost(BaseApi.manager_url + "/system/interfaceLog/addLog", JSONObject.toJSONString(log), null);
|
|
|
}
|
|
|
return r;
|
|
|
}
|