|
@@ -1401,7 +1401,7 @@ public class OrderBaseLogic {
|
|
pgOrderProductDetail.setSort(sort + 1);
|
|
pgOrderProductDetail.setSort(sort + 1);
|
|
pgOrderProductDetail.setOrderProductId(pgOrderProducts.getProductId());
|
|
pgOrderProductDetail.setOrderProductId(pgOrderProducts.getProductId());
|
|
|
|
|
|
- pgOrderProductDetail.updateById();
|
|
|
|
|
|
+ pgOrderProductDetail.insert();
|
|
sort++;
|
|
sort++;
|
|
}
|
|
}
|
|
if (sort < pgOrderProducts.getNum()) {
|
|
if (sort < pgOrderProducts.getNum()) {
|