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
5d993a92
Commit
5d993a92
authored
Sep 12, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] rename VAT reference java to Vat java
parent
0564b962
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
196 additions
and
195 deletions
+196
-195
SpringContextUtil.java
.../java/pwc/taxtech/atms/common/util/SpringContextUtil.java
+4
-4
InputInvoiceImportController.java
...taxtech/atms/controller/InputInvoiceImportController.java
+2
-2
ImportInputInvoiceItemDto.java
...wc/taxtech/atms/dto/vatdto/ImportInputInvoiceItemDto.java
+2
-2
ImportOutputInvoiceDto.java
...a/pwc/taxtech/atms/dto/vatdto/ImportOutputInvoiceDto.java
+4
-4
InputVATInvoiceDto.java
.../java/pwc/taxtech/atms/dto/vatdto/InputVATInvoiceDto.java
+3
-3
InputVATInvoiceResultDto.java
...pwc/taxtech/atms/dto/vatdto/InputVATInvoiceResultDto.java
+4
-4
OutputVATInvoiceDto.java
...java/pwc/taxtech/atms/dto/vatdto/OutputVATInvoiceDto.java
+4
-4
InputVatInvoiceDao.java
...ain/java/pwc/taxtech/atms/vat/dao/InputVatInvoiceDao.java
+7
-8
InputInvoiceDataImportServiceImpl.java
...s/vat/service/impl/InputInvoiceDataImportServiceImpl.java
+15
-15
OutputInvoiceServiceImpl.java
...xtech/atms/vat/service/impl/OutputInvoiceServiceImpl.java
+11
-11
VatAbstractService.java
...pwc/taxtech/atms/vat/service/impl/VatAbstractService.java
+4
-4
JXFP.java
.../taxtech/atms/vat/service/impl/report/functions/JXFP.java
+3
-3
InputVATInvoiceItemMapper.java
...a/pwc/taxtech/atms/vat/dao/InputVATInvoiceItemMapper.java
+15
-14
InputVATInvoiceMapper.java
.../java/pwc/taxtech/atms/vat/dao/InputVATInvoiceMapper.java
+15
-15
OutputVATInvoiceItemMapper.java
.../pwc/taxtech/atms/vat/dao/OutputVATInvoiceItemMapper.java
+15
-14
OutputVATInvoiceMapper.java
...java/pwc/taxtech/atms/vat/dao/OutputVATInvoiceMapper.java
+14
-14
InputVATInvoiceResultDto.java
...va/pwc/taxtech/atms/vat/dpo/InputVATInvoiceResultDto.java
+8
-8
OutputVATInvoiceDto.java
...in/java/pwc/taxtech/atms/vat/dpo/OutputVATInvoiceDto.java
+8
-8
InputVATInvoice.java
...ain/java/pwc/taxtech/atms/vat/entity/InputVATInvoice.java
+1
-1
InputVATInvoiceItem.java
...java/pwc/taxtech/atms/vat/entity/InputVATInvoiceItem.java
+1
-1
InputVATInvoiceItemExample.java
...c/taxtech/atms/vat/entity/InputVATInvoiceItemExample.java
+2
-2
InputVatTInvoiceExample.java
.../pwc/taxtech/atms/vat/entity/InputVatTInvoiceExample.java
+2
-2
OutputVATInvoice.java
...in/java/pwc/taxtech/atms/vat/entity/OutputVATInvoice.java
+1
-1
OutputVATInvoiceExample.java
.../pwc/taxtech/atms/vat/entity/OutputVATInvoiceExample.java
+2
-2
OutputVATInvoiceItem.java
...ava/pwc/taxtech/atms/vat/entity/OutputVATInvoiceItem.java
+1
-1
OutputVATInvoiceItemExample.java
.../taxtech/atms/vat/entity/OutputVATInvoiceItemExample.java
+2
-2
InputVATInvoiceItemMapper.xml
...es/pwc/taxtech/atms/vat/dao/InputVATInvoiceItemMapper.xml
+10
-10
InputVATInvoiceMapper.xml
...ources/pwc/taxtech/atms/vat/dao/InputVATInvoiceMapper.xml
+10
-10
OutputVATInvoiceItemMapper.xml
...s/pwc/taxtech/atms/vat/dao/OutputVATInvoiceItemMapper.xml
+10
-10
OutputVATInvoiceMapper.xml
...urces/pwc/taxtech/atms/vat/dao/OutputVATInvoiceMapper.xml
+10
-10
InputVATInvoiceExtendsMapper.xml
...ech/atms/vat/dao/extends/InputVATInvoiceExtendsMapper.xml
+3
-3
OutputVATInvoiceExtendsMapper.xml
...ch/atms/vat/dao/extends/OutputVATInvoiceExtendsMapper.xml
+3
-3
No files found.
atms-api/src/main/java/pwc/taxtech/atms/common/util/SpringContextUtil.java
View file @
5d993a92
...
...
@@ -38,10 +38,10 @@ public class SpringContextUtil implements ApplicationContextAware {
public
static
VatEnterpriseAccountDao
vatEnterpriseAccountDao
;
public
static
VatEnterpriseAccountMapper
vatEnterpriseAccountMapper
;
public
static
BalanceStdManualMapper
balanceStdManualMapper
;
public
static
OutputV
AT
InvoiceMapper
outputVATInvoiceMapper
;
public
static
OutputV
at
InvoiceMapper
outputVATInvoiceMapper
;
public
static
PeriodTaxRuleSettingMapper
periodTaxRuleSettingMapper
;
public
static
InputVatInvoiceDao
inputVatInvoiceDao
;
public
static
InputV
AT
InvoiceMapper
inputVATInvoiceMapper
;
public
static
InputV
at
InvoiceMapper
inputVATInvoiceMapper
;
public
static
AssetsListMapper
assetsListMapper
;
public
static
ProjectMapper
projectMapper
;
public
static
CellDataSourceMapper
cellDataSourceMapper
;
...
...
@@ -79,10 +79,10 @@ public class SpringContextUtil implements ApplicationContextAware {
vatEnterpriseAccountDao
=
webApplicationContext
.
getBean
(
VatEnterpriseAccountDao
.
class
);
vatEnterpriseAccountMapper
=
webApplicationContext
.
getBean
(
VatEnterpriseAccountMapper
.
class
);
balanceStdManualMapper
=
webApplicationContext
.
getBean
(
BalanceStdManualMapper
.
class
);
outputVATInvoiceMapper
=
webApplicationContext
.
getBean
(
OutputV
AT
InvoiceMapper
.
class
);
outputVATInvoiceMapper
=
webApplicationContext
.
getBean
(
OutputV
at
InvoiceMapper
.
class
);
periodTaxRuleSettingMapper
=
webApplicationContext
.
getBean
(
PeriodTaxRuleSettingMapper
.
class
);
inputVatInvoiceDao
=
webApplicationContext
.
getBean
(
InputVatInvoiceDao
.
class
);
inputVATInvoiceMapper
=
webApplicationContext
.
getBean
(
InputV
AT
InvoiceMapper
.
class
);
inputVATInvoiceMapper
=
webApplicationContext
.
getBean
(
InputV
at
InvoiceMapper
.
class
);
assetsListMapper
=
webApplicationContext
.
getBean
(
AssetsListMapper
.
class
);
projectMapper
=
webApplicationContext
.
getBean
(
ProjectMapper
.
class
);
cellDataSourceMapper
=
webApplicationContext
.
getBean
(
CellDataSourceMapper
.
class
);
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/InputInvoiceImportController.java
View file @
5d993a92
...
...
@@ -18,7 +18,7 @@ import pwc.taxtech.atms.service.IdentityService;
import
pwc.taxtech.atms.thirdparty.ExcelSheet
;
import
pwc.taxtech.atms.thirdparty.ExcelUtil
;
import
pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem
;
import
pwc.taxtech.atms.vat.service.impl.InputInvoiceDataImportServiceImpl
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -114,7 +114,7 @@ public class InputInvoiceImportController {
excelSheetB
.
setHeaders
(
header2
);
excelSheetB
.
setSheetName
(
"sheetB"
);
List
<
InputV
AT
InvoiceItem
>
inputInvoiceItemList
=
new
ArrayList
<>();
List
<
InputV
at
InvoiceItem
>
inputInvoiceItemList
=
new
ArrayList
<>();
for
(
InputVATInvoiceDto
item
:
list
)
{
inputInvoiceItemList
.
addAll
(
inputInvoiceDataImportService
.
getInputInvoiceItemTreeViewData
(
item
.
getID
()));
}
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/ImportInputInvoiceItemDto.java
View file @
5d993a92
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem
;
import
java.util.List
;
public
class
ImportInputInvoiceItemDto
{
public
List
<
InputV
AT
InvoiceItem
>
InputInvoiceItemList
;
public
List
<
InputV
at
InvoiceItem
>
InputInvoiceItemList
;
public
int
ImportType
;
}
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/ImportOutputInvoiceDto.java
View file @
5d993a92
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem
;
import
java.util.List
;
public
class
ImportOutputInvoiceDto
{
public
List
<
OutputV
AT
Invoice
>
OutputInvoiceList
;
public
List
<
OutputV
AT
InvoiceItem
>
OutputInvoiceItemList
;
public
List
<
OutputV
at
Invoice
>
OutputInvoiceList
;
public
List
<
OutputV
at
InvoiceItem
>
OutputInvoiceItemList
;
public
Integer
ImportType
;
}
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/InputVATInvoiceDto.java
View file @
5d993a92
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
;
import
pwc.taxtech.atms.constant.enums.EnumInvoiceType
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
at
Invoice
;
import
java.math.BigDecimal
;
import
java.util.Date
;
...
...
@@ -139,8 +139,8 @@ public class InputVATInvoiceDto extends InputVATInvoiceBaseDto {
return
EnumInvoiceType
.
values
()[
this
.
invoiceType
].
getName
();
}
public
InputV
AT
Invoice
extractInvoice
(){
InputV
ATInvoice
invoice
=
new
InputVAT
Invoice
();
public
InputV
at
Invoice
extractInvoice
(){
InputV
atInvoice
invoice
=
new
InputVat
Invoice
();
invoice
.
setID
(
getID
());
invoice
.
setPeriodID
(
getPeriodID
());
invoice
.
setInvoiceCode
(
getInvoiceCode
());
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/InputVATInvoiceResultDto.java
View file @
5d993a92
...
...
@@ -3,14 +3,14 @@ package pwc.taxtech.atms.dto.vatdto;
import
lombok.Getter
;
import
lombok.Setter
;
import
pwc.taxtech.atms.vat.entity.GoodsMapping
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem
;
@Setter
@Getter
public
class
InputVATInvoiceResultDto
{
private
String
invoiceID
;
private
InputV
AT
Invoice
inputVATInvoice
;
private
InputV
AT
InvoiceItem
inputVATInvoiceItem
;
private
InputV
at
Invoice
inputVATInvoice
;
private
InputV
at
InvoiceItem
inputVATInvoiceItem
;
private
GoodsMapping
goodsMapping
;
}
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/OutputVATInvoiceDto.java
View file @
5d993a92
...
...
@@ -2,13 +2,13 @@ package pwc.taxtech.atms.dto.vatdto;
import
lombok.Getter
;
import
lombok.Setter
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem
;
@Getter
@Setter
public
class
OutputVATInvoiceDto
{
private
String
invoiceID
;
private
OutputV
AT
Invoice
invoice
;
private
OutputV
AT
InvoiceItem
invoiceItem
;
private
OutputV
at
Invoice
invoice
;
private
OutputV
at
InvoiceItem
invoiceItem
;
}
atms-api/src/main/java/pwc/taxtech/atms/vat/dao/InputVatInvoiceDao.java
View file @
5d993a92
...
...
@@ -3,21 +3,20 @@ package pwc.taxtech.atms.vat.dao;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.vat.dao.InputVATInvoiceMapper
;
import
pwc.taxtech.atms.vat.entity.InputVATInvoice
;
import
pwc.taxtech.atms.vat.entity.InputVATInvoiceExample
;
import
pwc.taxtech.atms.vat.entity.InputVatInvoice
;
import
pwc.taxtech.atms.vat.entity.InputVatTInvoiceExample
;
import
java.util.List
;
@Service
public
class
InputVatInvoiceDao
{
@Autowired
InputV
AT
InvoiceMapper
inputVATInvoiceMapper
;
InputV
at
InvoiceMapper
inputVATInvoiceMapper
;
public
List
<
InputV
ATInvoice
>
getInputVATInvoice
(
Integer
period
,
Integer
invoiceType
,
String
checkPass
,
String
scanPass
,
String
notPass
)
{
InputV
ATInvoiceExample
example
=
new
InputVA
TInvoiceExample
();
InputV
A
TInvoiceExample
.
Criteria
criteria
=
example
.
createCriteria
();
InputV
A
TInvoiceExample
.
Criteria
criteria1
=
example
.
createCriteria
();
public
List
<
InputV
atInvoice
>
getInputVATInvoice
(
Integer
period
,
Integer
invoiceType
,
String
checkPass
,
String
scanPass
,
String
notPass
)
{
InputV
atTInvoiceExample
example
=
new
InputVat
TInvoiceExample
();
InputV
at
TInvoiceExample
.
Criteria
criteria
=
example
.
createCriteria
();
InputV
at
TInvoiceExample
.
Criteria
criteria1
=
example
.
createCriteria
();
if
(
period
!=
null
)
{
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/InputInvoiceDataImportServiceImpl.java
View file @
5d993a92
...
...
@@ -13,10 +13,10 @@ import pwc.taxtech.atms.dto.FieldsMapper;
import
pwc.taxtech.atms.dto.OperationResultDto
;
import
pwc.taxtech.atms.dto.vatdto.InputVATInvoiceDto
;
import
pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
A
TInvoiceExample
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItemExample
;
import
pwc.taxtech.atms.vat.entity.InputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
at
TInvoiceExample
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItemExample
;
import
java.io.StringReader
;
import
java.util.ArrayList
;
...
...
@@ -52,19 +52,19 @@ public class InputInvoiceDataImportServiceImpl extends VatAbstractService {
return
qResult
;
}
public
List
<
InputV
AT
InvoiceItem
>
getInputInvoiceItemTreeViewData
(
String
id
)
{
InputV
ATInvoiceItemExample
example
=
new
InputVAT
InvoiceItemExample
();
public
List
<
InputV
at
InvoiceItem
>
getInputInvoiceItemTreeViewData
(
String
id
)
{
InputV
atInvoiceItemExample
example
=
new
InputVat
InvoiceItemExample
();
example
.
createCriteria
().
andInputVATInvoiceIDEqualTo
(
id
);
return
inputVATInvoiceItemMapper
.
selectByExample
(
example
);
}
public
List
<
InputVATInvoiceDto
>
getInputInvoiceList
(
Integer
period
)
{
InputV
ATInvoiceExample
inputVATInvoiceExample
=
new
InputVA
TInvoiceExample
();
InputV
atTInvoiceExample
inputVATInvoiceExample
=
new
InputVat
TInvoiceExample
();
inputVATInvoiceExample
.
createCriteria
().
andPeriodIDEqualTo
(
period
.
intValue
());
List
<
InputV
AT
Invoice
>
inputVatEntity
=
inputVATInvoiceMapper
.
selectByExample
(
inputVATInvoiceExample
);
inputVatEntity
.
sort
(
Comparator
.
comparing
(
InputV
AT
Invoice:
:
getInvoiceNumber
));
inputVatEntity
.
sort
(
Comparator
.
comparing
(
InputV
AT
Invoice:
:
getCreateTime
));
List
<
InputV
at
Invoice
>
inputVatEntity
=
inputVATInvoiceMapper
.
selectByExample
(
inputVATInvoiceExample
);
inputVatEntity
.
sort
(
Comparator
.
comparing
(
InputV
at
Invoice:
:
getInvoiceNumber
));
inputVatEntity
.
sort
(
Comparator
.
comparing
(
InputV
at
Invoice:
:
getCreateTime
));
List
<
InputVATInvoiceDto
>
result
=
new
ArrayList
<>(
inputVatEntity
.
size
());
inputVatEntity
.
forEach
(
m
->
{
...
...
@@ -82,20 +82,20 @@ public class InputInvoiceDataImportServiceImpl extends VatAbstractService {
return
result
;
}
public
List
<
InputV
AT
InvoiceItem
>
getInputInvoiceItemList
(
Integer
period
)
{
InputV
ATInvoiceItemExample
example
=
new
InputVAT
InvoiceItemExample
();
public
List
<
InputV
at
InvoiceItem
>
getInputInvoiceItemList
(
Integer
period
)
{
InputV
atInvoiceItemExample
example
=
new
InputVat
InvoiceItemExample
();
example
.
createCriteria
().
andPeriodIDEqualTo
(
period
.
intValue
());
return
inputVATInvoiceItemMapper
.
selectByExample
(
example
);
}
public
OperationResultDto
ImportInputInvoiceItemData
(
List
<
InputV
AT
InvoiceItem
>
inputInvoiceItemDtoList
,
int
importType
,
String
userID
)
{
public
OperationResultDto
ImportInputInvoiceItemData
(
List
<
InputV
at
InvoiceItem
>
inputInvoiceItemDtoList
,
int
importType
,
String
userID
)
{
if
(
inputInvoiceItemDtoList
.
size
()
>
0
)
{
int
period
=
inputInvoiceItemDtoList
.
get
(
0
).
getPeriodID
();
inputInvoiceItemDtoList
.
forEach
(
item
->
{
//导入之前需要将汇总表的主键更新到明细表中,如果找不到汇总信息,则设置为空
InputV
ATInvoiceExample
example
=
new
InputVA
TInvoiceExample
();
InputV
atTInvoiceExample
example
=
new
InputVat
TInvoiceExample
();
example
.
createCriteria
().
andInvoiceCodeEqualTo
(
item
.
getInvoiceCode
()).
andInvoiceNumberEqualTo
(
item
.
getInvoiceNumber
());
InputV
AT
Invoice
invoiceTotal
=
inputVATInvoiceMapper
.
selectByExample
(
example
).
stream
().
findFirst
().
get
();
InputV
at
Invoice
invoiceTotal
=
inputVATInvoiceMapper
.
selectByExample
(
example
).
stream
().
findFirst
().
get
();
item
.
setInputVATInvoiceID
(
invoiceTotal
==
null
?
""
:
invoiceTotal
.
getID
());
item
.
setID
(
UUID
.
randomUUID
().
toString
());
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/OutputInvoiceServiceImpl.java
View file @
5d993a92
...
...
@@ -19,9 +19,9 @@ import pwc.taxtech.atms.vat.dpo.OutputVATInvoiceInfoDto;
import
pwc.taxtech.atms.vat.dpo.QueryOutputDto
;
import
pwc.taxtech.atms.vat.entity.ImportFile
;
import
pwc.taxtech.atms.vat.entity.ImportFileExample
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceExample
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItemExample
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceExample
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItemExample
;
import
java.io.StringReader
;
import
java.math.BigDecimal
;
...
...
@@ -92,7 +92,7 @@ public class OutputInvoiceServiceImpl extends VatAbstractService {
result
.
addAll
(
outputVATInvoiceMapper
.
queryOutputDetailWithItem
(
period
));
if
(!
result
.
isEmpty
())
{
result
.
sort
(
Comparator
.
comparing
(
OutputVATInvoiceInfoDto:
:
getInvoiceID
));
OutputV
ATInvoiceExample
example
=
new
OutputVAT
InvoiceExample
();
OutputV
atInvoiceExample
example
=
new
OutputVat
InvoiceExample
();
example
.
createCriteria
().
andPeriodIDEqualTo
(
period
.
intValue
());
dtoResult
.
setReturnCode
(
Long
.
valueOf
(
outputVATInvoiceMapper
.
countByExample
(
example
)).
intValue
());
}
else
{
...
...
@@ -106,12 +106,12 @@ public class OutputInvoiceServiceImpl extends VatAbstractService {
private
List
<
OutputVATInvoiceInfoDto
>
getOutputDetailInfoList
(
List
<
OutputVATInvoiceInfoDto
>
query
)
{
List
<
OutputVATInvoiceInfoDto
>
list
=
new
ArrayList
<>();
List
<
OutputV
ATInvoiceItem
>
outItem
=
outputVATInvoiceItemMapper
.
selectByExample
(
new
OutputVAT
InvoiceItemExample
());
List
<
OutputV
atInvoiceItem
>
outItem
=
outputVATInvoiceItemMapper
.
selectByExample
(
new
OutputVat
InvoiceItemExample
());
if
(
query
!=
null
&&
query
.
size
()
>
0
)
{
for
(
OutputVATInvoiceInfoDto
dto
:
query
)
{
List
<
OutputV
AT
InvoiceItem
>
itemList
=
outItem
.
stream
()
List
<
OutputV
at
InvoiceItem
>
itemList
=
outItem
.
stream
()
.
filter
(
a
->
a
.
getInvoiceID
().
equals
(
dto
.
getInvoiceID
()))
.
sorted
(
Comparator
.
comparing
(
OutputV
AT
InvoiceItem:
:
getSeqNo
))
.
sorted
(
Comparator
.
comparing
(
OutputV
at
InvoiceItem:
:
getSeqNo
))
.
collect
(
Collectors
.
toList
());
if
(
itemList
!=
null
&&
itemList
.
size
()
>
0
)
{
...
...
@@ -265,11 +265,11 @@ public class OutputInvoiceServiceImpl extends VatAbstractService {
}
}
public
List
<
OutputV
AT
InvoiceItem
>
QueryOutputInvoiceItemList
(
String
invoiceID
)
{
OutputV
ATInvoiceItemExample
example
=
new
OutputVAT
InvoiceItemExample
();
public
List
<
OutputV
at
InvoiceItem
>
QueryOutputInvoiceItemList
(
String
invoiceID
)
{
OutputV
atInvoiceItemExample
example
=
new
OutputVat
InvoiceItemExample
();
example
.
createCriteria
().
andInvoiceIDEqualTo
(
invoiceID
);
List
<
OutputV
AT
InvoiceItem
>
result
=
outputVATInvoiceItemMapper
.
selectByExample
(
example
);
result
.
stream
().
sorted
(
Comparator
.
comparing
(
OutputV
AT
InvoiceItem:
:
getSeqNo
));
List
<
OutputV
at
InvoiceItem
>
result
=
outputVATInvoiceItemMapper
.
selectByExample
(
example
);
result
.
stream
().
sorted
(
Comparator
.
comparing
(
OutputV
at
InvoiceItem:
:
getSeqNo
));
return
result
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/VatAbstractService.java
View file @
5d993a92
...
...
@@ -21,15 +21,15 @@ public class VatAbstractService {
@Autowired
public
VatStandardAccountMapper
vatStandardAccountMapper
;
@Autowired
public
InputV
AT
InvoiceMapper
inputVATInvoiceMapper
;
public
InputV
at
InvoiceMapper
inputVATInvoiceMapper
;
@Autowired
public
OutputV
AT
InvoiceMapper
outputVATInvoiceMapper
;
public
OutputV
at
InvoiceMapper
outputVATInvoiceMapper
;
@Autowired
public
CustomsInvoiceMapper
customsInvoiceMapper
;
@Autowired
public
OutputV
AT
InvoiceItemMapper
outputVATInvoiceItemMapper
;
public
OutputV
at
InvoiceItemMapper
outputVATInvoiceItemMapper
;
@Autowired
public
InputV
AT
InvoiceItemMapper
inputVATInvoiceItemMapper
;
public
InputV
at
InvoiceItemMapper
inputVATInvoiceItemMapper
;
@Autowired
public
ProjectMapper
projectMapper
;
@Autowired
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/report/functions/JXFP.java
View file @
5d993a92
...
...
@@ -10,7 +10,7 @@ import pwc.taxtech.atms.constant.enums.EnumOperationType;
import
pwc.taxtech.atms.constant.enums.FormulaDataSourceDetailType
;
import
pwc.taxtech.atms.constant.enums.KeyValueConfigResultType
;
import
pwc.taxtech.atms.dto.vatdto.InputInvoiceDataSourceDto
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
at
Invoice
;
import
java.math.BigDecimal
;
import
java.util.*
;
...
...
@@ -74,7 +74,7 @@ public class JXFP extends FunctionBase implements FreeRefFunction {
calendar
.
add
(
Calendar
.
YEAR
,
1
);
Date
endDate
=
calendar
.
getTime
();
List
<
InputV
AT
Invoice
>
inputVATInvoices
;
List
<
InputV
at
Invoice
>
inputVATInvoices
;
if
(
authenticationType
==
1
&&
formulaContext
.
getIsYear
())
{
inputVATInvoices
=
SpringContextUtil
.
inputVatInvoiceDao
.
getInputVATInvoice
(
null
,
invoiceType
,
Constant
.
InputInvoiceCertificationResult
.
CheckPass
,
Constant
.
InputInvoiceCertificationResult
.
ScanPass
,
...
...
@@ -126,7 +126,7 @@ public class JXFP extends FunctionBase implements FreeRefFunction {
}
List
<
InputInvoiceDataSourceDto
>
dataSource
=
new
ArrayList
<>();
for
(
InputV
AT
Invoice
x
:
inputVATInvoices
)
{
for
(
InputV
at
Invoice
x
:
inputVATInvoices
)
{
InputInvoiceDataSourceDto
inputInvoiceDataSourceDto
=
new
InputInvoiceDataSourceDto
();
inputInvoiceDataSourceDto
.
setAmount
(
FormulaHelper
.
roundValue
(
x
.
getAmount
(),
KeyValueConfigResultType
.
Accounting
,
null
,
formulaContext
));
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/InputVATInvoiceItemMapper.java
View file @
5d993a92
...
...
@@ -5,18 +5,18 @@ import org.apache.ibatis.annotations.Mapper;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyVatMapper
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItemExample
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItemExample
;
@Mapper
public
interface
InputV
AT
InvoiceItemMapper
extends
MyVatMapper
{
public
interface
InputV
at
InvoiceItemMapper
extends
MyVatMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoiceItem
*
* @mbg.generated
*/
long
countByExample
(
InputV
AT
InvoiceItemExample
example
);
long
countByExample
(
InputV
at
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -24,7 +24,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
deleteByExample
(
InputV
AT
InvoiceItemExample
example
);
int
deleteByExample
(
InputV
at
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -40,7 +40,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insert
(
InputV
AT
InvoiceItem
record
);
int
insert
(
InputV
at
InvoiceItem
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -48,7 +48,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insertSelective
(
InputV
AT
InvoiceItem
record
);
int
insertSelective
(
InputV
at
InvoiceItem
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -56,7 +56,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
InputV
ATInvoiceItem
>
selectByExampleWithRowbounds
(
InputVAT
InvoiceItemExample
example
,
RowBounds
rowBounds
);
List
<
InputV
atInvoiceItem
>
selectByExampleWithRowbounds
(
InputVat
InvoiceItemExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -64,7 +64,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
InputV
ATInvoiceItem
>
selectByExample
(
InputVAT
InvoiceItemExample
example
);
List
<
InputV
atInvoiceItem
>
selectByExample
(
InputVat
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -72,7 +72,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
InputV
AT
InvoiceItem
selectByPrimaryKey
(
String
ID
);
InputV
at
InvoiceItem
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,7 +80,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
InputV
ATInvoiceItem
record
,
@Param
(
"example"
)
InputVAT
InvoiceItemExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
InputV
atInvoiceItem
record
,
@Param
(
"example"
)
InputVat
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -88,7 +88,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
InputV
ATInvoiceItem
record
,
@Param
(
"example"
)
InputVAT
InvoiceItemExample
example
);
int
updateByExample
(
@Param
(
"record"
)
InputV
atInvoiceItem
record
,
@Param
(
"example"
)
InputVat
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -96,7 +96,7 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
InputV
AT
InvoiceItem
record
);
int
updateByPrimaryKeySelective
(
InputV
at
InvoiceItem
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -104,5 +104,5 @@ public interface InputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
InputV
AT
InvoiceItem
record
);
int
updateByPrimaryKey
(
InputV
at
InvoiceItem
record
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/InputVATInvoiceMapper.java
View file @
5d993a92
...
...
@@ -9,18 +9,18 @@ import pwc.taxtech.atms.vat.dpo.CellInvoiceDto;
import
pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam
;
import
pwc.taxtech.atms.vat.dpo.InputVATInvoiceItemExtendDto
;
import
pwc.taxtech.atms.vat.dpo.InputVATInvoiceResultDto
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
A
TInvoiceExample
;
import
pwc.taxtech.atms.vat.entity.InputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
at
TInvoiceExample
;
@Mapper
public
interface
InputV
AT
InvoiceMapper
extends
MyVatMapper
{
public
interface
InputV
at
InvoiceMapper
extends
MyVatMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table InputVATInvoice
*
* @mbg.generated
*/
long
countByExample
(
InputV
A
TInvoiceExample
example
);
long
countByExample
(
InputV
at
TInvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -28,7 +28,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
deleteByExample
(
InputV
A
TInvoiceExample
example
);
int
deleteByExample
(
InputV
at
TInvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -44,7 +44,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insert
(
InputV
AT
Invoice
record
);
int
insert
(
InputV
at
Invoice
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -52,7 +52,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insertSelective
(
InputV
AT
Invoice
record
);
int
insertSelective
(
InputV
at
Invoice
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -60,7 +60,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
InputV
ATInvoice
>
selectByExampleWithRowbounds
(
InputVA
TInvoiceExample
example
,
RowBounds
rowBounds
);
List
<
InputV
atInvoice
>
selectByExampleWithRowbounds
(
InputVat
TInvoiceExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -68,7 +68,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
InputV
ATInvoice
>
selectByExample
(
InputVA
TInvoiceExample
example
);
List
<
InputV
atInvoice
>
selectByExample
(
InputVat
TInvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -76,7 +76,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
InputV
AT
Invoice
selectByPrimaryKey
(
String
ID
);
InputV
at
Invoice
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -84,7 +84,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
InputV
ATInvoice
record
,
@Param
(
"example"
)
InputVA
TInvoiceExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
InputV
atInvoice
record
,
@Param
(
"example"
)
InputVat
TInvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -92,7 +92,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
InputV
ATInvoice
record
,
@Param
(
"example"
)
InputVA
TInvoiceExample
example
);
int
updateByExample
(
@Param
(
"record"
)
InputV
atInvoice
record
,
@Param
(
"example"
)
InputVat
TInvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -100,7 +100,7 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
InputV
AT
Invoice
record
);
int
updateByPrimaryKeySelective
(
InputV
at
Invoice
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -108,11 +108,11 @@ public interface InputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
InputV
AT
Invoice
record
);
int
updateByPrimaryKey
(
InputV
at
Invoice
record
);
long
getInputVATInvoiceCountByCondition
(
@Param
(
"paras"
)
InputInvoicePreviewQueryParam
param
);
List
<
InputV
ATInvoice
>
getInputVATInvoiceCountByConditionWithPaging
(
@Param
(
"paras"
)
InputInvoicePreviewQueryParam
param
,
@Param
(
"limitFrom"
)
int
limitFrom
);
List
<
InputV
atInvoice
>
getInputVATInvoiceCountByConditionWithPaging
(
@Param
(
"paras"
)
InputInvoicePreviewQueryParam
param
,
@Param
(
"limitFrom"
)
int
limitFrom
);
List
<
InputVATInvoiceResultDto
>
getInputVATInvoiceResultDto
(
@Param
(
"dbName"
)
String
dbName
);
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/OutputVATInvoiceItemMapper.java
View file @
5d993a92
...
...
@@ -5,18 +5,18 @@ import org.apache.ibatis.annotations.Mapper;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyVatMapper
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItemExample
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItemExample
;
@Mapper
public
interface
OutputV
AT
InvoiceItemMapper
extends
MyVatMapper
{
public
interface
OutputV
at
InvoiceItemMapper
extends
MyVatMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoiceItem
*
* @mbg.generated
*/
long
countByExample
(
OutputV
AT
InvoiceItemExample
example
);
long
countByExample
(
OutputV
at
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -24,7 +24,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
deleteByExample
(
OutputV
AT
InvoiceItemExample
example
);
int
deleteByExample
(
OutputV
at
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -40,7 +40,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insert
(
OutputV
AT
InvoiceItem
record
);
int
insert
(
OutputV
at
InvoiceItem
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -48,7 +48,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insertSelective
(
OutputV
AT
InvoiceItem
record
);
int
insertSelective
(
OutputV
at
InvoiceItem
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -56,7 +56,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
OutputV
ATInvoiceItem
>
selectByExampleWithRowbounds
(
OutputVAT
InvoiceItemExample
example
,
RowBounds
rowBounds
);
List
<
OutputV
atInvoiceItem
>
selectByExampleWithRowbounds
(
OutputVat
InvoiceItemExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -64,7 +64,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
OutputV
ATInvoiceItem
>
selectByExample
(
OutputVAT
InvoiceItemExample
example
);
List
<
OutputV
atInvoiceItem
>
selectByExample
(
OutputVat
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -72,7 +72,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
OutputV
AT
InvoiceItem
selectByPrimaryKey
(
String
itemID
);
OutputV
at
InvoiceItem
selectByPrimaryKey
(
String
itemID
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,7 +80,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
OutputV
ATInvoiceItem
record
,
@Param
(
"example"
)
OutputVAT
InvoiceItemExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
OutputV
atInvoiceItem
record
,
@Param
(
"example"
)
OutputVat
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -88,7 +88,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
OutputV
ATInvoiceItem
record
,
@Param
(
"example"
)
OutputVAT
InvoiceItemExample
example
);
int
updateByExample
(
@Param
(
"record"
)
OutputV
atInvoiceItem
record
,
@Param
(
"example"
)
OutputVat
InvoiceItemExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -96,7 +96,7 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
OutputV
AT
InvoiceItem
record
);
int
updateByPrimaryKeySelective
(
OutputV
at
InvoiceItem
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -104,5 +104,5 @@ public interface OutputVATInvoiceItemMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
OutputV
AT
InvoiceItem
record
);
int
updateByPrimaryKey
(
OutputV
at
InvoiceItem
record
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/OutputVATInvoiceMapper.java
View file @
5d993a92
...
...
@@ -10,18 +10,18 @@ import pwc.taxtech.atms.vat.dpo.OutputInvoiceDataSourceDto;
import
pwc.taxtech.atms.vat.dpo.OutputVATInvoiceDto
;
import
pwc.taxtech.atms.vat.dpo.OutputVATInvoiceInfoDto
;
import
pwc.taxtech.atms.vat.dpo.QueryOutputDto
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceExample
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceExample
;
@Mapper
public
interface
OutputV
AT
InvoiceMapper
extends
MyVatMapper
{
public
interface
OutputV
at
InvoiceMapper
extends
MyVatMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table OutputVATInvoice
*
* @mbg.generated
*/
long
countByExample
(
OutputV
AT
InvoiceExample
example
);
long
countByExample
(
OutputV
at
InvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -29,7 +29,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
deleteByExample
(
OutputV
AT
InvoiceExample
example
);
int
deleteByExample
(
OutputV
at
InvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -45,7 +45,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insert
(
OutputV
AT
Invoice
record
);
int
insert
(
OutputV
at
Invoice
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -53,7 +53,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
insertSelective
(
OutputV
AT
Invoice
record
);
int
insertSelective
(
OutputV
at
Invoice
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -61,7 +61,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
OutputV
ATInvoice
>
selectByExampleWithRowbounds
(
OutputVAT
InvoiceExample
example
,
RowBounds
rowBounds
);
List
<
OutputV
atInvoice
>
selectByExampleWithRowbounds
(
OutputVat
InvoiceExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +69,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
List
<
OutputV
ATInvoice
>
selectByExample
(
OutputVAT
InvoiceExample
example
);
List
<
OutputV
atInvoice
>
selectByExample
(
OutputVat
InvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -77,7 +77,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
OutputV
AT
Invoice
selectByPrimaryKey
(
String
invoiceID
);
OutputV
at
Invoice
selectByPrimaryKey
(
String
invoiceID
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -85,7 +85,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
OutputV
ATInvoice
record
,
@Param
(
"example"
)
OutputVAT
InvoiceExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
OutputV
atInvoice
record
,
@Param
(
"example"
)
OutputVat
InvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -93,7 +93,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
OutputV
ATInvoice
record
,
@Param
(
"example"
)
OutputVAT
InvoiceExample
example
);
int
updateByExample
(
@Param
(
"record"
)
OutputV
atInvoice
record
,
@Param
(
"example"
)
OutputVat
InvoiceExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -101,7 +101,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
OutputV
AT
Invoice
record
);
int
updateByPrimaryKeySelective
(
OutputV
at
Invoice
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -109,7 +109,7 @@ public interface OutputVATInvoiceMapper extends MyVatMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
OutputV
AT
Invoice
record
);
int
updateByPrimaryKey
(
OutputV
at
Invoice
record
);
List
<
OutputVATInvoiceInfoDto
>
selectOutputVATInvoiceInfoLeftJoinItem
(
@Param
(
"queryDto"
)
QueryOutputDto
queryDto
);
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/dpo/InputVATInvoiceResultDto.java
View file @
5d993a92
package
pwc
.
taxtech
.
atms
.
vat
.
dpo
;
import
pwc.taxtech.atms.vat.entity.GoodsMapping
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.InputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem
;
public
class
InputVATInvoiceResultDto
{
private
String
invoiceID
;
private
InputV
AT
Invoice
inputVATInvoice
;
private
InputV
AT
InvoiceItem
inputVATInvoiceItem
;
private
InputV
at
Invoice
inputVATInvoice
;
private
InputV
at
InvoiceItem
inputVATInvoiceItem
;
private
GoodsMapping
goodsMapping
;
public
String
getInvoiceID
()
{
...
...
@@ -18,19 +18,19 @@ public class InputVATInvoiceResultDto {
this
.
invoiceID
=
invoiceID
;
}
public
InputV
AT
Invoice
getInputVATInvoice
()
{
public
InputV
at
Invoice
getInputVATInvoice
()
{
return
inputVATInvoice
;
}
public
void
setInputVATInvoice
(
InputV
AT
Invoice
inputVATInvoice
)
{
public
void
setInputVATInvoice
(
InputV
at
Invoice
inputVATInvoice
)
{
this
.
inputVATInvoice
=
inputVATInvoice
;
}
public
InputV
AT
InvoiceItem
getInputVATInvoiceItem
()
{
public
InputV
at
InvoiceItem
getInputVATInvoiceItem
()
{
return
inputVATInvoiceItem
;
}
public
void
setInputVATInvoiceItem
(
InputV
AT
InvoiceItem
inputVATInvoiceItem
)
{
public
void
setInputVATInvoiceItem
(
InputV
at
InvoiceItem
inputVATInvoiceItem
)
{
this
.
inputVATInvoiceItem
=
inputVATInvoiceItem
;
}
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/dpo/OutputVATInvoiceDto.java
View file @
5d993a92
package
pwc
.
taxtech
.
atms
.
vat
.
dpo
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
Invoice
;
import
pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem
;
public
class
OutputVATInvoiceDto
{
private
String
invoiceID
;
private
OutputV
AT
Invoice
invoice
;
private
OutputV
AT
InvoiceItem
invoiceItem
;
private
OutputV
at
Invoice
invoice
;
private
OutputV
at
InvoiceItem
invoiceItem
;
public
String
getInvoiceID
()
{
return
invoiceID
;
...
...
@@ -16,19 +16,19 @@ public class OutputVATInvoiceDto {
this
.
invoiceID
=
invoiceID
;
}
public
OutputV
AT
Invoice
getInvoice
()
{
public
OutputV
at
Invoice
getInvoice
()
{
return
invoice
;
}
public
void
setInvoice
(
OutputV
AT
Invoice
invoice
)
{
public
void
setInvoice
(
OutputV
at
Invoice
invoice
)
{
this
.
invoice
=
invoice
;
}
public
OutputV
AT
InvoiceItem
getInvoiceItem
()
{
public
OutputV
at
InvoiceItem
getInvoiceItem
()
{
return
invoiceItem
;
}
public
void
setInvoiceItem
(
OutputV
AT
InvoiceItem
invoiceItem
)
{
public
void
setInvoiceItem
(
OutputV
at
InvoiceItem
invoiceItem
)
{
this
.
invoiceItem
=
invoiceItem
;
}
}
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/InputVATInvoice.java
View file @
5d993a92
...
...
@@ -11,7 +11,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
InputV
AT
Invoice
implements
Serializable
{
public
class
InputV
at
Invoice
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/InputVATInvoiceItem.java
View file @
5d993a92
...
...
@@ -11,7 +11,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
InputV
AT
InvoiceItem
implements
Serializable
{
public
class
InputV
at
InvoiceItem
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/InputVATInvoiceItemExample.java
View file @
5d993a92
...
...
@@ -5,7 +5,7 @@ import java.util.ArrayList;
import
java.util.Date
;
import
java.util.List
;
public
class
InputV
AT
InvoiceItemExample
{
public
class
InputV
at
InvoiceItemExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table InputVATInvoiceItem
...
...
@@ -36,7 +36,7 @@ public class InputVATInvoiceItemExample {
*
* @mbg.generated
*/
public
InputV
AT
InvoiceItemExample
()
{
public
InputV
at
InvoiceItemExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/InputV
A
TInvoiceExample.java
→
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/InputV
at
TInvoiceExample.java
View file @
5d993a92
...
...
@@ -5,7 +5,7 @@ import java.util.ArrayList;
import
java.util.Date
;
import
java.util.List
;
public
class
InputV
A
TInvoiceExample
{
public
class
InputV
at
TInvoiceExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table InputVATInvoice
...
...
@@ -36,7 +36,7 @@ public class InputVATInvoiceExample {
*
* @mbg.generated
*/
public
InputV
A
TInvoiceExample
()
{
public
InputV
at
TInvoiceExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/OutputVATInvoice.java
View file @
5d993a92
...
...
@@ -10,7 +10,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
OutputV
AT
Invoice
implements
Serializable
{
public
class
OutputV
at
Invoice
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/OutputVATInvoiceExample.java
View file @
5d993a92
...
...
@@ -4,7 +4,7 @@ import java.util.ArrayList;
import
java.util.Date
;
import
java.util.List
;
public
class
OutputV
AT
InvoiceExample
{
public
class
OutputV
at
InvoiceExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table OutputVATInvoice
...
...
@@ -35,7 +35,7 @@ public class OutputVATInvoiceExample {
*
* @mbg.generated
*/
public
OutputV
AT
InvoiceExample
()
{
public
OutputV
at
InvoiceExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/OutputVATInvoiceItem.java
View file @
5d993a92
...
...
@@ -11,7 +11,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
OutputV
AT
InvoiceItem
implements
Serializable
{
public
class
OutputV
at
InvoiceItem
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/OutputVATInvoiceItemExample.java
View file @
5d993a92
...
...
@@ -5,7 +5,7 @@ import java.util.ArrayList;
import
java.util.Date
;
import
java.util.List
;
public
class
OutputV
AT
InvoiceItemExample
{
public
class
OutputV
at
InvoiceItemExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table OutputVATInvoiceItem
...
...
@@ -36,7 +36,7 @@ public class OutputVATInvoiceItemExample {
*
* @mbg.generated
*/
public
OutputV
AT
InvoiceItemExample
()
{
public
OutputV
at
InvoiceItemExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/InputVATInvoiceItemMapper.xml
View file @
5d993a92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.InputV
AT
InvoiceItemMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem"
>
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.InputV
at
InvoiceItemMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -93,7 +93,7 @@
ID, InputVATInvoiceID, PeriodID, InvoiceCode, InvoiceNumber, Amount, TaxAmount, TaxRate,
ProductionName, CreatorID, CreateTime, ProductionCode
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -129,7 +129,7 @@
delete from InputVATInvoiceItem
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItemExample"
>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItemExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -139,7 +139,7 @@
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem"
>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -155,7 +155,7 @@
#{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{productionCode,jdbcType=VARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem"
>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -238,7 +238,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItemExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItemExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -318,7 +318,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -361,7 +361,7 @@
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -380,7 +380,7 @@
ProductionCode = #{productionCode,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/InputVATInvoiceMapper.xml
View file @
5d993a92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.InputV
AT
InvoiceMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.InputV
AT
Invoice"
>
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.InputV
at
InvoiceMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.InputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -98,7 +98,7 @@
InvoiceType, CertificationResult, CertificationDate, CreatorID, CreateTime, `Status`,
PartAccntedPeriod, AccntedPeriod
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
A
TInvoiceExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
TInvoiceExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -134,7 +134,7 @@
delete from InputVATInvoice
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
A
TInvoiceExample"
>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
TInvoiceExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -144,7 +144,7 @@
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
Invoice"
>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -162,7 +162,7 @@
#{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
#{partAccntedPeriod,jdbcType=INTEGER}, #{accntedPeriod,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
Invoice"
>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -269,7 +269,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
A
TInvoiceExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
TInvoiceExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -365,7 +365,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
Invoice"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -420,7 +420,7 @@
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
AT
Invoice"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -443,7 +443,7 @@
AccntedPeriod = #{accntedPeriod,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
A
TInvoiceExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.InputV
at
TInvoiceExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/OutputVATInvoiceItemMapper.xml
View file @
5d993a92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.OutputV
AT
InvoiceItemMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem"
>
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.OutputV
at
InvoiceItemMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -99,7 +99,7 @@
Quantity, UnitPrice, Amount, TaxRate, TaxAmount, SeqNo, TaxClassCode, CreatorID,
CreateTime, PeriodID
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -135,7 +135,7 @@
delete from OutputVATInvoiceItem
where ItemID = #{itemID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItemExample"
>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItemExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -145,7 +145,7 @@
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem"
>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -163,7 +163,7 @@
#{seqNo,jdbcType=INTEGER}, #{taxClassCode,jdbcType=VARCHAR}, #{creatorID,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{periodID,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem"
>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -276,7 +276,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItemExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItemExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -376,7 +376,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -434,7 +434,7 @@
</set>
where ItemID = #{itemID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -458,7 +458,7 @@
PeriodID = #{periodID,jdbcType=INTEGER}
where ItemID = #{itemID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItemExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/OutputVATInvoiceMapper.xml
View file @
5d993a92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.OutputV
AT
InvoiceMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice"
>
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.OutputV
at
InvoiceMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.OutputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -98,7 +98,7 @@
PhoneNum, InvoiceDate, SeqNo, PeriodID, `Status`, CreatorID, CreateTime, PartAccntedPeriod,
AccntedPeriod
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -134,7 +134,7 @@
delete from OutputVATInvoice
where InvoiceID = #{invoiceID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceExample"
>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -144,7 +144,7 @@
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice"
>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -162,7 +162,7 @@
#{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{partAccntedPeriod,jdbcType=INTEGER},
#{accntedPeriod,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice"
>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -269,7 +269,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -365,7 +365,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -420,7 +420,7 @@
</set>
where InvoiceID = #{invoiceID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
Invoice"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -443,7 +443,7 @@
AccntedPeriod = #{accntedPeriod,jdbcType=INTEGER}
where InvoiceID = #{invoiceID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/InputVATInvoiceExtendsMapper.xml
View file @
5d993a92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.InputV
AT
InvoiceMapper"
>
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.InputV
at
InvoiceMapper"
>
<select
id=
"getInputVATInvoiceCountByCondition"
parameterType=
"pwc.taxtech.atms.dto.vatdto.InputInvoicePreviewQueryParam"
resultType=
"java.lang.Long"
>
SELECT COUNT(1) FROM InputVATInvoice WHERE 1=1
...
...
@@ -98,7 +98,7 @@
</select>
<resultMap
id=
"inputVATInvoiceResultDto"
type=
"pwc.taxtech.atms.dto.vatdto.InputVATInvoiceResultDto"
>
<id
property=
"invoiceID"
column=
"invoice_id"
/>
<association
property=
"inputVATInvoice"
javaType=
"pwc.taxtech.atms.vat.entity.InputV
AT
Invoice"
>
<association
property=
"inputVATInvoice"
javaType=
"pwc.taxtech.atms.vat.entity.InputV
at
Invoice"
>
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"PeriodID"
jdbcType=
"INTEGER"
property=
"periodID"
/>
<result
column=
"InvoiceCode"
jdbcType=
"VARCHAR"
property=
"invoiceCode"
/>
...
...
@@ -116,7 +116,7 @@
<result
column=
"PartAccntedPeriod"
jdbcType=
"INTEGER"
property=
"partAccntedPeriod"
/>
<result
column=
"AccntedPeriod"
jdbcType=
"INTEGER"
property=
"accntedPeriod"
/>
</association>
<association
property=
"inputVATInvoiceItem"
javaType=
"pwc.taxtech.atms.vat.entity.InputV
AT
InvoiceItem"
>
<association
property=
"inputVATInvoiceItem"
javaType=
"pwc.taxtech.atms.vat.entity.InputV
at
InvoiceItem"
>
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"InputVATInvoiceID"
jdbcType=
"VARCHAR"
property=
"inputVATInvoiceID"
/>
<result
column=
"PeriodID"
jdbcType=
"INTEGER"
property=
"periodID"
/>
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/OutputVATInvoiceExtendsMapper.xml
View file @
5d993a92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.OutputV
AT
InvoiceMapper"
>
<mapper
namespace=
"pwc.taxtech.atms.vat.dao.OutputV
at
InvoiceMapper"
>
<resultMap
id=
"OutputVATInvoiceInfoDto"
type=
"pwc.taxtech.atms.dto.vatdto.OutputVATInvoiceInfoDto"
>
<id
column=
"InvoiceID"
jdbcType=
"VARCHAR"
property=
"invoiceID"
/>
<result
column=
"InvoiceType"
jdbcType=
"INTEGER"
property=
"invoiceType"
/>
...
...
@@ -67,7 +67,7 @@
</select>
<resultMap
id=
"outputVATInvoiceDto"
type=
"pwc.taxtech.atms.dto.vatdto.OutputVATInvoiceDto"
>
<id
property=
"invoiceID"
column=
"invoice_id"
/>
<association
property=
"invoice"
javaType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
Invoice"
>
<association
property=
"invoice"
javaType=
"pwc.taxtech.atms.vat.entity.OutputV
at
Invoice"
>
<id
column=
"InvoiceID"
property=
"invoiceID"
/>
<result
column=
"InvoiceType"
property=
"invoiceType"
/>
<result
column=
"ClassCode"
property=
"classCode"
/>
...
...
@@ -85,7 +85,7 @@
<result
column=
"PartAccntedPeriod"
property=
"partAccntedPeriod"
/>
<result
column=
"AccntedPeriod"
property=
"accntedPeriod"
/>
</association>
<association
property=
"invoiceItem"
javaType=
"pwc.taxtech.atms.vat.entity.OutputV
AT
InvoiceItem"
>
<association
property=
"invoiceItem"
javaType=
"pwc.taxtech.atms.vat.entity.OutputV
at
InvoiceItem"
>
<id
column=
"ItemID"
property=
"itemID"
/>
<result
column=
"InvoiceID"
property=
"invoiceID"
/>
<result
column=
"CodeVersion"
property=
"codeVersion"
/>
...
...
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