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
b17265b6
Commit
b17265b6
authored
Jul 25, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] add balance import for children balance impl
parent
83f6950b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
0 deletions
+37
-0
BalanceAccountDto.java
...n/java/pwc/taxtech/atms/dto/vatdto/BalanceAccountDto.java
+33
-0
DataImportServiceImpl.java
.../pwc/taxtech/atms/service/impl/DataImportServiceImpl.java
+0
-0
DataImportServiceMapper.java
...ava/pwc/taxtech/atms/vat/dao/DataImportServiceMapper.java
+4
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/BalanceAccountDto.java
0 → 100644
View file @
b17265b6
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
;
import
java.math.BigDecimal
;
public
class
BalanceAccountDto
{
public
String
BalanceId
;
public
Integer
PeriodId
;
public
String
AcctCode
;
public
String
CustomerCode
;
public
BigDecimal
BegDebitBal
;
public
BigDecimal
BegCreditBal
;
public
BigDecimal
BegBal
;
public
BigDecimal
EndBal
;
public
BigDecimal
EndDebitBal
;
public
BigDecimal
EndCreditBal
;
public
BigDecimal
DebitBal
;
public
BigDecimal
CreditBal
;
public
Integer
MonthId
;
public
String
ParentCode
;
public
Integer
AcctLevel
;
public
String
StdCode
;
public
String
AccountName
;
public
Integer
Direction
;
public
Integer
IsDummy
;
public
String
getAcctCode
()
{
return
AcctCode
;
}
public
Integer
getAcctLevel
()
{
return
AcctLevel
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportServiceImpl.java
View file @
b17265b6
This diff is collapsed.
Click to expand it.
atms-api/src/main/java/pwc/taxtech/atms/vat/dao/DataImportServiceMapper.java
View file @
b17265b6
...
...
@@ -23,4 +23,8 @@ public interface DataImportServiceMapper extends MyVatMapper {
" AND v.AcctCode = e.AcctCode "
+
"GROUP BY AcctCode"
)
public
List
<
DataImportServiceImpl
.
ImportBalanceCount
>
resultBalance
(
@Param
(
"period"
)
int
period
,
@Param
(
"code"
)
int
code
);
@Select
(
" select max(PeriodId) from balance"
)
Integer
maxBalancePeriod
();
}
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