|
@@ -50,6 +50,7 @@
|
|
|
<result property="orderNo" column="order_no"/>
|
|
|
<result property="lineNo" column="line_no"/>
|
|
|
<result property="material" column="material"/>
|
|
|
+ <result property="skuName" column="skuName"/>
|
|
|
<result property="locationId" column="location_id"/>
|
|
|
<result property="callTransactionId" column="call_transaction_id"/>
|
|
|
<result property="status" column="status"/>
|
|
@@ -133,12 +134,13 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="selectActAllocationDetailsInvLotAttList" parameterType="object" resultMap="ActAllocationDetailsInvLotAttResult">
|
|
|
- select t1.*
|
|
|
+ select t1.*,t3.desc1 skuName
|
|
|
,t2.lotatt01,t2.lotatt02,t2.lotatt03,t2.lotatt04,t2.lotatt05,t2.lotatt06
|
|
|
,t2.lotatt07,t2.lotatt08,t2.lotatt09,t2.lotatt10,t2.lotatt11,t2.lotatt12
|
|
|
,t2.lotatt13,t2.lotatt14,t2.lotatt15,t2.lotatt16,t2.lotatt17,t2.lotatt18
|
|
|
from act_allocation_details t1
|
|
|
left join inv_lot_att t2 ON t2.lotnum = t1.lotnum
|
|
|
+ left join base_sku t3 on t3.sku = t1.material and t3.customer_id = t3.customer_id
|
|
|
<where>
|
|
|
<if test="allocationId != null and allocationId != ''"> and allocation_id = #{allocationId}</if>
|
|
|
<if test="locationId != null and locationId != ''"> and location_id = #{locationId}</if>
|