解决退货单日志不正确问题
This commit is contained in:
parent
a10cab4f3f
commit
1bcdc2edaa
|
|
@ -98,7 +98,9 @@ public class ThdServiceImpl implements ITuiHuoApi {
|
||||||
list -> {
|
list -> {
|
||||||
List<InvoicingThdLogEntity> r_ = Lists.newArrayList();
|
List<InvoicingThdLogEntity> r_ = Lists.newArrayList();
|
||||||
r_.add(list.get(0));
|
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_;
|
return r_;
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue