1.在这个接口里 /api/product/updateNameAndImages,添加多张图片时,并未覆盖原来的多张图片。(Y)

2.从系统导出的excel数据,在外部对excel某一列进行更改时,新增的要回传到原来的地方;并对改动的地方进行覆盖。
3.销售单管理、出库管理、发货单三个接口里面展示第三方订单编号和快递单号
4.选择多个仓库时,只要选择发货单子就会报错
5.在这个/api/split-account-deduction-log/create接口里,当传参时,如果参数 total_amount 是0,则会报错 {"code":204,"data":{},"msg":"TotalAmount不能为空"} 0是金额数字,不能当空值进行判断(T)
传递参数created_by,没有往数据表里写入
6.商品销毁的同时写入日志,也能通过读取这个日志,还原销毁的商品。传出这个新增的接口
7.新增一个不需要签名认证的分帐扣钱日志列表接口,新增一个返回字段buniness_no,并对这个字段进行模糊查询。
测试接口:/open/split-account-deduction-log/list
8.增加个新接口:首先 调用 /api/sales-order/create 创建销售订单的时候会锁定库存,
现在我需要一个解锁库存的接口,传递参数是订单编号
POST /api/sales-order/unlock-inventory // 解锁销售订单库存
/api/split-account-deduction-log/update /api/sales-order/unlock-inventory 在这两个接口里不需要签名认证
/api/sales-order/unlock-inventory 在这个接口里面返回解锁的所有商品信息
/api/split-account-deduction-log/update  在这个接口里面的status也需要更改,status没有变化
This commit is contained in:
Administrator 2026-06-25 09:15:27 +08:00
parent a2ea0c3a40
commit c1ae74e703

View File

@ -4156,7 +4156,20 @@ func (s *ProcessService) syncProductsToExternal(receivingOrderID, waveTaskID, us
group.totalQty += item.quantity group.totalQty += item.quantity
} else { } else {
// 新建ISBN组 // 新建ISBN组
imgList := parseImageList(product.LiveImage) // imgList := parseImageList(product.LiveImage)
var imgList []string
if product.LiveImage != nil && len(product.LiveImage) > 0 {
var rawImgList []string
if err := json.Unmarshal(product.LiveImage, &rawImgList); err == nil {
for _, imgStr := range rawImgList {
imgStr = strings.TrimSpace(imgStr)
if imgStr != "" {
imgList = append(imgList, imgStr)
}
}
}
}
skuCode := warehouse.Code skuCode := warehouse.Code
if item.locationID > 0 { if item.locationID > 0 {
@ -4236,7 +4249,20 @@ func (s *ProcessService) syncProductsToExternal(receivingOrderID, waveTaskID, us
} }
isbn := product.Barcode isbn := product.Barcode
imgList := parseImageList(product.LiveImage) // imgList := parseImageList(product.LiveImage)
var imgList []string
if product.LiveImage != nil && len(product.LiveImage) > 0 {
var rawImgList []string
if err := json.Unmarshal(product.LiveImage, &rawImgList); err == nil {
for _, imgStr := range rawImgList {
imgStr = strings.TrimSpace(imgStr)
if imgStr != "" {
imgList = append(imgList, imgStr)
}
}
}
}
skuCode := warehouse.Code skuCode := warehouse.Code
if item.locationID > 0 { if item.locationID > 0 {