|
|
@@ -5,7 +5,7 @@
|
|
|
<!-- 通用设置 -->
|
|
|
<!-- 通用查询列 -->
|
|
|
<sql id="Base_Column_List">
|
|
|
- item_id, payable_id, payable_type, qty_outlay, amt_outlay, remarks, flg_valid, cp_id
|
|
|
+ item_id, payable_id, payable_type, qty_payable, amt_payable, remarks, flg_valid, cp_id
|
|
|
</sql>
|
|
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
|
@@ -13,8 +13,8 @@
|
|
|
<id column="item_id" property="itemId"/>
|
|
|
<result column="payable_id" property="payableId" typeHandler="UuidTypeHandler"/>
|
|
|
<result column="payable_type" property="payableType" typeHandler="UuidTypeHandler"/>
|
|
|
- <result column="qty_outlay" property="qtyOutlay"/>
|
|
|
- <result column="amt_outlay" property="amtOutlay"/>
|
|
|
+ <result column="qty_payable" property="qtyPayable"/>
|
|
|
+ <result column="amt_payable" property="amtPayable"/>
|
|
|
<result column="remarks" property="remarks"/>
|
|
|
<result column="flg_valid" property="flgValid"/>
|
|
|
<result column="cp_id" property="cpId"/>
|
|
|
@@ -25,8 +25,8 @@
|
|
|
<id column="item_id" property="itemId"/>
|
|
|
<result column="payable_id" property="payableId" typeHandler="UuidTypeHandler"/>
|
|
|
<result column="payable_type" property="payableType" typeHandler="UuidTypeHandler"/>
|
|
|
- <result column="qty_outlay" property="qtyOutlay"/>
|
|
|
- <result column="amt_outlay" property="amtOutlay"/>
|
|
|
+ <result column="qty_payable" property="qtyPayable"/>
|
|
|
+ <result column="amt_payable" property="amtPayable"/>
|
|
|
<result column="remarks" property="remarks"/>
|
|
|
<result column="flg_valid" property="flgValid"/>
|
|
|
<result column="cp_id" property="cpId"/>
|
|
|
@@ -41,11 +41,11 @@
|
|
|
<if test="payableType != null and payableType != ''">
|
|
|
AND t.payable_type = #{payableType}
|
|
|
</if>
|
|
|
- <if test="qtyOutlay != null">
|
|
|
- AND t.qty_outlay = #{qtyOutlay}
|
|
|
+ <if test="qtyPayable != null">
|
|
|
+ AND t.qty_payable = #{qtyPayable}
|
|
|
</if>
|
|
|
- <if test="amtOutlay != null">
|
|
|
- AND t.amt_outlay = #{amtOutlay}
|
|
|
+ <if test="amtPayable != null">
|
|
|
+ AND t.amt_payable = #{amtPayable}
|
|
|
</if>
|
|
|
<if test="remarks != null and remarks != ''">
|
|
|
AND t.remarks = #{remarks}
|
|
|
@@ -127,8 +127,8 @@
|
|
|
<trim suffixOverrides=",">
|
|
|
payable_id,
|
|
|
payable_type,
|
|
|
- qty_outlay,
|
|
|
- amt_outlay,
|
|
|
+ qty_payable,
|
|
|
+ amt_payable,
|
|
|
remarks,
|
|
|
cp_id,
|
|
|
op_app_code,
|
|
|
@@ -140,8 +140,8 @@
|
|
|
<trim suffixOverrides=",">
|
|
|
#{item.payableId}::uuid,
|
|
|
#{item.payableType}::uuid,
|
|
|
- #{item.qtyOutlay},
|
|
|
- #{item.amtOutlay},
|
|
|
+ #{item.qtyPayable},
|
|
|
+ #{item.amtPayable},
|
|
|
#{item.remarks},
|
|
|
#{item.cpId},
|
|
|
#{item.opAppCode},
|