소스 검색

单表增删改查

gydx_2024_qin 1 개월 전
부모
커밋
2cc23e1192
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/base/TECompareobjectInstanceMapper.xml

+ 2 - 0
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/base/TECompareobjectInstanceMapper.xml

@@ -33,11 +33,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="density != null "> and density = #{density}</if>
             <if test="farmId != null  and farmId != ''"> and farm_id = #{farmId}</if>
         </where>
+        order by seq ASC
     </select>
     
     <select id="selectTECompareobjectInstanceById" parameterType="String" resultMap="TECompareobjectInstanceResult">
         <include refid="selectTECompareobjectInstanceVo"/>
         where id = #{id}
+        order by seq ASC
     </select>
         
     <insert id="insertTECompareobjectInstance" parameterType="TECompareobjectInstance">