Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
214352f2
Commit
214352f2
authored
Dec 03, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEV] add xxfp formula for xxkp
parent
d91ce874
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
37 deletions
+63
-37
OutputInvoiceExtendsMapper.xml
...xtech/atms/invoice/extends/OutputInvoiceExtendsMapper.xml
+63
-37
No files found.
atms-dao/src/main/resources/pwc/taxtech/atms/invoice/extends/OutputInvoiceExtendsMapper.xml
View file @
214352f2
...
...
@@ -196,7 +196,6 @@
<select
id=
"getOutputInvoiceWithDetail"
resultMap=
"outputInvoiceDto"
>
SELECT
-- INVOICE.ID AS INVOICE_ID,
INVOICE.ID AS INVOICEID,
INVOICE.FPQQLSH,
INVOICE.FPDM,
...
...
@@ -218,42 +217,13 @@
INVOICE.SKR,
INVOICE.FHR,
INVOICE.KPR,
INVOICE.KDDH,
INVOICE.KDUUID,
INVOICE.FPLX,
INVOICE.KPZT,
INVOICE.FPZT,
INVOICE.YFPDM,
INVOICE.YFPHM,
INVOICE.GFGSBM,
INVOICE.XFGSBM,
INVOICE.SPBH,
INVOICE.XTLY,
INVOICE.CJSJ,
INVOICE.HJJE AS INVOICE_HJJE,
INVOICE.HJSE,
INVOICE.JSHJ,
INVOICE.XXBBH,
INVOICE.DYZT,
INVOICE.GDJLH,
INVOICE.ZKJE AS INVOICE_ZKJE,
INVOICE.ZKSE AS INVOICE_ZKSE,
INVOICE.ZKJSHJ,
INVOICE.SLV AS INVOICE_SLV,
INVOICE.QY,
INVOICE.JSZT,
INVOICE.KDGS,
INVOICE.SHZT,
INVOICE.THKPSQ,
INVOICE.JSFJ,
INVOICE.SQR,
INVOICE.BSCDM,
INVOICE.BSC,
INVOICE.QYDM,
INVOICE.SQBH,
INVOICE.HTBH,
INVOICE.SQRQ,
INVOICE.YZRQ,
INVOICEDETAIL.ID AS DETAIL_ID,
INVOICEDETAIL.FPQQLSH AS INVOICE_FPQQLSH,
INVOICEDETAIL.SPMC,
...
...
@@ -280,14 +250,70 @@
INVOICEDETAIL.XSDD,
INVOICEDETAIL.HSJUUID
FROM
OUTPUT_INVOICE INVOICE
JOIN
OUTPUT_INVOICE_DETAIL INVOICEDETAIL
ON
INVOICE.FPQQLSH = INVOICEDETAIL.FPQQLSH
where INVOICE.FPZT != '1' and 1=1
OUTPUT_INVOICE INVOICE
JOIN OUTPUT_INVOICE_DETAIL INVOICEDETAIL ON INVOICE.FPQQLSH = INVOICEDETAIL.FPQQLSH
WHERE
INVOICE.FPZT != '1'
AND 1 = 1 UNION ALL
SELECT
INVOICE.ID AS INVOICEID,
INVOICE.FPQQLSH,
INVOICE.FPDM,
INVOICE.FPHM,
INVOICE.KPRQ,
INVOICE.FPLXDM,
INVOICE.EWM,
INVOICE.JQBH,
INVOICE.JYM,
INVOICE.GFMC,
INVOICE.GFSH,
INVOICE.GFDZDH,
INVOICE.GFYHZH,
INVOICE.XFSH,
INVOICE.XFMC,
INVOICE.XFDZDH,
INVOICE.XFYHZH,
INVOICE.BZ,
INVOICE.SKR,
INVOICE.FHR,
INVOICE.KPR,
INVOICE.FPLX,
INVOICE.FPZT,
INVOICE.SPBH,
INVOICE.XTLY,
INVOICE.CJSJ,
INVOICE.HJJE AS INVOICE_HJJE,
INVOICE.HJSE,
INVOICEDETAIL.ID AS DETAIL_ID,
INVOICEDETAIL.FPQQLSH AS INVOICE_FPQQLSH,
INVOICEDETAIL.SPMC,
INVOICEDETAIL.GGXH,
INVOICEDETAIL.DW,
INVOICEDETAIL.DJ,
INVOICEDETAIL.SL,
INVOICEDETAIL.JE,
INVOICEDETAIL.SLV AS ITEM_SLV,
INVOICEDETAIL.SE,
INVOICEDETAIL.HSBZ,
INVOICEDETAIL.LSLBS,
INVOICEDETAIL.YHZCBS,
INVOICEDETAIL.YHZCMC,
INVOICEDETAIL.MXXH,
INVOICEDETAIL.FPHXZ,
INVOICEDETAIL.SSFLDM,
INVOICEDETAIL.ZXBM,
INVOICEDETAIL.ZKHJJE,
INVOICEDETAIL.ZKSE,
INVOICEDETAIL.ZKJE,
INVOICEDETAIL.HJJE,
INVOICEDETAIL.JHH,
INVOICEDETAIL.XSDD,
INVOICEDETAIL.HSJUUID
FROM
OUTPUT_FPXXTB INVOICE
JOIN OUTPUT_INVOICE_DETAIL INVOICEDETAIL ON INVOICE.FPQQLSH = INVOICEDETAIL.FPQQLSH
ORDER BY
INVOICE.
FPHM
FPHM
</select>
...
...
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