@@ -77,13 +78,13 @@ public interface OrderWarehouseInMapper extends AbstractMapper<OrderWarehouseInD
...
@@ -77,13 +78,13 @@ public interface OrderWarehouseInMapper extends AbstractMapper<OrderWarehouseInD
@ResultType(OrderItemBackVO.class)
@ResultType(OrderItemBackVO.class)
@Select("SELECT wi.* ,"+
@Select("SELECT wi.* ,"+
"GROUP_CONCAT(DISTINCT dict.label) as specificationType ,"+
" CASE #{lang} WHEN 1 THEN GROUP_CONCAT(DISTINCT dict.label_en) WHEN 2 THEN GROUP_CONCAT(DISTINCT dict.label_fr) ELSE GROUP_CONCAT(DISTINCT dict.label) END as specificationType,"+
"GROUP_CONCAT(DISTINCT spe.label) as warehouseType ,"+
" CASE #{lang} WHEN 1 THEN GROUP_CONCAT(DISTINCT spe.label_en) WHEN 2 THEN GROUP_CONCAT(DISTINCT spe.label_fr) ELSE GROUP_CONCAT(DISTINCT spe.label) END as warehouseType,"+
"GROUP_CONCAT(wi.remark) as warehouseRecordRemark "+
"GROUP_CONCAT(wi.remark) as warehouseRecordRemark "+
"FROM ecw_order_warehouse_in wi LEFT JOIN system_dict_data dict ON dict.dict_type = 'packaging_type' AND dict.`value` = wi.unit "+
"FROM ecw_order_warehouse_in wi LEFT JOIN system_dict_data dict ON dict.dict_type = 'packaging_type' AND dict.`value` = wi.unit "+
"LEFT JOIN system_dict_data spe ON spe.dict_type = 'warehousing_specification_type' AND spe.`value` = wi.specification_type "+
"LEFT JOIN system_dict_data spe ON spe.dict_type = 'warehousing_specification_type' AND spe.`value` = wi.specification_type "+
"where 1 = 1 AND wi.deleted = 0 and wi.order_id = #{orderId} and wi.order_item_id = #{orderItemId} order by id asc")
"where 1 = 1 AND wi.deleted = 0 and wi.order_id = #{orderId} and wi.order_item_id = #{orderItemId} order by id asc")