Kaynağa Gözat

包装更改格式

caozj 2 yıl önce
ebeveyn
işleme
32c7a0a1cb

+ 2 - 2
hx-sale/src/main/resources/mapper/pack/PackDetailMapper.xml

@@ -17,8 +17,8 @@
                                LEFT JOIN contract t3 ON t2.contract_id = t3.id
                       WHERE FIND_IN_SET(t2.pack_detail_id,GROUP_CONCAT( t1.id ))) AS codeAPName,
                      (SELECT GROUP_CONCAT( CONCAT(
-                               bom_volume,  ",", box_long, ",", box_wide, ",", box_high, ",", rough_weight, ",", net_weight,",",pack_quantity,"_"
-                         )) FROM pack_detail WHERE 	FIND_IN_SET(id,GROUP_CONCAT( t1.id )) ) AS dataJsonList,
+                               bom_volume,  ",", box_long, ",", box_wide, ",", box_high, ",", rough_weight, ",", net_weight,",",pack_quantity
+                         ) SEPARATOR '_') FROM pack_detail WHERE 	FIND_IN_SET(id,GROUP_CONCAT( t1.id )) ) AS dataJsonList,
                      sum(t1.pack_quantity)                                 packQuantity,
                      sum(t1.net_weight)                                    netWeight,
                      sum(t1.rough_weight)                                  roughWeight,