dengpan 1 年間 前
コミット
8748710b9f

+ 2 - 3
src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

@@ -168,7 +168,6 @@
                 <include refid="com.steerinfo.dil.mapper.CommonMapper.filterCompanyData"></include>
             </if>
             </where>
-            ORDER BY to_number("seqNo") desc
             FETCH NEXT 10 ROWS ONLY
         )
         <if test="id!=null and id.size>0">
@@ -325,7 +324,7 @@
                 AND ALTERNATE_FIELDS1 = #{sourceFlag}
             </if>
         </where>
-        order by LENGTH(OPERATION_POINT_NAME)
+        order by alternate_fields3,LENGTH(OPERATION_POINT_NAME)
         FETCH NEXT 10 ROWS ONLY
         )
         <if test="id!=null and id.size>0">
@@ -341,7 +340,7 @@
                 #{item}
             </foreach>
         </if>
-      )  order by LENGTH("OPERATION_POINT_NAME")
+      )  order by LENGTH("OPERATION_POINT_NAME") desc
     </select>
 
     <select id="getPersonnelByLike" resultType="java.util.Map">