Commit b8afae88 by liuyang

2024-07-26 采购开票选择采购收货逻辑调整

parent d0b95a0e
...@@ -172,8 +172,7 @@ ...@@ -172,8 +172,7 @@
AMOUNT as "amount", <!-- 金额(不含税金额) --> AMOUNT as "amount", <!-- 金额(不含税金额) -->
INVENT_TYPE_DETAIL as "inventTypeDetail", <!-- 存货类型大类 --> INVENT_TYPE_DETAIL as "inventTypeDetail", <!-- 存货类型大类 -->
PRIMARY_ID as "primaryId", <!-- 主表id --> PRIMARY_ID as "primaryId", <!-- 主表id -->
CONTRACT_DETAIL_ID as "contractDetailId" <!-- 合同明细id --> CONTRACT_DETAIL_ID as "contractDetailId", <!-- 合同明细id -->
PRIMARY_ID as "primaryId", <!-- 主表id -->
IS_INVOICING as "isInvoicing" IS_INVOICING as "isInvoicing"
FROM ${hggpSchema}.HGCG003A WHERE 1=1 FROM ${hggpSchema}.HGCG003A WHERE 1=1
<include refid="condition" /> <include refid="condition" />
...@@ -230,11 +229,14 @@ ...@@ -230,11 +229,14 @@
AMOUNT, <!-- 金额(不含税金额) --> AMOUNT, <!-- 金额(不含税金额) -->
INVENT_TYPE_DETAIL, <!-- 存货类型大类 --> INVENT_TYPE_DETAIL, <!-- 存货类型大类 -->
PRIMARY_ID, <!-- 主表id --> PRIMARY_ID, <!-- 主表id -->
CONTRACT_DETAIL_ID <!-- 合同明细id --> CONTRACT_DETAIL_ID, <!-- 合同明细id -->
PRIMARY_ID, <!-- 主表id -->
IS_INVOICING IS_INVOICING
) )
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #receiveDate#, #receiveNo#, #planNo#, #contractNo#, #inventType#, #inventCode#, #inventName#, #specId#, #spec#, #material#, #unit#, #length#, #width#, #thick#, #receiveQty#, #deliverQty#, #depositQty#, #receiveUnitWeight#, #receiveWeight#, #status#, #price#, #amount#, #inventTypeDetail#, #primaryId#, #contractDetailId#) VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #receiveDate#, #receiveNo#, #planNo#, #contractNo#,
#inventType#, #inventCode#, #inventName#, #specId#, #spec#, #material#, #unit#, #length#, #width#, #thick#,
#receiveQty#, #deliverQty#, #depositQty#, #receiveUnitWeight#, #receiveWeight#, #status#, #price#, #amount#,
#inventTypeDetail#, #primaryId#, #contractDetailId#,#isInvoicing#)
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment