修复发票开票历史记录数据顺序问题,改为最新的在上面

This commit is contained in:
wenhui 2022-03-15 14:53:25 +08:00
parent 9ec9513a3c
commit 338ab9eeae
2 changed files with 3 additions and 3 deletions

View File

@ -316,7 +316,6 @@ public class XhpcInvoiceServiceImpl implements XhpcInvoiceService {
allGroupingRecords.put(monitor, split);
//存放至包装类中
Set<String> keys = allGroupingRecords.keySet();
//对key进行反向排序保证封装的数据是反着的
ArrayList<String> tempKeyList = new ArrayList<>();
for (String key : keys) {

View File

@ -190,6 +190,7 @@
WHERE del_flag IS NULL
AND creator_id = #{creatorId}
AND creator_type = #{creatorType}
ORDER BY create_time DESC
LIMIT #{currentPage}, #{items}
</select>
<select id="getUserInvoiceItemsByCreatorIdAndCreatorType" resultType="java.lang.Long">