|
@@ -177,6 +177,21 @@
|
177
|
177
|
, stdd_qty = VALUES(stdd_qty)
|
178
|
178
|
</insert>
|
179
|
179
|
|
|
180
|
+ <select id="selectStoreNewItemUnitInfo" resultType="com.oqpo.api.entity.stinfo.StoreItemUnitEntity">
|
|
181
|
+ select /*selectStoreNewItemUnitInfo*/
|
|
182
|
+ 'C' view_cd,
|
|
183
|
+ '' as store_unit_unq_no, item.brand_id, item.item_id, item.item_nm,
|
|
184
|
+ '' as cont_stt_dt, '' as cont_end_dt,
|
|
185
|
+ item.unit, fn_code_nm('DSTRBT_COST_UNIT',item.unit) as unit_nm,
|
|
186
|
+ item.stdd_qty, item.CURR, fn_code_nm('CURR',item.curr) as curr_nm,
|
|
187
|
+ item.store_sale_unit_amt as usit_amt, 'Y' as unit_target_cd,
|
|
188
|
+ fn_code_nm('DSTRBT_COST_UNIT','Y') as unit_target_nm,
|
|
189
|
+ item.unit_amt as spply_unit_amt,
|
|
190
|
+ item.brand_unit_unq_no
|
|
191
|
+
|
|
192
|
+ from brand_item_unit_info item
|
|
193
|
+ where item.brand_id = #{brandId}
|
|
194
|
+ </select>
|
180
|
195
|
|
181
|
196
|
|
182
|
197
|
</mapper>
|