Bladeren bron

科目排序

mingfu 1 week geleden
bovenliggende
commit
52e0a313e7
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      ie-system/src/main/resources/mapper/dz/DzSubjectMapper.xml

+ 1 - 0
ie-system/src/main/resources/mapper/dz/DzSubjectMapper.xml

@@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="locations != null  and locations != ''"> and locations = #{locations}</if>
             <if test="examTypes != null  and examTypes != ''"> and exam_types  like concat('%', #{examTypes}, '%') </if>
         </where>
+        order by `sort`
     </select>
 
     <select id="selectDzSubjectBySubjectId" parameterType="Long" resultMap="DzSubjectResult">