|
@@ -1169,7 +1169,7 @@ public class OrderBaseExcelLogic {
|
|
|
if (sort < pgOrderProduct.getNum()){
|
|
|
List<PgOrderProductDetail> newProductDetail = new ArrayList<>();
|
|
|
while(true){
|
|
|
- if (sort > pgOrderProduct.getNum())
|
|
|
+ if (sort >= pgOrderProduct.getNum())
|
|
|
break;
|
|
|
PgOrderProductDetail pgOrderProductDetail = BeanUtil.toBean(pgOrderProduct, PgOrderProductDetail.class);
|
|
|
pgOrderProductDetail.setId(null);
|
|
@@ -1188,7 +1188,7 @@ public class OrderBaseExcelLogic {
|
|
|
int sort = 0;
|
|
|
List<PgOrderProductDetail> newProductDetail = new ArrayList<>();
|
|
|
while(true){
|
|
|
- if (sort > pgOrderProduct.getNum())
|
|
|
+ if (sort >= pgOrderProduct.getNum())
|
|
|
break;
|
|
|
PgOrderProductDetail pgOrderProductDetail = BeanUtil.toBean(pgOrderProduct, PgOrderProductDetail.class);
|
|
|
pgOrderProductDetail.setId(null);
|