|
|
@@ -60,7 +60,7 @@
|
|
|
<if test="companyId != null">
|
|
|
and sale.companyId = #{companyId}
|
|
|
</if>
|
|
|
- </where> order by sd_detno
|
|
|
+ </where> order by sd_detno desc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectPurchaseBycondition" resultMap="BaseResultMap">
|
|
|
@@ -73,7 +73,7 @@
|
|
|
and companyId = #{companyId}
|
|
|
</if>
|
|
|
</where>
|
|
|
- order by sa_id
|
|
|
+ order by sa_id desc
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|