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
5192642d
Commit
5192642d
authored
Apr 24, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、资产导入本年折旧额根据年限改动;2、ZC公式报错问题
parent
b72420dd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+8
-0
ZC.java
...wc/taxtech/atms/vat/service/impl/report/functions/ZC.java
+0
-0
CitAssetsListMapper.java
...c/main/java/pwc/taxtech/atms/dao/CitAssetsListMapper.java
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
5192642d
...
...
@@ -571,6 +571,14 @@ public class AssetListServiceImpl extends BaseService {
for
(
CitAssetsList
citAsset:
assetsLists
){
//获取税务每月折旧额,(原值-残值)/税法折旧期间
citAsset
.
setTaxMonthDepreciationAmount
((
citAsset
.
getAcquisitionValue
().
subtract
(
citAsset
.
getResidualRate
())).
divide
(
new
BigDecimal
(
citAsset
.
getTaxDepreciationPeriod
()),
2
));
//获取税务截止本年累计折旧额, 本年折旧期间* 每月折旧额
citAsset
.
setTaxToCurrentYearDepreciationAmount
(
citAsset
.
getTaxMonthDepreciationAmount
().
multiply
(
new
BigDecimal
(
citAsset
.
getTaxToCurrentYearDepreciationPeriod
())));
//获取税务本年折旧额, 截至本年累计折旧期间*每月折旧额
citAsset
.
setTaxCurrentYearDepreciationAmount
(
citAsset
.
getTaxMonthDepreciationAmount
().
multiply
(
new
BigDecimal
(
citAsset
.
getTaxYearDepreciationPeriod
())));
//获取累计差异, 截止本年累计折旧额(税务)- 截止本年累计折旧额(财务)
citAsset
.
setTotalDifferenceAmount
(
citAsset
.
getTaxToCurrentYearDepreciationAmount
().
subtract
(
citAsset
.
getAccountTotalDepreciationAmount
()));
//获取当年差异
citAsset
.
setYearDifferenceAmount
(
citAsset
.
getTaxCurrentYearDepreciationAmount
().
subtract
(
citAsset
.
getAccountYearDepreciationAmount
()));
assetListMapper
.
updateByPrimaryKeySelective
(
citAsset
);
}
return
null
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/report/functions/ZC.java
View file @
5192642d
This diff is collapsed.
Click to expand it.
atms-dao/src/main/java/pwc/taxtech/atms/dao/CitAssetsListMapper.java
View file @
5192642d
...
...
@@ -119,7 +119,7 @@ public interface CitAssetsListMapper extends MyMapper {
*/
List
<
CitAssetEamMapping
>
getAssetEamMapping
(
CitAssetsList
citAsset
);
List
<
CitAssetDetailResultDto
>
getCitAssetDetialResult
(
@Param
(
"assetType"
)
Integer
assetType
,
CitAssetDetailResultDto
getCitAssetDetialResult
(
@Param
(
"assetType"
)
Integer
assetType
,
@Param
(
"assetDetailType"
)
Integer
assetDetailType
,
@Param
(
"projectId"
)
String
projectId
);
...
...
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