|
@@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="lotnum" column="lotnum" />
|
|
|
<result property="locationNo" column="location_no" />
|
|
|
<result property="locationId" column="location_id" />
|
|
|
+ <result property="zoneId" column="zone_id" />
|
|
|
<result property="isEmpty" column="isEmpty" />
|
|
|
<result property="stockStatus" column="stockStatus" />
|
|
|
<result property="zoneName" column="zone_name" />
|
|
@@ -331,7 +332,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectInvLocIdLotattList" resultMap="InvLotLocIdLotattResult">
|
|
|
select
|
|
|
inv.location_id,sk.sku,sk.desc1 sku_name,skt.item_name sku_type_name,b.location_no,inv.qty,inv.qtyallocated
|
|
|
- ,att.lotnum, att.customer_id,w.box_no,w.is_full,b.stock_status stockStatus,b.is_empty isEmpty,z.zone_name
|
|
|
+ ,att.lotnum, att.customer_id,w.box_no,w.is_full
|
|
|
+ b.zone_id,b.stock_status stockStatus,b.is_empty isEmpty,z.zone_name
|
|
|
,lotatt01, lotatt02, lotatt03, lotatt04,lot05_dict.dict_label lotatt05, supp.supplier_name lotatt06
|
|
|
,lotatt07, lotatt08, lotatt09, lotatt10, lotatt11, lotatt12, lotatt13, lotatt14, lotatt15, lotatt16, lotatt17
|
|
|
,lotatt18
|
|
@@ -376,7 +378,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectInvLocIdLotattByLocationId" resultMap="InvLotLocIdLotattResult">
|
|
|
select
|
|
|
inv.location_id,sk.sku,sk.desc1 sku_name,b.location_no,inv.qty,inv.qtyallocated
|
|
|
- ,att.lotnum, att.customer_id, lotatt01, lotatt02, lotatt03, lotatt04,qua.dict_label lotatt05, lotatt06, lotatt07, lotatt08, lotatt09, lotatt10, lotatt11, lotatt12, lotatt13, lotatt14, lotatt15, lotatt16, lotatt17, lotatt18
|
|
|
+ ,att.lotnum, att.customer_id
|
|
|
+ , lotatt01, lotatt02, lotatt03, lotatt04,qua.dict_label lotatt05, lotatt06, lotatt07, lotatt08
|
|
|
+ , lotatt09, lotatt10, lotatt11, lotatt12, lotatt13, lotatt14, lotatt15, lotatt16, lotatt17, lotatt18
|
|
|
from inv_lot_loc_id inv
|
|
|
left join inv_lot_att att on inv.lotnum = att.lotnum
|
|
|
left join base_location_info b on inv.location_id = b.id
|