|
@@ -372,7 +372,10 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
}
|
|
|
String tabName = wbsTreePrivate.getInitTableName();
|
|
|
|
|
|
- String id = SnowFlakeUtil.getId() + "";
|
|
|
+ String id = tableInfo.getBusinessId();
|
|
|
+ if(StringUtils.isEmpty(id)){
|
|
|
+ id = SnowFlakeUtil.getId() + "";
|
|
|
+ }
|
|
|
|
|
|
//拼接SQL
|
|
|
StringBuilder sql = new StringBuilder("INSERT INTO " + tabName ),
|