update 优化 !pr349 相关代码 完成代码生成多数据源统一存储

feature/model
疯狂的狮子li 1 year ago
parent f2892a672a
commit ee7c5fbbd9

@ -18,7 +18,7 @@ public interface GenTableColumnMapper extends BaseMapperPlus<GenTableColumn, Gen
*
*
* @param tableName
* @param dataName
* @param dataName
* @return
*/
@DS("#dataName")

@ -54,7 +54,6 @@ import java.util.zip.ZipOutputStream;
*
* @author Lion Li
*/
// @DS("#header.datasource")
@Slf4j
@RequiredArgsConstructor
@Service
@ -120,7 +119,7 @@ public class GenTableServiceImpl implements IGenTableService {
*
*
* @param tableNames
* @param dataName
* @param dataName
* @return
*/
@DS("#dataName")
@ -143,7 +142,6 @@ public class GenTableServiceImpl implements IGenTableService {
*
*
* @param genTable
* @return
*/
@Transactional(rollbackFor = Exception.class)
@Override
@ -162,7 +160,6 @@ public class GenTableServiceImpl implements IGenTableService {
*
*
* @param tableIds ID
* @return
*/
@Transactional(rollbackFor = Exception.class)
@Override
@ -176,7 +173,7 @@ public class GenTableServiceImpl implements IGenTableService {
*
*
* @param tableList
* @param dataName
* @param dataName
*/
@DSTransactional
@Override

@ -43,7 +43,7 @@ public interface IGenTableService {
*
*
* @param tableNames
* @param dataName
* @param dataName
* @return
*/
List<GenTable> selectDbTableListByNames(String[] tableNames, String dataName);
@ -67,7 +67,6 @@ public interface IGenTableService {
*
*
* @param genTable
* @return
*/
void updateGenTable(GenTable genTable);
@ -75,7 +74,6 @@ public interface IGenTableService {
*
*
* @param tableIds ID
* @return
*/
void deleteGenTableByIds(Long[] tableIds);
@ -83,7 +81,7 @@ public interface IGenTableService {
*
*
* @param tableList
* @param dataName
* @param dataName
*/
void importGenTable(List<GenTable> tableList, String dataName);
@ -107,7 +105,6 @@ public interface IGenTableService {
*
*
* @param tableId
* @return
*/
void generatorCode(Long tableId);

@ -125,7 +125,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and dt.table_name = uo.object_name
and uo.object_type = 'TABLE'
AND dt.table_name NOT LIKE 'XXL_JOB_%' AND dt.table_name NOT LIKE 'GEN_%'
AND dt.table_name NOT IN (select table_name from gen_table)
and lower(dt.table_name) in
<foreach collection="array" item="name" open="(" separator="," close=")">
#{name}

Loading…
Cancel
Save