| | |
| | | |
| | | |
| | | <select id="getTableNameList" resultType="java.lang.String"> |
| | | select TABLE_NAME from information_schema.TABLES t where t.TABLE_SCHEMA ='db_pwrdev_data_history' and t.TABLE_NAME like CONCAT('%',#{deviceIdEnd},'%') |
| | | <!-- select TABLE_NAME from information_schema.TABLES t where t.TABLE_SCHEMA ='db_pwrdev_data_history' and t.TABLE_NAME like CONCAT('%',#{deviceIdEnd},'%')--> |
| | | select |
| | | table_name |
| | | from SYS.USER_TABLES |
| | | where TABLE_NAME like #{deviceIdEnd} limit 1 |
| | | </select> |
| | | <!--<select id="getGtStartTime" resultType="com.whyc.pojo.PwrdevDataHistory"> |
| | | select * from db_pwrdev_data_history.${tableName} where record_time>=#{startTime} |