From 8b09fbc19a96b57bf1d0e4d7c79b51a76aeca554 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期五, 28 三月 2025 19:57:56 +0800
Subject: [PATCH] 修改bug

---
 UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/SystemPriceMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/SystemPriceMapper.xml b/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/SystemPriceMapper.xml
index 5aec125..8b4c116 100644
--- a/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/SystemPriceMapper.xml
+++ b/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/SystemPriceMapper.xml
@@ -14,8 +14,9 @@
     <select id="query" resultType="map">
         select
         id as id,
-        content as content
-        from t_system_price where companyId = #{companyId}
+        content as content,
+        if(#{language} = 1, fareTypeNoteChinese, if(#{language} = 2, fareTypeNoteEnglish, fareTypeNoteFrench)) as fareTypeNote
+        from t_system_price where companyId = #{companyId} and state = 1
         <if test="null != type">
             and `type` = #{type}
         </if>

--
Gitblit v1.7.1