add: 添加依赖
This commit is contained in:
@@ -19,15 +19,37 @@
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- ip地址解析-->
|
||||
<dependency>
|
||||
<groupId>net.sf.json-lib</groupId>
|
||||
<artifactId>json-lib</artifactId>
|
||||
<version>2.4</version>
|
||||
<classifier>jdk15</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.jexcelapi</groupId>
|
||||
<artifactId>jxl</artifactId>
|
||||
<version>2.6.12</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.dreamlu</groupId>
|
||||
<artifactId>mica-ip2region</artifactId>
|
||||
<version>2.5.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
<version>1.70</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openscada.utgard</groupId>
|
||||
<artifactId>org.openscada.opc.lib</artifactId>
|
||||
<version>1.5.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
|
||||
@@ -570,7 +570,7 @@ public class AgvServiceImpl implements AgvService {
|
||||
.execute();
|
||||
log.info("查询agv状态:{}", result.body());
|
||||
System.out.println("查询agv状态数据:" + result.body());
|
||||
if (200 == 200) {
|
||||
if (result.getStatus() == 200) {
|
||||
com.alibaba.fastjson.JSONObject body = com.alibaba.fastjson.JSONObject.parseObject(result.body());
|
||||
com.alibaba.fastjson.JSONArray ja = body.getJSONArray("report");
|
||||
com.alibaba.fastjson.JSONObject alarms = body.getJSONObject("alarms");
|
||||
|
||||
Reference in New Issue
Block a user