瀏覽代碼

添加字段排序

DESKTOP-2K9OVK9\siwei 8 月之前
父節點
當前提交
cc499be6cd

+ 1 - 0
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/zymlapplication/TZymlFiledMapper.xml

@@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="filedName != null  and filedName != ''"> and filed_name like concat('%', #{filedName}, '%')</if>
             <if test="filedNameZh != null  and filedNameZh != ''"> and filed_name_zh like concat('%', #{filedNameZh}, '%')</if>
         </where>
+        order by sort asc
     </select>
 
     <select id="selectTZymlFiledById" parameterType="String" resultMap="TZymlFiledResult">