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
78830041
Commit
78830041
authored
Apr 18, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、ZC公式;2、固定资产导入
parent
83586368
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+1
-1
CitAssetsListExtendsMapper.xml
...c/taxtech/atms/dao/extends/CitAssetsListExtendsMapper.xml
+10
-3
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
78830041
...
...
@@ -249,7 +249,7 @@ public class AssetListServiceImpl extends BaseService {
citAsset
.
setDisposedDate
(
sdf
.
parse
(
value
.
toString
()));
}
//先判断该条数据是否需要直接舍弃掉,筛选条件:报废类型是完全报废,报废日期小于去年年底最后一天的就剔除。
if
(
"完全报废"
.
equals
(
citAsset
.
getScrapType
())
&&
endOfLastYearDate
.
after
(
citAsset
.
getDisposedDate
())){
if
(
"完全报废"
.
equals
(
citAsset
.
getScrapType
())
&&
citAsset
.
getDisposedDate
()==
null
&&
endOfLastYearDate
.
after
(
citAsset
.
getDisposedDate
())){
errorMsgSb
.
append
(
rowNum
+
","
);
continue
;
}
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/CitAssetsListExtendsMapper.xml
View file @
78830041
...
...
@@ -281,9 +281,16 @@
<select
id=
"getCitAssetDetialResult"
resultMap=
"citAssetDetailResultDto"
>
SELECT
sum(acquisition_value),sum(account_year_depreciation_amount),sum(account_total_depreciation_amount),sum(account_month_depreciation_amount),
sum(year_end_value),sum(tax_month_depreciation_amount),sum(tax_to_current_year_depreciation_amount),sum(tax_current_year_depreciation_amount),
sum(total_difference_amount), sum(year_difference_amount)
sum(acquisition_value) as acquisition_value,
sum(account_year_depreciation_amount) as account_year_depreciation_amount,
sum(account_total_depreciation_amount) as account_total_depreciation_amount,
sum(account_month_depreciation_amount) as account_month_depreciation_amount,
sum(year_end_value) as year_end_value,
sum(tax_month_depreciation_amount) as tax_month_depreciation_amount,
sum(tax_to_current_year_depreciation_amount) as tax_to_current_year_depreciation_amount,
sum(tax_current_year_depreciation_amount) as tax_current_year_depreciation_amount,
sum(total_difference_amount) as total_difference_amount,
sum(year_difference_amount) as year_difference_amount
FROM
assets_list
JOIN
...
...
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