diff --git a/src/main/resources/mappers/estimate/estimateMapper.xml b/src/main/resources/mappers/estimate/estimateMapper.xml index c265fccc..824d4791 100644 --- a/src/main/resources/mappers/estimate/estimateMapper.xml +++ b/src/main/resources/mappers/estimate/estimateMapper.xml @@ -176,7 +176,7 @@ , P.CONSTRUCT_SPECIFICATION , P.NORTH_ARRANGEMENT , PI.ESTIMATE_TYPE - , P.PKG_ASP + , PI.PKG_ASP , P.DEL_FLG , CONVERT(NVARCHAR(10), PI.CREATE_DATETIME, 121) AS ESTIMATE_DETAIL_CREATE_DATE , P.LAST_EDIT_DATETIME @@ -192,7 +192,7 @@ ON O.OBJECT_NO = OI.OBJECT_NO INNER JOIN M_SALES_STORE SS WITH(NOLOCK) ON O.SALE_STORE_ID = SS.SALE_STORE_ID - WHERE P.SYNC_FLG = '0' + WHERE PI.SYNC_FLG = '0' AND OI.SOURCE_ORIGIN = 'QCAST_III' AND OI.ORG_DEL_FLG = '0'