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
a8ebb8bb
Commit
a8ebb8bb
authored
Jun 22, 2018
by
ken.q.you
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ken 发票导出
parent
fd860975
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
620 additions
and
561 deletions
+620
-561
.gitignore
.gitignore
+12
-11
mysql-connector-java-5.1.41.jar
atms-api/etc/generator/mysql-connector-java-5.1.41.jar
+0
-0
vatGeneratorConfig.xml
atms-api/etc/generator/vatGeneratorConfig.xml
+340
-341
vat_run.bat
atms-api/etc/generator/vat_run.bat
+2
-1
AppCachePool.java
atms-api/src/main/java/pwc/taxtech/atms/AppCachePool.java
+35
-35
InputInvoiceImportController.java
...taxtech/atms/controller/InputInvoiceImportController.java
+102
-102
InvoiceManageController.java
...axtech/atms/controller/input/InvoiceManageController.java
+12
-1
CamelPagingResultDto.java
...java/pwc/taxtech/atms/dto/input/CamelPagingResultDto.java
+10
-2
InputInvoiceQueryDto.java
...java/pwc/taxtech/atms/dto/input/InputInvoiceQueryDto.java
+65
-48
InvoiceManageService.java
...n/java/pwc/taxtech/atms/service/InvoiceManageService.java
+11
-0
InvoiceManageServiceImpl.java
...c/taxtech/atms/service/impl/InvoiceManageServiceImpl.java
+31
-20
No files found.
.gitignore
View file @
a8ebb8bb
.*
rebel.xml
!.gitignore
!.mvn
/tmp
/temp
/target
/build
/logs
/atms-web/src/main/webapp/node_modules
**/*.iml
.*
rebel.xml
!.gitignore
!.mvn
/tmp
/temp
/target
/build
/logs
/atms-web/src/main/webapp/node_modules
**/*.iml
**/.idea/
/bin/
atms-api/etc/generator/mysql-connector-java-5.1.41.jar
deleted
100644 → 0
View file @
fd860975
File deleted
atms-api/etc/generator/vatGeneratorConfig.xml
View file @
a8ebb8bb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<!-- See: http://www.mybatis.org/generator/configreference/commentGenerator.html -->
<properties
resource=
"vatGenerator.properties"
/>
<!-- <classPathEntry location="../hsqldb/hsqldb-2.3.5.jar" /> -->
<context
id=
"contextId"
targetRuntime=
"MyBatis3"
>
<!-- 考虑需要兼容DB2与ORCAL数据库, 大部份字段不需要加双引号,autoDelimitKeywords设置为false -->
<property
name=
"autoDelimitKeywords"
value=
"false"
/>
<property
name=
"javaFileEncoding"
value=
"UTF-8"
/>
<plugin
type=
"org.mybatis.generator.plugins.MapperAnnotationPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.RowBoundsPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.ToStringPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.SerializablePlugin"
/>
<commentGenerator>
<property
name=
"suppressDate"
value=
"true"
/>
<property
name=
"addRemarkComments"
value=
"true"
/>
</commentGenerator>
<jdbcConnection
driverClass=
"${jdbc.driverClass}"
connectionURL=
"${jdbc.connectionURL}"
userId=
"${jdbc.userId}"
password=
"${jdbc.password}"
>
</jdbcConnection>
<javaTypeResolver>
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
<javaModelGenerator
targetPackage=
"pwc.taxtech.atms.vat.entity"
targetProject=
"../../src/main/java"
>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<sqlMapGenerator
targetPackage=
"pwc.taxtech.atms.vat.dao"
targetProject=
"../../src/main/resources"
>
</sqlMapGenerator>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"pwc.taxtech.atms.vat.dao"
targetProject=
"../../src/main/java"
>
<property
name=
"rootInterface"
value=
"pwc.taxtech.atms.MyVatMapper"
/>
</javaClientGenerator>
<table
tableName=
"Account"
domainObjectName=
"Account"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsLeaf"
javaType=
"Boolean"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"AccountRemap"
domainObjectName=
"AccountRemap"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ReMappReason"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"AccountRemapSum"
domainObjectName=
"AccountRemapSum"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Balance"
domainObjectName=
"Balance"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"MappingReason"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"BalanceStd"
domainObjectName=
"BalanceStd"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"BalanceStdManual"
domainObjectName=
"BalanceStdManual"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CellComment"
domainObjectName=
"CellComment"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"CellData"
domainObjectName=
"CellData"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"FormulaExp"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"CellDataSource"
domainObjectName=
"CellDataSource"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CompanyBalance"
domainObjectName=
"CompanyBalance"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustBalance"
domainObjectName=
"CustBalance"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustBalanceStd"
domainObjectName=
"CustBalanceStd"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustBalanceStdManual"
domainObjectName=
"CustBalanceStdManual"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustomsInvoice"
domainObjectName=
"CustomsInvoice"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"DataSource"
domainObjectName=
"DataSource"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RowName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ColumnName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"DataSourceDetail"
domainObjectName=
"DataSourceDetail"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"EnterpriseAccount"
domainObjectName=
"VatEnterpriseAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"EntriesCheckDetailResult"
domainObjectName=
"EntriesCheckDetailResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"VID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Summary"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ItemID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"EntriesCheckResult"
domainObjectName=
"EntriesCheckResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"FormulaCache"
domainObjectName=
"FormulaCache"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"GoodsMapping"
domainObjectName=
"GoodsMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ImportFile"
domainObjectName=
"ImportFile"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"FilePath"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FileName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comments"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"IndexAnalysisDetailResult"
domainObjectName=
"IndexAnalysisDetailResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"IndexAnalysisResult"
domainObjectName=
"IndexAnalysisResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IndexCodeTotal"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"InputVATInvoice"
domainObjectName=
"InputVATInvoice"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"InputVATInvoiceItem"
domainObjectName=
"InputVATInvoiceItem"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"InvoiceMapping"
domainObjectName=
"InvoiceMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelBackFillAmount"
domainObjectName=
"ModelBackFillAmount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelCategoryResult"
domainObjectName=
"ModelCategoryResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelDetailLog"
domainObjectName=
"ModelDetailLog"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ModelLog"
domainObjectName=
"ModelLog"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ModifiedReportCell"
domainObjectName=
"ModifiedReportCell"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLog"
domainObjectName=
"VatOperationLog"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OperationObject"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"OperationContent"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OutputVATInvoice"
domainObjectName=
"OutputVATInvoice"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"OutputVATInvoiceItem"
domainObjectName=
"OutputVATInvoiceItem"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodCellReference"
domainObjectName=
"PeriodCellReference"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodCellTemplate"
domainObjectName=
"PeriodCellTemplate"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"RowName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ColumnName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodCellTemplateConfig"
domainObjectName=
"PeriodCellTemplateConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ParsedFormula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FormulaDescription"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"AccountCodes"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ModelIDs"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FormulaDataSource"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Validation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ParsedValidation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationDescription"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"VoucherKeyword"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodFormulaBlock"
domainObjectName=
"PeriodFormulaBlock"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"DataSourceInfo"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodTaxPayerReportRule"
domainObjectName=
"PeriodTaxPayerReportRule"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OrganizationID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodTaxRuleSetting"
domainObjectName=
"PeriodTaxRuleSetting"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodTaxRuleSettingOrganization"
domainObjectName=
"PeriodTaxRuleSettingOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodTemplate"
domainObjectName=
"PeriodTemplate"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Code"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Path"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"Report"
domainObjectName=
"Report"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"StandardAccount"
domainObjectName=
"VatStandardAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isLeaf"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"ValidationInfo"
domainObjectName=
"ValidationInfo"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ValidationResult"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationDetails"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationTips"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"Voucher"
domainObjectName=
"Voucher"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"VID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Summary"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ItemID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"MappingReason"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"VoucherMain"
domainObjectName=
"VoucherMain"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"VID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"VoucherMapping"
domainObjectName=
"VoucherMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<!-- See: http://www.mybatis.org/generator/configreference/commentGenerator.html -->
<properties
resource=
"vatGenerator.properties"
/>
<!-- <classPathEntry location="../hsqldb/hsqldb-2.3.5.jar" /> -->
<context
id=
"contextId"
targetRuntime=
"MyBatis3"
>
<!-- 考虑需要兼容DB2与ORCAL数据库, 大部份字段不需要加双引号,autoDelimitKeywords设置为false -->
<property
name=
"autoDelimitKeywords"
value=
"false"
/>
<property
name=
"javaFileEncoding"
value=
"UTF-8"
/>
<plugin
type=
"org.mybatis.generator.plugins.MapperAnnotationPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.RowBoundsPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.ToStringPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.SerializablePlugin"
/>
<commentGenerator>
<property
name=
"suppressDate"
value=
"true"
/>
<property
name=
"addRemarkComments"
value=
"true"
/>
</commentGenerator>
<jdbcConnection
driverClass=
"${jdbc.driverClass}"
connectionURL=
"${jdbc.connectionURL}"
userId=
"${jdbc.userId}"
password=
"${jdbc.password}"
>
</jdbcConnection>
<javaTypeResolver>
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
<javaModelGenerator
targetPackage=
"pwc.taxtech.atms.vat.entity"
targetProject=
"../../src/main/java"
>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<sqlMapGenerator
targetPackage=
"pwc.taxtech.atms.vat.dao"
targetProject=
"../../src/main/resources"
>
</sqlMapGenerator>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"pwc.taxtech.atms.vat.dao"
targetProject=
"../../src/main/java"
>
<property
name=
"rootInterface"
value=
"pwc.taxtech.atms.MyVatMapper"
/>
</javaClientGenerator>
<table
tableName=
"Account"
domainObjectName=
"Account"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsLeaf"
javaType=
"Boolean"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"AccountRemap"
domainObjectName=
"AccountRemap"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ReMappReason"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"AccountRemapSum"
domainObjectName=
"AccountRemapSum"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Balance"
domainObjectName=
"Balance"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"MappingReason"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"BalanceStd"
domainObjectName=
"BalanceStd"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"BalanceStdManual"
domainObjectName=
"BalanceStdManual"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CellComment"
domainObjectName=
"CellComment"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"CellData"
domainObjectName=
"CellData"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"FormulaExp"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"CellDataSource"
domainObjectName=
"CellDataSource"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CompanyBalance"
domainObjectName=
"CompanyBalance"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustBalance"
domainObjectName=
"CustBalance"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustBalanceStd"
domainObjectName=
"CustBalanceStd"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustBalanceStdManual"
domainObjectName=
"CustBalanceStdManual"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"CustomsInvoice"
domainObjectName=
"CustomsInvoice"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"DataSource"
domainObjectName=
"DataSource"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RowName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ColumnName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"DataSourceDetail"
domainObjectName=
"DataSourceDetail"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"EnterpriseAccount"
domainObjectName=
"VatEnterpriseAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"EntriesCheckDetailResult"
domainObjectName=
"EntriesCheckDetailResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"VID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Summary"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ItemID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"EntriesCheckResult"
domainObjectName=
"EntriesCheckResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"FormulaCache"
domainObjectName=
"FormulaCache"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"GoodsMapping"
domainObjectName=
"GoodsMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ImportFile"
domainObjectName=
"ImportFile"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"FilePath"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FileName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comments"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"IndexAnalysisDetailResult"
domainObjectName=
"IndexAnalysisDetailResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"IndexAnalysisResult"
domainObjectName=
"IndexAnalysisResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IndexCodeTotal"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"InputVATInvoice"
domainObjectName=
"InputVATInvoice"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"InputVATInvoiceItem"
domainObjectName=
"InputVATInvoiceItem"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"InvoiceMapping"
domainObjectName=
"InvoiceMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelBackFillAmount"
domainObjectName=
"ModelBackFillAmount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelCategoryResult"
domainObjectName=
"ModelCategoryResult"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelDetailLog"
domainObjectName=
"ModelDetailLog"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ModelLog"
domainObjectName=
"ModelLog"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ModifiedReportCell"
domainObjectName=
"ModifiedReportCell"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLog"
domainObjectName=
"VatOperationLog"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OperationObject"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"OperationContent"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OutputVATInvoice"
domainObjectName=
"OutputVATInvoice"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"OutputVATInvoiceItem"
domainObjectName=
"OutputVATInvoiceItem"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodCellReference"
domainObjectName=
"PeriodCellReference"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodCellTemplate"
domainObjectName=
"PeriodCellTemplate"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"RowName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ColumnName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodCellTemplateConfig"
domainObjectName=
"PeriodCellTemplateConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ParsedFormula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FormulaDescription"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"AccountCodes"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ModelIDs"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FormulaDataSource"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Validation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ParsedValidation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationDescription"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"VoucherKeyword"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodFormulaBlock"
domainObjectName=
"PeriodFormulaBlock"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"DataSourceInfo"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodTaxPayerReportRule"
domainObjectName=
"PeriodTaxPayerReportRule"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OrganizationID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"PeriodTaxRuleSetting"
domainObjectName=
"PeriodTaxRuleSetting"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodTaxRuleSettingOrganization"
domainObjectName=
"PeriodTaxRuleSettingOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodTemplate"
domainObjectName=
"PeriodTemplate"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Code"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Path"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"Report"
domainObjectName=
"Report"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"StandardAccount"
domainObjectName=
"VatStandardAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isLeaf"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"ValidationInfo"
domainObjectName=
"ValidationInfo"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ValidationResult"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationDetails"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationTips"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"Voucher"
domainObjectName=
"Voucher"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"VID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Summary"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ItemID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"MappingReason"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"VoucherMain"
domainObjectName=
"VoucherMain"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"VID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"VoucherMapping"
domainObjectName=
"VoucherMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
</context>
</generatorConfiguration>
atms-api/etc/generator/vat_run.bat
View file @
a8ebb8bb
...
...
@@ -2,4 +2,4 @@ rem see http://www.mybatis.org/generator/running/runningFromCmdLine.html
cd /d %~dp0
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile vatGeneratorConfig.xml -overwrite -verbose
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
pause
pause
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/AppCachePool.java
View file @
a8ebb8bb
package
pwc
.
taxtech
.
atms
;
import
pwc.taxtech.atms.dto.user.UserDto
;
import
pwc.taxtech.atms.service.OperationLogService
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
AppCachePool
{
private
static
Map
<
String
,
UserDto
>
CACHED_USERS
=
null
;
private
static
Object
_locker
=
new
Object
();
static
{
CACHED_USERS
=
new
HashMap
<>();
}
public
static
UserDto
getCachedUser
(
String
name
)
{
String
userName
=
name
.
toLowerCase
();
synchronized
(
_locker
)
{
if
(!
CACHED_USERS
.
containsKey
(
userName
))
{
UserDto
dto
=
new
UserDto
();
//TODO:should fixed to load from db (neo)
dto
.
setUserName
(
"cach_test"
);
dto
.
setID
(
"1"
);
CACHED_USERS
.
put
(
userName
,
dto
);
}
return
CACHED_USERS
.
get
(
userName
);
}
}
}
package
pwc
.
taxtech
.
atms
;
import
pwc.taxtech.atms.dto.user.UserDto
;
import
pwc.taxtech.atms.service.OperationLogService
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
AppCachePool
{
private
static
Map
<
String
,
UserDto
>
CACHED_USERS
=
null
;
private
static
Object
_locker
=
new
Object
();
static
{
CACHED_USERS
=
new
HashMap
<>();
}
public
static
UserDto
getCachedUser
(
String
name
)
{
String
userName
=
name
.
toLowerCase
();
synchronized
(
_locker
)
{
if
(!
CACHED_USERS
.
containsKey
(
userName
))
{
UserDto
dto
=
new
UserDto
();
//TODO:should fixed to load from db (neo)
dto
.
setUserName
(
"cach_test"
);
dto
.
setID
(
"1"
);
CACHED_USERS
.
put
(
userName
,
dto
);
}
return
CACHED_USERS
.
get
(
userName
);
}
}
}
atms-api/src/main/java/pwc/taxtech/atms/controller/InputInvoiceImportController.java
View file @
a8ebb8bb
package
pwc
.
taxtech
.
atms
.
controller
;
import
org.apache.http.HttpStatus
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.*
;
import
pwc.taxtech.atms.dto.PagingResultDto
;
import
pwc.taxtech.atms.dto.vatdto.*
;
import
pwc.taxtech.atms.thirdparty.ExcelSheet
;
import
pwc.taxtech.atms.thirdparty.ExcelUtil
;
import
pwc.taxtech.atms.vat.service.InputInvoiceDataImportService
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.io.OutputStream
;
import
java.util.*
;
@RestController
@RequestMapping
(
value
=
"api/v1/inputInvoiceImport"
)
public
class
InputInvoiceImportController
{
@Autowired
InputInvoiceDataImportService
inputInvoiceDataImportService
;
@RequestMapping
(
value
=
"inputInvoicePreviewList"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
@ResponseBody
PagingResultDto
<
InputVATInvoiceDto
>
getInputInvoiceTreeViewData
(
@RequestBody
InputInvoicePreviewQueryParam
paras
)
{
return
inputInvoiceDataImportService
.
getInputInvoiceTreeViewData
(
paras
);
}
@RequestMapping
(
value
=
"exportQueryData/get"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
void
downloadInvoiceQueryData
(
@RequestBody
InputInvoicePreviewQueryParam
paras
,
HttpServletResponse
response
)
{
response
.
setContentType
(
"application/vnd.ms-excel;charset=utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
UUID
.
randomUUID
()
+
".xlsx"
);
response
.
setHeader
(
"x-file-name"
,
UUID
.
randomUUID
()
+
".xlsx"
);
OutputStream
os
=
null
;
try
{
os
=
response
.
getOutputStream
();
int
count
=
getDownloadFilePath
(
paras
,
os
);
if
(
count
==
0
)
{
response
.
setStatus
(
HttpStatus
.
SC_NO_CONTENT
);
}
else
{
response
.
setStatus
(
HttpStatus
.
SC_OK
);
}
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
}
private
int
getDownloadFilePath
(
InputInvoicePreviewQueryParam
paras
,
OutputStream
outputStream
)
{
List
<
InputVATInvoiceDto
>
list
=
inputInvoiceDataImportService
.
getInputInvoiceTreeViewData
(
paras
).
getList
();
if
(
list
.
size
()
==
0
)
{
//return 0;
}
Map
<
String
,
String
>
header
=
new
HashMap
<>();
header
.
put
(
"PeriodID"
,
"期间"
);
header
.
put
(
"InvoiceDate"
,
"开票日期"
);
header
.
put
(
"InvoiceCode"
,
"发票代码"
);
header
.
put
(
"InvoiceNumber"
,
"发票号码"
);
header
.
put
(
"SellerTaxNumber"
,
"供货方税号"
);
header
.
put
(
"InvoiceTypeName"
,
"发票类型"
);
header
.
put
(
"Amount"
,
"金额"
);
header
.
put
(
"TaxAmount"
,
"税额"
);
header
.
put
(
"CertificationDate"
,
"认证日期"
);
ExcelSheet
excelSheetA
=
new
ExcelSheet
<>();
excelSheetA
.
setHeaders
(
header
);
excelSheetA
.
setDataset
(
list
);
excelSheetA
.
setSheetName
(
"sheetA"
);
Map
<
String
,
String
>
header2
=
new
HashMap
<>();
header2
.
put
(
"PeriodID"
,
"期间"
);
header2
.
put
(
"InvoiceCode"
,
"发票代码"
);
header2
.
put
(
"InvoiceNumber"
,
"发票号码"
);
header2
.
put
(
"Amount"
,
"金额"
);
header2
.
put
(
"TaxAmount"
,
"税额"
);
header2
.
put
(
"TaxRate"
,
"税率"
);
header2
.
put
(
"ProductionName"
,
"货物名称"
);
ExcelSheet
excelSheetB
=
new
ExcelSheet
<>();
excelSheetB
.
setHeaders
(
header2
);
excelSheetB
.
setSheetName
(
"sheetB"
);
List
<
InputVATInvoiceItemDto
>
inputInvoiceItemList
=
new
ArrayList
<>();
for
(
InputVATInvoiceDto
item
:
list
)
{
List
<
InputVATInvoiceItemDto
>
tempResult
=
inputInvoiceDataImportService
.
getInputInvoiceItemTreeViewData
(
item
.
getID
());
for
(
InputVATInvoiceItemDto
r
:
tempResult
)
{
inputInvoiceItemList
.
add
(
r
);
}
}
excelSheetB
.
setDataset
(
inputInvoiceItemList
);
List
<
ExcelSheet
<
InputVATInvoiceBaseDto
>>
sheets
=
new
ArrayList
<>();
sheets
.
add
(
excelSheetA
);
sheets
.
add
(
excelSheetB
);
ExcelUtil
.
exportExcel
(
sheets
,
outputStream
);
return
list
.
size
();
}
}
package
pwc
.
taxtech
.
atms
.
controller
;
import
org.apache.http.HttpStatus
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.*
;
import
pwc.taxtech.atms.dto.PagingResultDto
;
import
pwc.taxtech.atms.dto.vatdto.*
;
import
pwc.taxtech.atms.thirdparty.ExcelSheet
;
import
pwc.taxtech.atms.thirdparty.ExcelUtil
;
import
pwc.taxtech.atms.vat.service.InputInvoiceDataImportService
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.io.OutputStream
;
import
java.util.*
;
@RestController
@RequestMapping
(
value
=
"api/v1/inputInvoiceImport"
)
public
class
InputInvoiceImportController
{
@Autowired
InputInvoiceDataImportService
inputInvoiceDataImportService
;
@RequestMapping
(
value
=
"inputInvoicePreviewList"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
@ResponseBody
PagingResultDto
<
InputVATInvoiceDto
>
getInputInvoiceTreeViewData
(
@RequestBody
InputInvoicePreviewQueryParam
paras
)
{
return
inputInvoiceDataImportService
.
getInputInvoiceTreeViewData
(
paras
);
}
@RequestMapping
(
value
=
"exportQueryData/get"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
void
downloadInvoiceQueryData
(
@RequestBody
InputInvoicePreviewQueryParam
paras
,
HttpServletResponse
response
)
{
response
.
setContentType
(
"application/vnd.ms-excel;charset=utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
UUID
.
randomUUID
()
+
".xlsx"
);
response
.
setHeader
(
"x-file-name"
,
UUID
.
randomUUID
()
+
".xlsx"
);
OutputStream
os
=
null
;
try
{
os
=
response
.
getOutputStream
();
int
count
=
getDownloadFilePath
(
paras
,
os
);
if
(
count
==
0
)
{
response
.
setStatus
(
HttpStatus
.
SC_NO_CONTENT
);
}
else
{
response
.
setStatus
(
HttpStatus
.
SC_OK
);
}
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
}
private
int
getDownloadFilePath
(
InputInvoicePreviewQueryParam
paras
,
OutputStream
outputStream
)
{
List
<
InputVATInvoiceDto
>
list
=
inputInvoiceDataImportService
.
getInputInvoiceTreeViewData
(
paras
).
getList
();
if
(
list
.
size
()
==
0
)
{
//return 0;
}
Map
<
String
,
String
>
header
=
new
HashMap
<>();
header
.
put
(
"PeriodID"
,
"期间"
);
header
.
put
(
"InvoiceDate"
,
"开票日期"
);
header
.
put
(
"InvoiceCode"
,
"发票代码"
);
header
.
put
(
"InvoiceNumber"
,
"发票号码"
);
header
.
put
(
"SellerTaxNumber"
,
"供货方税号"
);
header
.
put
(
"InvoiceTypeName"
,
"发票类型"
);
header
.
put
(
"Amount"
,
"金额"
);
header
.
put
(
"TaxAmount"
,
"税额"
);
header
.
put
(
"CertificationDate"
,
"认证日期"
);
ExcelSheet
excelSheetA
=
new
ExcelSheet
<>();
excelSheetA
.
setHeaders
(
header
);
excelSheetA
.
setDataset
(
list
);
excelSheetA
.
setSheetName
(
"sheetA"
);
Map
<
String
,
String
>
header2
=
new
HashMap
<>();
header2
.
put
(
"PeriodID"
,
"期间"
);
header2
.
put
(
"InvoiceCode"
,
"发票代码"
);
header2
.
put
(
"InvoiceNumber"
,
"发票号码"
);
header2
.
put
(
"Amount"
,
"金额"
);
header2
.
put
(
"TaxAmount"
,
"税额"
);
header2
.
put
(
"TaxRate"
,
"税率"
);
header2
.
put
(
"ProductionName"
,
"货物名称"
);
ExcelSheet
excelSheetB
=
new
ExcelSheet
<>();
excelSheetB
.
setHeaders
(
header2
);
excelSheetB
.
setSheetName
(
"sheetB"
);
List
<
InputVATInvoiceItemDto
>
inputInvoiceItemList
=
new
ArrayList
<>();
for
(
InputVATInvoiceDto
item
:
list
)
{
List
<
InputVATInvoiceItemDto
>
tempResult
=
inputInvoiceDataImportService
.
getInputInvoiceItemTreeViewData
(
item
.
getID
());
for
(
InputVATInvoiceItemDto
r
:
tempResult
)
{
inputInvoiceItemList
.
add
(
r
);
}
}
excelSheetB
.
setDataset
(
inputInvoiceItemList
);
List
<
ExcelSheet
<
InputVATInvoiceBaseDto
>>
sheets
=
new
ArrayList
<>();
sheets
.
add
(
excelSheetA
);
sheets
.
add
(
excelSheetB
);
ExcelUtil
.
exportExcel
(
sheets
,
outputStream
);
return
list
.
size
();
}
}
atms-api/src/main/java/pwc/taxtech/atms/controller/input/InvoiceManageController.java
View file @
a8ebb8bb
...
...
@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import
com.github.pagehelper.PageHelper
;
import
io.swagger.annotations.ApiOperation
;
import
pwc.taxtech.atms.controller.BaseController
;
import
pwc.taxtech.atms.dto.OperationResultDto
;
import
pwc.taxtech.atms.dto.input.CamelPagingDto
;
...
...
@@ -27,13 +28,14 @@ public class InvoiceManageController extends BaseController {
@Autowired
private
InvoiceManageService
invoiceManageService
;
@ApiOperation
(
value
=
"查询所有发票"
)
@ResponseBody
@RequestMapping
(
value
=
"getInputInvoiceList"
,
method
=
RequestMethod
.
POST
)
public
CamelPagingResultDto
<
InputInvoice
>
getInputInvoiceList
(
@RequestBody
InputInvoiceQueryDto
inputInvoiceQueryDto
)
{
CamelPagingResultDto
<
InputInvoice
>
resultDto
=
new
CamelPagingResultDto
<
InputInvoice
>();
try
{
CamelPagingDto
camelPagingDto
=
inputInvoiceQueryDto
.
getPagingDto
()==
null
?
new
CamelPagingDto
():
inputInvoiceQueryDto
.
getPagingDto
();
resultDto
=
invoiceManageService
.
getInputInvoiceList
(
inputInvoiceQueryDto
);
//todo 业务代码
}
catch
(
Exception
e
)
{
...
...
@@ -41,5 +43,14 @@ public class InvoiceManageController extends BaseController {
}
return
resultDto
;
}
@ApiOperation
(
value
=
"导出所有关联发票"
)
@ResponseBody
@RequestMapping
(
value
=
"exportInvoiceAllInfoList"
,
method
=
RequestMethod
.
POST
)
public
String
exportInvoiceAllInfoList
(
@RequestBody
InputInvoiceQueryDto
inputInvoiceQueryDto
,
String
filename
)
{
String
filePath
=
invoiceManageService
.
exportInvoiceAllInfoList
(
inputInvoiceQueryDto
,
inputInvoiceQueryDto
.
getPagingDto
(),
filename
);
return
null
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/dto/input/CamelPagingResultDto.java
View file @
a8ebb8bb
...
...
@@ -2,14 +2,22 @@ package pwc.taxtech.atms.dto.input;
import
java.util.List
;
import
com.alibaba.fastjson.annotation.JSONField
;
public
class
CamelPagingResultDto
<
T
>
{
@JSONField
(
name
=
"List"
)
private
List
<
T
>
list
;
@JSONField
(
name
=
"PageInfo"
)
private
CamelPagingDto
pageInfo
;
private
T
calculateData
;
public
CamelPagingResultDto
()
{
super
();
}
public
List
<
T
>
getList
()
{
public
List
<
T
>
getList
()
{
return
list
;
}
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/input/InputInvoiceQueryDto.java
View file @
a8ebb8bb
...
...
@@ -20,49 +20,29 @@ public class InputInvoiceQueryDto {
//发票类型
private
Integer
invoiceType
;
//开票日期范围
private
Date
invoiceDate
;
private
Date
invoiceDateForm
;
private
Date
invoiceDateTo
;
//上传日期范围
private
Date
uploadDate
;
private
Date
uploadDateForm
;
private
Date
uploadDateTo
;
//票面金额范围
private
BigDecimal
amount
;
private
BigDecimal
amountForm
;
private
BigDecimal
amountTo
;
//发票实体
private
Integer
invoiceEntityType
;
//发票来源
private
Integer
invoiceSourceType
;
//验真分类
private
Integer
verifyType
;
//创建者
private
String
staffId
;
private
String
createBy
;
//序列号
private
String
serialNo
;
// private String buyerAddress;
//
// private String buyerBankAccountNumber;
//
// private String buyerName;
//
// private String buyerPhone;
//
// private String buyerTaxNumber;
//
// private String checkCode;
//
// private String createBy;
//
// private Date createTime;
@Override
public
String
toString
()
{
return
"InputInvoiceQueryDto [buyerBankName="
+
buyerBankName
+
", sellerName="
+
sellerName
+
", invoiceNumber="
+
invoiceNumber
+
", status="
+
status
+
", uploadType="
+
uploadType
+
", invoiceType="
+
invoiceType
+
", invoiceDate="
+
invoiceDate
+
", uploadDate="
+
uploadDate
+
", amount="
+
amount
+
", invoiceEntityType="
+
invoiceEntityType
+
", invoiceSourceType="
+
invoiceSourceType
+
", staffId="
+
staffId
+
", serialNo="
+
serialNo
+
", pagingDto="
+
pagingDto
+
"]"
;
}
private
CamelPagingDto
pagingDto
;
...
...
@@ -122,28 +102,71 @@ public class InputInvoiceQueryDto {
this
.
invoiceType
=
invoiceType
;
}
public
Date
getInvoiceDate
()
{
return
invoiceDate
;
public
Date
getInvoiceDateForm
()
{
return
invoiceDateForm
;
}
public
void
setInvoiceDateForm
(
Date
invoiceDateForm
)
{
this
.
invoiceDateForm
=
invoiceDateForm
;
}
public
Date
getInvoiceDateTo
()
{
return
invoiceDateTo
;
}
public
void
setInvoiceDateTo
(
Date
invoiceDateTo
)
{
this
.
invoiceDateTo
=
invoiceDateTo
;
}
public
Date
getUploadDateForm
()
{
return
uploadDateForm
;
}
public
void
setUploadDateForm
(
Date
uploadDateForm
)
{
this
.
uploadDateForm
=
uploadDateForm
;
}
public
Date
getUploadDateTo
()
{
return
uploadDateTo
;
}
public
void
setUploadDateTo
(
Date
uploadDateTo
)
{
this
.
uploadDateTo
=
uploadDateTo
;
}
public
void
setInvoiceDate
(
Date
invoiceDate
)
{
this
.
invoiceDate
=
invoiceDate
;
public
BigDecimal
getAmountForm
(
)
{
return
amountForm
;
}
public
Date
getUploadDate
(
)
{
return
uploadDate
;
public
void
setAmountForm
(
BigDecimal
amountForm
)
{
this
.
amountForm
=
amountForm
;
}
public
void
setUploadDate
(
Date
uploadDate
)
{
this
.
uploadDate
=
uploadDate
;
public
BigDecimal
getAmountTo
(
)
{
return
amountTo
;
}
public
BigDecimal
getAmount
(
)
{
return
amount
;
public
void
setAmountTo
(
BigDecimal
amountTo
)
{
this
.
amountTo
=
amountTo
;
}
public
void
setAmount
(
BigDecimal
amount
)
{
this
.
amount
=
amount
;
public
Integer
getVerifyType
()
{
return
verifyType
;
}
public
void
setVerifyType
(
Integer
verifyType
)
{
this
.
verifyType
=
verifyType
;
}
public
String
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
Integer
getInvoiceEntityType
()
{
...
...
@@ -162,13 +185,7 @@ public class InputInvoiceQueryDto {
this
.
invoiceSourceType
=
invoiceSourceType
;
}
public
String
getStaffId
()
{
return
staffId
;
}
public
void
setStaffId
(
String
staffId
)
{
this
.
staffId
=
staffId
;
}
public
String
getSerialNo
()
{
return
serialNo
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/InvoiceManageService.java
View file @
a8ebb8bb
package
pwc
.
taxtech
.
atms
.
service
;
import
pwc.taxtech.atms.dto.input.CamelPagingDto
;
import
pwc.taxtech.atms.dto.input.CamelPagingResultDto
;
import
pwc.taxtech.atms.dto.input.InputInvoiceQueryDto
;
import
pwc.taxtech.atms.entitiy.InputInvoice
;
...
...
@@ -13,4 +14,14 @@ public interface InvoiceManageService {
* @return list
*/
CamelPagingResultDto
<
InputInvoice
>
getInputInvoiceList
(
InputInvoiceQueryDto
inputInvoiceQueryDto
);
/**
* 导出所有关联发票
* @param inputInvoiceQueryDto
* @param pagingDto
* @param fileName
* @return
*/
String
exportInvoiceAllInfoList
(
InputInvoiceQueryDto
inputInvoiceQueryDto
,
CamelPagingDto
pagingDto
,
String
fileName
);
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/InvoiceManageServiceImpl.java
View file @
a8ebb8bb
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
org.apache.commons.lang.ObjectUtils.Null
;
import
org.aspectj.weaver.WeakClassLoaderReference
;
import
org.hamcrest.core.Is
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
net.sf.jsqlparser.statement.select.Select
;
import
pwc.taxtech.atms.common.CommonUtils
;
import
pwc.taxtech.atms.dao.CustomerMapper
;
import
pwc.taxtech.atms.dao.InputInvoiceMapper
;
import
pwc.taxtech.atms.dto.input.CamelPagingDto
;
import
pwc.taxtech.atms.dto.input.CamelPagingResultDto
;
...
...
@@ -21,11 +17,6 @@ import pwc.taxtech.atms.entitiy.InputInvoice;
import
pwc.taxtech.atms.entitiy.InputInvoiceExample
;
import
pwc.taxtech.atms.service.InvoiceManageService
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
@Service
public
class
InvoiceManageServiceImpl
extends
BaseService
implements
InvoiceManageService
{
...
...
@@ -37,14 +28,20 @@ public class InvoiceManageServiceImpl extends BaseService implements InvoiceMana
InputInvoiceExample
example
=
new
InputInvoiceExample
();
InputInvoiceExample
.
Criteria
criteria
=
example
.
createCriteria
();
if
(
inputInvoiceQueryDto
.
getAmount
()!=
null
)
{
criteria
.
andAmountEqualTo
(
inputInvoiceQueryDto
.
getAmount
());
if
(
inputInvoiceQueryDto
.
getAmountForm
()!=
null
)
{
criteria
.
andAmountGreaterThanOrEqualTo
(
inputInvoiceQueryDto
.
getAmountForm
());
}
if
(
inputInvoiceQueryDto
.
getAmountTo
()!=
null
)
{
criteria
.
andAmountLessThanOrEqualTo
(
inputInvoiceQueryDto
.
getAmountTo
());
}
if
(
inputInvoiceQueryDto
.
getBuyerBankName
()!=
null
)
{
criteria
.
andBuyerBankNameEqualTo
(
inputInvoiceQueryDto
.
getBuyerBankName
());
}
if
(
inputInvoiceQueryDto
.
getInvoiceDate
()!=
null
)
{
criteria
.
andInvoiceDateEqualTo
(
inputInvoiceQueryDto
.
getInvoiceDate
());
if
(
inputInvoiceQueryDto
.
getInvoiceDateForm
()!=
null
)
{
criteria
.
andInvoiceDateGreaterThanOrEqualTo
(
inputInvoiceQueryDto
.
getInvoiceDateForm
());
}
if
(
inputInvoiceQueryDto
.
getInvoiceDateTo
()!=
null
)
{
criteria
.
andInvoiceDateLessThanOrEqualTo
(
inputInvoiceQueryDto
.
getInvoiceDateTo
());
}
if
(
inputInvoiceQueryDto
.
getInvoiceEntityType
()!=
null
)
{
criteria
.
andInvoiceEntityTypeEqualTo
(
inputInvoiceQueryDto
.
getInvoiceEntityType
());
...
...
@@ -64,18 +61,25 @@ public class InvoiceManageServiceImpl extends BaseService implements InvoiceMana
if
(
inputInvoiceQueryDto
.
getSerialNo
()!=
null
)
{
criteria
.
andSerialNoEqualTo
(
inputInvoiceQueryDto
.
getSerialNo
());
}
if
(
inputInvoiceQueryDto
.
getStaffId
()!=
null
)
{
criteria
.
andStaffIdEqualTo
(
inputInvoiceQueryDto
.
getStaffId
());
}
if
(
inputInvoiceQueryDto
.
getStatus
()!=
null
)
{
criteria
.
andStatusEqualTo
(
inputInvoiceQueryDto
.
getStatus
());
}
if
(
inputInvoiceQueryDto
.
getUploadDate
()!=
null
)
{
criteria
.
andUploadDateEqualTo
(
inputInvoiceQueryDto
.
getUploadDate
());
if
(
inputInvoiceQueryDto
.
getUploadDateForm
()!=
null
)
{
criteria
.
andUploadDateGreaterThanOrEqualTo
(
inputInvoiceQueryDto
.
getUploadDateForm
());
}
if
(
inputInvoiceQueryDto
.
getUploadDateTo
()!=
null
)
{
criteria
.
andUploadDateLessThanOrEqualTo
(
inputInvoiceQueryDto
.
getUploadDateTo
());
}
if
(
inputInvoiceQueryDto
.
getUploadType
()!=
null
)
{
criteria
.
andUploadTypeEqualTo
(
inputInvoiceQueryDto
.
getUploadType
());
}
if
(
inputInvoiceQueryDto
.
getVerifyType
()!=
null
)
{
criteria
.
andVerifyTypeEqualTo
(
inputInvoiceQueryDto
.
getVerifyType
());
}
if
(
inputInvoiceQueryDto
.
getCreateBy
()!=
null
)
{
criteria
.
andCreateByEqualTo
(
inputInvoiceQueryDto
.
getCreateBy
());
}
Integer
pageIndex
=
inputInvoiceQueryDto
.
getPagingDto
().
getPageIndex
()!=
null
?
inputInvoiceQueryDto
.
getPagingDto
().
getPageIndex
():
1
;
Integer
pageSize
=
inputInvoiceQueryDto
.
getPagingDto
().
getPageSize
()!=
null
?
inputInvoiceQueryDto
.
getPagingDto
().
getPageSize
():
10
;
...
...
@@ -94,4 +98,11 @@ public class InvoiceManageServiceImpl extends BaseService implements InvoiceMana
camelPagingResultDto
.
setCalculateData
(
inputInvoice
);
return
camelPagingResultDto
;
}
@Override
public
String
exportInvoiceAllInfoList
(
InputInvoiceQueryDto
inputInvoiceQueryDto
,
CamelPagingDto
pagingDto
,
String
fileName
)
{
// TODO Auto-generated method stub
return
null
;
}
}
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