Jelajahi Sumber

Merge branch 'master' of http://47.100.37.243:10080/ZHOU/yunsu

# Conflicts:
#	target/classes/main/resources/mapper/MouldEquipmentMapper.xml
#	target/classes/main/resources/mapper/MouldMapper.xml
5 tahun lalu
induk
melakukan
3c1435fa14

+ 1 - 0
cloud-model/src/main/java/com/hssx/cloudmodel/entity/vo/MouldVO.java

@@ -33,4 +33,5 @@ public class MouldVO extends Mould {
     private Double lat;
     private Double lat;
     private Integer stage;
     private Integer stage;
     private String equipmentName;
     private String equipmentName;
+    private Integer temperature ;
 }
 }

+ 1 - 1
cloud-model/src/main/resources/application-prod.properties

@@ -16,7 +16,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 # 云模服务器对应的数据库
 # 云模服务器对应的数据库
 #spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 #spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 # 我们测试的自己服务器数据库
 # 我们测试的自己服务器数据库
-spring.datasource.url=jdbc:mysql://118.190.47.230:3306/new_cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
+spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model_test?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 spring.datasource.username=root
 spring.datasource.username=root
 spring.datasource.password=p011430seya1026
 spring.datasource.password=p011430seya1026
 #spring.datasource.druid.test-on-borrow=true
 #spring.datasource.druid.test-on-borrow=true

+ 1 - 0
cloud-model/src/main/resources/mapper/MouldMapper.xml

@@ -69,6 +69,7 @@
         <result column="endTime" property="endTime"/>
         <result column="endTime" property="endTime"/>
         <result column="lastopentime" property="lastOpenTime"/>
         <result column="lastopentime" property="lastOpenTime"/>
         <result column="hillNumber" property="hillNumber"/>
         <result column="hillNumber" property="hillNumber"/>
+        <result column="temperature " property="temperature"/>
         <result column="ownerCompanyName" property="ownerCompanyName"/>
         <result column="ownerCompanyName" property="ownerCompanyName"/>
         <result column="companyName" property="companyName"/>
         <result column="companyName" property="companyName"/>
         <result column="is_maintain" property="isMaintain" />
         <result column="is_maintain" property="isMaintain" />

+ 1 - 1
target/classes/main/resources/application-prod.properties

@@ -16,7 +16,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 # 云模服务器对应的数据库
 # 云模服务器对应的数据库
 #spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 #spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 # 我们测试的自己服务器数据库
 # 我们测试的自己服务器数据库
-spring.datasource.url=jdbc:mysql://118.190.47.230:3306/new_cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
+spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model_test?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 spring.datasource.username=root
 spring.datasource.username=root
 spring.datasource.password=p011430seya1026
 spring.datasource.password=p011430seya1026
 #spring.datasource.druid.test-on-borrow=true
 #spring.datasource.druid.test-on-borrow=true