diff --git a/src/main/resources/mappers/system/SelectMapper.xml b/src/main/resources/mappers/system/SelectMapper.xml
index befaa8b..051974c 100644
--- a/src/main/resources/mappers/system/SelectMapper.xml
+++ b/src/main/resources/mappers/system/SelectMapper.xml
@@ -37,7 +37,10 @@
t.gx_name as name
from tb_gx t
- major_id = #{pid} and is_active = '1'
+ is_active = '1'
+
+ and major_id = #{pid}
+