Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
b8afae88
Commit
b8afae88
authored
Jul 26, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-26 采购开票选择采购收货逻辑调整
parent
d0b95a0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
42 deletions
+44
-42
HGCG003A.xml
src/main/java/com/baosight/hggp/hg/cg/sql/HGCG003A.xml
+44
-42
No files found.
src/main/java/com/baosight/hggp/hg/cg/sql/HGCG003A.xml
View file @
b8afae88
...
@@ -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"
/>
...
@@ -195,46 +194,49 @@
...
@@ -195,46 +194,49 @@
<insert
id=
"insert"
>
<insert
id=
"insert"
>
INSERT INTO ${hggpSchema}.HGCG003A (ID,
INSERT INTO ${hggpSchema}.HGCG003A (ID,
ACCOUNT_CODE,
<!-- 企业编码 -->
ACCOUNT_CODE,
<!-- 企业编码 -->
DEP_CODE,
<!-- 部门编码 -->
DEP_CODE,
<!-- 部门编码 -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DELETE_FLAG,
<!-- 0-未删除,1-已删除 -->
DELETE_FLAG,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
COMPANY_NAME,
<!-- 公司名称 -->
RECEIVE_DATE,
<!-- 收货日期 -->
RECEIVE_DATE,
<!-- 收货日期 -->
RECEIVE_NO,
<!-- 收货单号 -->
RECEIVE_NO,
<!-- 收货单号 -->
PLAN_NO,
<!-- 计划单号 -->
PLAN_NO,
<!-- 计划单号 -->
CONTRACT_NO,
<!-- 合同号 -->
CONTRACT_NO,
<!-- 合同号 -->
INVENT_TYPE,
<!-- 存货类型 -->
INVENT_TYPE,
<!-- 存货类型 -->
INVENT_CODE,
<!-- 存货编码 -->
INVENT_CODE,
<!-- 存货编码 -->
INVENT_NAME,
<!-- 存货名称 -->
INVENT_NAME,
<!-- 存货名称 -->
SPEC_ID,
<!-- 规格ID -->
SPEC_ID,
<!-- 规格ID -->
SPEC,
<!-- 规格 -->
SPEC,
<!-- 规格 -->
MATERIAL,
<!-- 材质 -->
MATERIAL,
<!-- 材质 -->
UNIT,
<!-- 单位 -->
UNIT,
<!-- 单位 -->
LENGTH,
<!-- 长度 -->
LENGTH,
<!-- 长度 -->
WIDTH,
<!-- 宽度 -->
WIDTH,
<!-- 宽度 -->
THICK,
<!-- 厚度 -->
THICK,
<!-- 厚度 -->
RECEIVE_QTY,
<!-- 收货数量 -->
RECEIVE_QTY,
<!-- 收货数量 -->
DELIVER_QTY,
<!-- 退货数量 -->
DELIVER_QTY,
<!-- 退货数量 -->
DEPOSIT_QTY,
<!-- 入库数量 -->
DEPOSIT_QTY,
<!-- 入库数量 -->
RECEIVE_UNIT_WEIGHT,
<!-- 收货单重 -->
RECEIVE_UNIT_WEIGHT,
<!-- 收货单重 -->
RECEIVE_WEIGHT,
<!-- 收货重量 -->
RECEIVE_WEIGHT,
<!-- 收货重量 -->
STATUS,
<!-- 状态:0-已收货,1-已入库,2-部分入库,3-退货 -->
STATUS,
<!-- 状态:0-已收货,1-已入库,2-部分入库,3-退货 -->
PRICE,
<!-- 单价 -->
PRICE,
<!-- 单价 -->
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#,
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#)
#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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment