diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 137f98f9d..263afbc66 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -91,7 +91,7 @@ func (c *OrderManager) GetOrderSkuInfo(ctx *jxcontext.Context, vendorOrderID str if globals.OrderUseNewTable { fullSkuNameSQL := "t1.sku_name" if vendorID == model.VendorIDJD { - fullSkuNameSQL = "CONCAT(t1.sku_name, IF(t3.is_spu = 1, CONCAT('约', t2.spec_quality, t2.spec_unit, '/', t3.unit, ';'), ''))" + fullSkuNameSQL = "CONCAT(t1.sku_name, IF(t3.is_spu = 1 AND LOCATE(';', t1.sku_name) = 0, CONCAT('[约', t2.spec_quality, t2.spec_unit, '/', t3.unit, ']'), ''))" } db := dao.GetDB() if vendorID == model.VendorIDELM {