|
@@ -83,8 +83,8 @@ class HikvisionBaseDataTaskTest {
|
|
|
|
|
|
@Test
|
|
|
void test() throws Exception {
|
|
|
-// DataSource datasource = DatasourceUtil.getDataSource(GlobalConstant.DEFAULT_DATASOURCE_KEY);
|
|
|
-// Db use = Db.use(datasource);
|
|
|
+ DataSource datasource = DatasourceUtil.getDataSource(GlobalConstant.DEFAULT_DATASOURCE_KEY);
|
|
|
+ Db use = Db.use(datasource);
|
|
|
// String sql = "SELECT distinct table_name FROM hikvision_data WHERE 1 = 1";
|
|
|
// List<JianyueData> query = use.query(sql, JianyueData.class);
|
|
|
// Set<String> tables = new HashSet<>();
|
|
@@ -138,7 +138,7 @@ class HikvisionBaseDataTaskTest {
|
|
|
// selectCar(use, carTableName);
|
|
|
|
|
|
// outInRecordUtil.GetVehicleRecord(use,faceImportMapper);
|
|
|
-// outInRecordUtil.GetTeacherAndStudentRecords(use,faceImportMapper);
|
|
|
+ outInRecordUtil.GetTeacherAndStudentRecords(use,faceImportMapper);
|
|
|
//// selecAllPersonById(use);
|
|
|
// selectResource(use);
|
|
|
}
|