|
@@ -428,7 +428,7 @@
|
|
|
<if test="companyId != null">
|
|
<if test="companyId != null">
|
|
|
and paybalance.companyId = #{companyId}
|
|
and paybalance.companyId = #{companyId}
|
|
|
</if>
|
|
</if>
|
|
|
- </where> order by pb_date desc, order by pb_code
|
|
|
|
|
|
|
+ </where> order by pb_date desc, pb_code desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectPaybalanceListByCondition" resultMap="BaseResultMap">
|
|
<select id="selectPaybalanceListByCondition" resultMap="BaseResultMap">
|
|
@@ -443,7 +443,7 @@
|
|
|
<if test="companyId != null">
|
|
<if test="companyId != null">
|
|
|
and paybalance.companyId = #{companyId}
|
|
and paybalance.companyId = #{companyId}
|
|
|
</if>
|
|
</if>
|
|
|
- </where> order by pb_date desc, order by pb_code
|
|
|
|
|
|
|
+ </where> order by pb_date desc,pb_code desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="validateCodeWhenInsert" resultType="int">
|
|
<select id="validateCodeWhenInsert" resultType="int">
|