This commit is contained in:
zyyang 2021-01-28 15:24:42 +08:00
parent cf72ddb16d
commit 0605028372
3 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,5 @@
package com.taosdata.example.jdbcTemplate.dao.impl; package com.taosdata.example.jdbcTemplate.dao;
import com.taosdata.example.jdbcTemplate.dao.ExecuteAsStatement;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;

View File

@ -1,7 +1,6 @@
package com.taosdata.example.jdbcTemplate.dao.impl; package com.taosdata.example.jdbcTemplate.dao;
import com.taosdata.example.jdbcTemplate.domain.Weather; import com.taosdata.example.jdbcTemplate.domain.Weather;
import com.taosdata.example.jdbcTemplate.dao.WeatherDao;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BatchPreparedStatementSetter; import org.springframework.jdbc.core.BatchPreparedStatementSetter;
import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.JdbcTemplate;

View File

@ -20,6 +20,6 @@
<property name="dataSource" ref="dataSource"></property> <property name="dataSource" ref="dataSource"></property>
</bean> </bean>
<context:component-scan base-package="com.taosdata.jdbc.example.jdbcTemplate"/> <context:component-scan base-package="com.taosdata.example.jdbcTemplate"/>
</beans> </beans>