修复发票开票历史记录数据顺序问题,改为最新的在上面
This commit is contained in:
parent
9ec9513a3c
commit
338ab9eeae
@ -316,7 +316,6 @@ public class XhpcInvoiceServiceImpl implements XhpcInvoiceService {
|
|||||||
allGroupingRecords.put(monitor, split);
|
allGroupingRecords.put(monitor, split);
|
||||||
//存放至包装类中
|
//存放至包装类中
|
||||||
Set<String> keys = allGroupingRecords.keySet();
|
Set<String> keys = allGroupingRecords.keySet();
|
||||||
|
|
||||||
//对key进行反向排序,保证封装的数据是反着的
|
//对key进行反向排序,保证封装的数据是反着的
|
||||||
ArrayList<String> tempKeyList = new ArrayList<>();
|
ArrayList<String> tempKeyList = new ArrayList<>();
|
||||||
for (String key : keys) {
|
for (String key : keys) {
|
||||||
|
|||||||
@ -190,6 +190,7 @@
|
|||||||
WHERE del_flag IS NULL
|
WHERE del_flag IS NULL
|
||||||
AND creator_id = #{creatorId}
|
AND creator_id = #{creatorId}
|
||||||
AND creator_type = #{creatorType}
|
AND creator_type = #{creatorType}
|
||||||
|
ORDER BY create_time DESC
|
||||||
LIMIT #{currentPage}, #{items}
|
LIMIT #{currentPage}, #{items}
|
||||||
</select>
|
</select>
|
||||||
<select id="getUserInvoiceItemsByCreatorIdAndCreatorType" resultType="java.lang.Long">
|
<select id="getUserInvoiceItemsByCreatorIdAndCreatorType" resultType="java.lang.Long">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user