From 0571c03740d9069cf761695d0dcadd4d6bc9af0d Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期四, 19 六月 2025 08:54:19 +0800
Subject: [PATCH] refactor(model): 优化模型相关功能和查询

---
 zhitan-system/src/main/resources/mapper/model/EnergyIndexMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/zhitan-system/src/main/resources/mapper/model/EnergyIndexMapper.xml b/zhitan-system/src/main/resources/mapper/model/EnergyIndexMapper.xml
index 3534519..907d4be 100644
--- a/zhitan-system/src/main/resources/mapper/model/EnergyIndexMapper.xml
+++ b/zhitan-system/src/main/resources/mapper/model/EnergyIndexMapper.xml
@@ -375,6 +375,7 @@
                 </foreach>
             </if>
         </where>
+        order by ei.code
     </select>
     <select id="getiEnergyIndexByCode" resultType="com.zhitan.model.domain.EnergyIndex">
         <include refid="selectEnergyIndexVo"/>

--
Gitblit v1.9.3