解决退货单日志不正确问题

This commit is contained in:
1378012178@qq.com 2025-12-08 14:42:01 +08:00
parent a10cab4f3f
commit 1bcdc2edaa
1 changed files with 3 additions and 1 deletions

View File

@ -98,7 +98,9 @@ public class ThdServiceImpl implements ITuiHuoApi {
list -> {
List<InvoicingThdLogEntity> r_ = Lists.newArrayList();
r_.add(list.get(0));
r_.add(list.get(list.size() - 1));
if (list.size() > 1) {
r_.add(list.get(list.size() - 1));
}
return r_;
}
))