|
@@ -777,7 +777,7 @@
|
777
|
777
|
, whs.item_id, whs.item_nm, whs.unit, whs.whs_amt, whs.dlv_cnfm_doc_file_no
|
778
|
778
|
from whs_proc_info_ptcl whs
|
779
|
779
|
where 1 = 1
|
780
|
|
- and whs.whs_dt between #{fromDt} and #{toDt}
|
|
780
|
+ and whs.dlv_cmplt_dt between #{fromDt} and #{toDt}
|
781
|
781
|
and whs.brand_id = #{sBrandId}
|
782
|
782
|
<if test="sStoreId != null and sStoreId != ''">
|
783
|
783
|
and whs.store_id = #{sStoreId}
|
|
@@ -823,7 +823,7 @@
|
823
|
823
|
select count(*)
|
824
|
824
|
from whs_proc_info_ptcl whs
|
825
|
825
|
where 1 = 1
|
826
|
|
- and whs.whs_dt between #{fromDt} and #{toDt}
|
|
826
|
+ and whs.dlv_cmplt_dt between #{fromDt} and #{toDt}
|
827
|
827
|
and whs.brand_id = #{sBrandId}
|
828
|
828
|
<if test="sStoreId != null and sStoreId != ''">
|
829
|
829
|
and whs.store_id = #{sStoreId}
|