From d014a10a4e597718375c0964f0394babb3eae7d7 Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期日, 13 三月 2022 10:02:44 +0800
Subject: [PATCH] fix(bug修复): 增加了定时计算年龄的定时任务

---
 febs-server/febs-server-generator/src/main/resources/mapper/GeneratorMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/febs-server/febs-server-generator/src/main/resources/mapper/GeneratorMapper.xml b/febs-server/febs-server-generator/src/main/resources/mapper/GeneratorMapper.xml
index 8dd0d07..181d758 100644
--- a/febs-server/febs-server-generator/src/main/resources/mapper/GeneratorMapper.xml
+++ b/febs-server/febs-server-generator/src/main/resources/mapper/GeneratorMapper.xml
@@ -28,14 +28,15 @@
         SELECT
         COLUMN_NAME name,
         CASE
-            COLUMN_key
+        COLUMN_key
         WHEN 'PRI' THEN
-                1 ELSE 0
+        1 ELSE 0
         END isKey,
         DATA_TYPE type,
         COLUMN_COMMENT remark
         FROM information_schema.COLUMNS
         WHERE TABLE_SCHEMA = #{schemaName} AND TABLE_NAME = #{tableName}
+        ORDER BY ORDINAL_POSITION
     </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0