Commit 39aee282 by 111-PC\111

[+]pulsar消费服务

1 parent 741df71d
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>rest-admin-alliance</artifactId> <artifactId>rest-admin-alliance</artifactId>
</dependency> </dependency>
......
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
</commentGenerator> </commentGenerator>
<!-- jdbc连接--> <!-- jdbc连接-->
<jdbcConnection driverClass="com.mysql.cj.jdbc.Driver" <jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
connectionURL="jdbc:mysql://192.168.3.227:3306/cyb_os?serverTimeZone=Shanghai&amp;useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=false" connectionURL="jdbc:mysql://192.168.1.39:3306/cyb_os?serverTimeZone=Shanghai&amp;useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=false"
userId="dev_admin" userId="os_user"
password="1f7e1ed2"> password="os#123">
<!--防止生成其他库同名表--> <!--防止生成其他库同名表-->
<property name="nullCatalogMeansCurrent" value="true"/> <property name="nullCatalogMeansCurrent" value="true"/>
</jdbcConnection> </jdbcConnection>
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</javaClientGenerator> </javaClientGenerator>
<!-- table可以有多个,每个数据库中的表都可以写一个table,tableName表示要匹配的数据库表,也可以在tableName属性中通过使用%通配符来匹配所有数据库表,只有匹配的表才会自动生成文件 enableSelectByPrimaryKey相应的配置表示是否生成相应的接口 --> <!-- table可以有多个,每个数据库中的表都可以写一个table,tableName表示要匹配的数据库表,也可以在tableName属性中通过使用%通配符来匹配所有数据库表,只有匹配的表才会自动生成文件 enableSelectByPrimaryKey相应的配置表示是否生成相应的接口 -->
<table tableName="smart_devide_status" domainObjectName="SmartDevideStatus" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" <table tableName="smart_date" domainObjectName="SmartSceneData" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false"
enableSelectByExample="false" selectByExampleQueryId="false"/> enableSelectByExample="false" selectByExampleQueryId="false"/>
</context> </context>
</generatorConfiguration> </generatorConfiguration>
\ No newline at end of file \ No newline at end of file
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
--> -->
id, device_id, device_order_code, device_order_value, createtime, updatetime, product_key id, device_id, device_order_code, device_order_value, createtime, updatetime, product_key
</sql> </sql>
<select id="findDevStatusByIdAndCode" resultType="cn.com.glsx.consumer.entity.SmartDevideStatus"> <select id="findDevStatusByIdAndCode" resultMap="BaseResultMap">
select * from smart_device_status select * from smart_device_status
where device_order_code=#{code} and device_id=#{devId} where device_order_code=#{code} and device_id=#{devId}
</select> </select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!