ccj il y a 1 an
Parent
commit
037bd3a5df

+ 3 - 1
shop.sql

@@ -2049,4 +2049,6 @@ ADD COLUMN `real_paid_amount` varchar(255) NULL COMMENT '当当实际付款金
 ALTER TABLE `shop`.`shop_order` 
 ADD COLUMN `item_id` varchar(255) NULL COMMENT '商品编码' AFTER `real_paid_amount`,
 ADD COLUMN `outer_item_id` varchar(255) NULL COMMENT '外部商品编码' AFTER `item_id`,
-ADD COLUMN `item_name` varchar(255) NULL COMMENT '商品名称' AFTER `outer_item_id`;
+ADD COLUMN `item_name` varchar(255) NULL COMMENT '商品名称' AFTER `outer_item_id`;
+ALTER TABLE `shop`.`shop_order` 
+ADD COLUMN `dang_remark` varchar(1000) NULL COMMENT '当当备注' AFTER `item_name`;

+ 3 - 0
unimall-admin-api/src/main/java/com/iotechn/unimall/admin/AdminCheckQuartz.java

@@ -465,6 +465,9 @@ public class AdminCheckQuartz {
                             shopOrder.setItemName("多本订单");
                         }
                     }
+                    if(resultt.getRemark() != null){
+                        shopOrder.setDangRemark(resultt.getRemark());
+                    }
                     shopOrderMapper.updateById(shopOrder);
                 }
             } catch (ApiException e) {

+ 3 - 0
unimall-data/src/main/java/com/iotechn/unimall/data/domain/shop/ShopOrder.java

@@ -173,6 +173,9 @@ public class ShopOrder extends BaseDO{
     @Excel(name = "商品名称")
     @TableField("item_name")
     private String itemName;
+    @Excel(name = "当当备注")
+    @TableField("dang_remark")
+    private String dangRemark;
 
     @TableField(exist = false)
     private ShopAccount shopAccount;