Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -90,6 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="statusId != null "> and status_id = #{statusId}</if>
|
||||
<if test="breed != null and breed != ''"> and breed = #{breed}</if>
|
||||
</where>
|
||||
ORDER BY id ASC <!-- 修改为升序 -->
|
||||
</select>
|
||||
|
||||
<select id="selectSheepFileById" parameterType="Long" resultMap="SheepFileResult">
|
||||
@@ -260,7 +261,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY id DESC
|
||||
ORDER BY id ASC
|
||||
</select>
|
||||
|
||||
<!-- <!– 查询所有公羊(gender=2) –>-->
|
||||
|
||||
Reference in New Issue
Block a user