From 1aa18c523d9d6f0a5c135169aa1a02f2b5ccb223 Mon Sep 17 00:00:00 2001 From: wensanpi <buban521@126.com> Date: 星期日, 20 九月 2020 17:38:21 +0800 Subject: [PATCH] update ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml. --- ruoyi-generator/src/main/java/com/ruoyi/generator/service/IGenTableService.java | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ruoyi-generator/src/main/java/com/ruoyi/generator/service/IGenTableService.java b/ruoyi-generator/src/main/java/com/ruoyi/generator/service/IGenTableService.java index 2bff597..cb2f043 100644 --- a/ruoyi-generator/src/main/java/com/ruoyi/generator/service/IGenTableService.java +++ b/ruoyi-generator/src/main/java/com/ruoyi/generator/service/IGenTableService.java @@ -75,20 +75,35 @@ public Map<String, String> previewCode(Long tableId); /** - * 鐢熸垚浠g爜 + * 鐢熸垚浠g爜锛堜笅杞芥柟寮忥級 * * @param tableName 琛ㄥ悕绉� * @return 鏁版嵁 */ - public byte[] generatorCode(String tableName); + public byte[] downloadCode(String tableName); /** - * 鎵归噺鐢熸垚浠g爜 + * 鐢熸垚浠g爜锛堣嚜瀹氫箟璺緞锛� + * + * @param tableName 琛ㄥ悕绉� + * @return 鏁版嵁 + */ + public void generatorCode(String tableName); + + /** + * 鍚屾鏁版嵁搴� + * + * @param tableName 琛ㄥ悕绉� + */ + public void synchDb(String tableName); + + /** + * 鎵归噺鐢熸垚浠g爜锛堜笅杞芥柟寮忥級 * * @param tableNames 琛ㄦ暟缁� * @return 鏁版嵁 */ - public byte[] generatorCode(String[] tableNames); + public byte[] downloadCode(String[] tableNames); /** * 淇敼淇濆瓨鍙傛暟鏍¢獙 -- Gitblit v1.9.3