ソースを参照

托书排序调整

zengtx 1 年間 前
コミット
c8e4b7075f

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/syShippingOrder/mapper/xml/SyShippingOrderMapper.xml

@@ -230,7 +230,7 @@ group by order_number
         select a.* from sy_shipping_order_item a
         left join sy_declaration_elements b
         on a.elements_Id = b.id
-        where a.del_flag = 0 and a.sy_shipping_order_item_id = #{id} group by b.id order by b.hs_code desc
+        where a.del_flag = 0 and a.sy_shipping_order_item_id = #{id} group by b.id order by a.style_number,a.smail_po desc
 
     </select>