|
@@ -116,7 +116,11 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="selectByMainId2" parameterType="java.lang.String" resultType="org.jeecg.modules.splfi.entity.SyPackingListFabricItem">
|
|
|
- SELECT a.create_time ,a.create_by ,a.garment_Factory,b.* FROM
|
|
|
+ SELECT a.create_time ,a.create_by ,a.garment_Factory,(Select declaration_Name
|
|
|
+ from sy_declaration_elements
|
|
|
+ where id= (select elements_Id from sy_shipping_details_item
|
|
|
+ where id=b.sy_shipping_details_item_id)
|
|
|
+ ) declaration_Name,b.* FROM
|
|
|
sy_packing_list_fabric a LEFT JOIN
|
|
|
sy_packing_list_fabric_item b ON
|
|
|
a.id=b.sy_packing_list_fabric_id and a.del_flag=0
|