|
@@ -5,13 +5,15 @@
|
|
|
<!-- 通用设置 -->
|
|
<!-- 通用设置 -->
|
|
|
<!-- 通用查询列 -->
|
|
<!-- 通用查询列 -->
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
- batch_id, inv_id, from_id, from_item_id, wh_id, sku_id, non_std_code, inv_qty, cost_price, cost_amt, acc_date, remarks, flg_valid, cp_id, op_create_time, op_create_user_id, op_update_time, op_update_user_id, op_app_code, op_timestamp, op_db_user
|
|
|
|
|
|
|
+ batch_id, inv_id, from_id, from_item_id, wh_id, sku_id, non_std_code,
|
|
|
|
|
+ sys.f_remove_zero(inv_qty) as inv_qty, cost_price, cost_amt, acc_date, remarks, flg_valid, cp_id, op_create_time,
|
|
|
|
|
+ op_create_user_id, op_update_time, op_update_user_id, op_app_code, op_timestamp, op_db_user
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<!-- 通用查询列Response -->
|
|
<!-- 通用查询列Response -->
|
|
|
<sql id="Base_Column_List_Response">
|
|
<sql id="Base_Column_List_Response">
|
|
|
tpib.batch_id, tpib.inv_id, tpib.from_id, tpib.from_item_id,
|
|
tpib.batch_id, tpib.inv_id, tpib.from_id, tpib.from_item_id,
|
|
|
- tpib.wh_id, tpib.sku_id, tpib.non_std_code, tpib.inv_qty,
|
|
|
|
|
|
|
+ tpib.wh_id, tpib.sku_id, tpib.non_std_code, sys.f_remove_zero(tpib.inv_qty) as inv_qty,
|
|
|
tpib.cost_price, tpib.cost_amt, tpib.acc_date, tpib.remarks,
|
|
tpib.cost_price, tpib.cost_amt, tpib.acc_date, tpib.remarks,
|
|
|
tpib.flg_valid, tpib.cp_id
|
|
tpib.flg_valid, tpib.cp_id
|
|
|
</sql>
|
|
</sql>
|