09040943:修改同步资产结构的逻辑
parent
c4a9063516
commit
c794ff02df
|
@ -2,6 +2,7 @@
|
|||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliDeprecation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAbstractClassShouldStartWithAbstractNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidApacheBeanUtilsCopy" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
|
|
|
@ -170,7 +170,8 @@ public class DataSourceServiceImpl extends ServiceImpl<DataSourceMapper, DataSou
|
|||
mysqlPool.init();
|
||||
Connection conn = mysqlPool.getConn();
|
||||
TableInfo tableInfoServiceOne = tableInfoService.getOne(new LambdaQueryWrapper<>() {{
|
||||
eq(TableInfo::getBasicId, etlDataScore.getId());
|
||||
eq(TableInfo::getBasicId, etlDataScore.getId())
|
||||
.last("limit 1");
|
||||
}});
|
||||
//如果存在就删除
|
||||
if(StringUtils.isNotNull(tableInfoServiceOne)){
|
||||
|
|
Loading…
Reference in New Issue