|
@@ -452,8 +452,20 @@ public class AdminCheckQuartz {
|
|
|
else{
|
|
|
if(resultt.getBuyerInfo() != null){
|
|
|
shopOrder.setRealPaidAmount(resultt.getBuyerInfo().getRealPaidAmount());
|
|
|
- shopOrderMapper.updateById(shopOrder);
|
|
|
}
|
|
|
+ if(resultt.getItemsList()!=null ){
|
|
|
+ if (resultt.getItemsList().size() == 1){
|
|
|
+ shopOrder.setItemId(resultt.getItemsList().get(0).getItemID());
|
|
|
+ shopOrder.setOuterItemId(resultt.getItemsList().get(0).getOuterItemID());
|
|
|
+ shopOrder.setItemName(resultt.getItemsList().get(0).getItemName());
|
|
|
+ }
|
|
|
+ else if(resultt.getItemsList().size() > 1){
|
|
|
+ shopOrder.setItemId("多本订单");
|
|
|
+ shopOrder.setOuterItemId("多本订单");
|
|
|
+ shopOrder.setItemName("多本订单");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ shopOrderMapper.updateById(shopOrder);
|
|
|
}
|
|
|
} catch (ApiException e) {
|
|
|
throw e;
|