|
@@ -444,5 +444,31 @@
|
|
|
WHERE sy_pre_assembled_packing_list_id = #{value}
|
|
|
and del_flag=0
|
|
|
</select>
|
|
|
+ <!-- SRM推送时信息查询-->
|
|
|
+ <select id="selectSrmPushExtraList" parameterType="java.lang.String" resultType="org.jeecg.modules.spapl.entity.SyPreAssembledPackingListItem">
|
|
|
+ select * from (
|
|
|
+ SELECT
|
|
|
+ a.id as sy_declaration_elements_item_id,
|
|
|
+ a.shipping_details_id as sy_declaration_elements_id,
|
|
|
+ b.account as ac_set_no,
|
|
|
+ b.garment_Factory as garment_factory,
|
|
|
+ c.unit_price_including_tax as unit_price,
|
|
|
+ c.coding_rules as with_code,
|
|
|
+ a.sy_order_data_id,
|
|
|
+ a.sy_order_data_item_id,
|
|
|
+ c.ompo_id,
|
|
|
+ c.ompo_id_item,
|
|
|
+ a.ymoney,
|
|
|
+ a.order_number,
|
|
|
+ a.order_remaining_quantity as remaining_Quantity,
|
|
|
+ a.sales_department,
|
|
|
+ a.salesman,
|
|
|
+ a.customs_declaration_unit_price
|
|
|
+ FROM
|
|
|
+ sy_shipping_details_item a
|
|
|
+ left join sy_order_data b on a.sy_order_data_id=b.id
|
|
|
+ left join sy_order_data_item c on a.sy_order_data_item_id=c.id
|
|
|
+ ) as t1
|
|
|
+ </select>
|
|
|
|
|
|
</mapper>
|