소스 검색

添加字段排序

DESKTOP-2K9OVK9\siwei 8 달 전
부모
커밋
cc499be6cd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/zymlapplication/TZymlFiledMapper.xml

+ 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">