|
@@ -36,7 +36,7 @@
|
|
|
and companyId = #{companyId} and rd_query = 1 and (rd_addrec + rd_addpre + rd_remain) != 0
|
|
and companyId = #{companyId} and rd_query = 1 and (rd_addrec + rd_addpre + rd_remain) != 0
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
- order by rd_custname asc, rd_detno asc, rd_date desc
|
|
|
|
|
|
|
+ order by rd_custid desc, rd_detno asc, rd_date desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectCalculateFields" resultType="string">
|
|
<select id="selectCalculateFields" resultType="string">
|