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
9ddc9cd0
Commit
9ddc9cd0
authored
Apr 02, 2019
by
kevin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
ffbbed20
3e70107d
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
41 additions
and
36 deletions
+41
-36
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+4
-7
CellTemplateConfigExtendsMapper.xml
...tech/atms/dao/extends/CellTemplateConfigExtendsMapper.xml
+2
-2
KeyValueReferenceExtendsMapper.xml
...xtech/atms/dao/extends/KeyValueReferenceExtendsMapper.xml
+2
-2
app.json
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
+2
-2
basicData.json
...b/src/main/webapp/app-resources/i18n/zh-CN/basicData.json
+11
-11
cit.json
atms-web/src/main/webapp/app-resources/i18n/zh-CN/cit.json
+1
-1
infrastructure.json
.../main/webapp/app-resources/i18n/zh-CN/infrastructure.json
+3
-3
vat.json
atms-web/src/main/webapp/app-resources/i18n/zh-CN/vat.json
+3
-1
extract-financial-data.html
...action/extract-financial-data/extract-financial-data.html
+8
-2
vat-report-layout.html
...p/app/vat/report/vat-report-layout/vat-report-layout.html
+2
-2
vat-layout.ctrl.js
...web/src/main/webapp/app/vat/vat-layout/vat-layout.ctrl.js
+3
-3
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
9ddc9cd0
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
java.util.Date
;
import
com.alibaba.fastjson.JSON
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
...
...
@@ -37,7 +35,6 @@ import pwc.taxtech.atms.dto.OperationResultDto;
import
pwc.taxtech.atms.dto.dataimport.DataImportAllParam
;
import
pwc.taxtech.atms.dto.dataimport.DataImportParam
;
import
pwc.taxtech.atms.dto.dataimport.DataProcessParam
;
import
pwc.taxtech.atms.dto.ebsdto.EbsCallRateResp
;
import
pwc.taxtech.atms.dto.ebsdto.EbsCallResp
;
import
pwc.taxtech.atms.dto.vatdto.TrialBalanceDto
;
import
pwc.taxtech.atms.dto.vatdto.TrialBalanceParam
;
...
...
@@ -324,7 +321,7 @@ public class DataImportService extends BaseService {
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"dd-MM-yyyyHH:mm:ss"
);
Date
dataDate
=
sdf
.
parse
(
dataDateStr
);
for
(
int
j
=
11
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
11
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
plId
=
idService
.
nextId
();
ProfitLossStatement
pl
=
new
ProfitLossStatement
();
pl
.
setId
(
plId
);
...
...
@@ -498,7 +495,7 @@ public class DataImportService extends BaseService {
String
dataDateStr
=
getCellStringValue
(
sheet
.
getRow
(
0
).
getCell
(
4
)).
substring
(
3
).
replace
(
" "
,
""
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"dd-MM-yyyyHH:mm:ss"
);
Date
dataDate
=
sdf
.
parse
(
dataDateStr
);
for
(
int
j
=
11
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
11
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
plId
=
idService
.
nextId
();
BalanceSheet
bl
=
new
BalanceSheet
();
bl
.
setId
(
plId
);
...
...
@@ -646,7 +643,7 @@ public class DataImportService extends BaseService {
continue
;
}
for
(
int
j
=
6
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
6
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
id
=
idService
.
nextId
();
CashFlow
cf
=
new
CashFlow
();
cf
.
setId
(
id
);
...
...
@@ -1326,7 +1323,7 @@ public class DataImportService extends BaseService {
continue
;
}
String
unit
=
getCellStringValue
(
sheet
.
getRow
(
1
).
getCell
(
11
)).
replace
(
" "
,
""
).
substring
(
3
);
for
(
int
j
=
3
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
3
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
plId
=
idService
.
nextId
();
CertifiedInvoicesList
cil
=
new
CertifiedInvoicesList
();
cil
.
setId
(
plId
);
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/CellTemplateConfigExtendsMapper.xml
View file @
9ddc9cd0
...
...
@@ -13,10 +13,10 @@
</select>
<delete
id=
"deleteCellTemplateConfigByCellTemplate"
parameterType=
"java.lang.Long"
>
DELETE FROM cell_template_config
A
DELETE FROM cell_template_config
WHERE
id IN (SELECT
id
X.
id
FROM
(SELECT
B.id
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/KeyValueReferenceExtendsMapper.xml
View file @
9ddc9cd0
...
...
@@ -5,11 +5,11 @@
<delete
id=
"deleteKeyValueReferenceByCellTemplate"
parameterType=
"java.lang.Long"
>
delete
FROM
key_value_reference
a
key_value_reference
WHERE
id IN (
SELECT
id
x.
id
FROM
(
SELECT
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
View file @
9ddc9cd0
...
...
@@ -174,7 +174,7 @@
"DashboardOTRiskDashboard"
:
"风险仪表盘"
,
"DashboardOTRiskWarning"
:
"风险提示"
,
"DashboardOTSubtotal"
:
"税负汇总情况"
,
"DashboardOTSubtotalByBusinessUnit"
:
"
事业部
汇总"
,
"DashboardOTSubtotalByBusinessUnit"
:
"
业务线
汇总"
,
"DashboardOTSubtotalByOrganization"
:
"机构汇总"
,
"DashboardOTSubtotalByRegion"
:
"区域汇总"
,
"DashboardOTTaxBurdenDistribution"
:
"税负分布"
,
...
...
@@ -660,7 +660,7 @@
"ShowPageItem"
:
"条"
,
"ShowPerPageCount"
:
"每页显示"
,
"ShowRelevantAmount"
:
"借贷方相关金额"
,
"SortByBusinessUnit"
:
"按
事业部
"
,
"SortByBusinessUnit"
:
"按
业务线
"
,
"SortByOrganization"
:
"按机构"
,
"SortByRegion"
:
"按区域"
,
"SortByTaxBurdenAmount"
:
"按税负额"
,
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/basicData.json
View file @
9ddc9cd0
...
...
@@ -51,27 +51,27 @@
"BeginImport"
:
"开始导入"
,
"Browse"
:
"浏览..."
,
"BusinessUnitActive"
:
"已启用"
,
"BusinessUnitAddNew"
:
"添加
事业部
"
,
"BusinessUnitAddNew"
:
"添加
业务线
"
,
"BusinessUnitAddSuccess"
:
"添加成功"
,
"BusinessUnitCancel"
:
"取消"
,
"BusinessUnitDeleteSuccess"
:
"删除成功"
,
"BusinessUnitDisabled"
:
"已停用"
,
"BusinessUnitDisabledNode"
:
"停用"
,
"BusinessUnitDuplicateNode"
:
"
事业部
名称重复"
,
"BusinessUnitDuplicateNode"
:
"
业务线
名称重复"
,
"BusinessUnitEdit"
:
"编辑"
,
"BusinessUnitEditSuccess"
:
"修改成功"
,
"BusinessUnitEmptyNode"
:
"
事业部
名称不能为空,且至少需要2个字符"
,
"BusinessUnitEmptyNode"
:
"
业务线
名称不能为空,且至少需要2个字符"
,
"BusinessUnitEnableNode"
:
"启用"
,
"BusinessUnitName"
:
"
事业部
名称"
,
"BusinessUnitName"
:
"
业务线
名称"
,
"BusinessUnitNoSelected"
:
"未选择操作数据行"
,
"BusinessUnitOperation"
:
"操作"
,
"BusinessUnitOperationSuccess"
:
"操作成功"
,
"BusinessUnitOutOfLengthNode"
:
"
事业部
名称不能超过50个字符"
,
"BusinessUnitOutOfLengthNode"
:
"
业务线
名称不能超过50个字符"
,
"BusinessUnitSave"
:
"保存"
,
"BusinessUnitStatus"
:
"使用状态"
,
"BusinessUnitStatusUnsureness"
:
"
事业部
状态不确定"
,
"BusinessUnitTitle"
:
"
事业部
"
,
"BusinessUnitUpdate"
:
"修改
事业部
信息"
,
"BusinessUnitStatusUnsureness"
:
"
业务线
状态不确定"
,
"BusinessUnitTitle"
:
"
业务线
"
,
"BusinessUnitUpdate"
:
"修改
业务线
信息"
,
"CannotDeleteAreaTips"
:
"存在使用该区域的机构,不能停用!"
,
"CannotDeleteRegionTips"
:
"该区域:{name}下还有子区域不能删除!"
,
"CannotFindAreaByID"
:
"未查到ID为:{id}的区域。"
,
...
...
@@ -213,7 +213,7 @@
"ExpiredDateTo"
:
"至"
,
"ExtraRole"
:
"附加角色"
,
"FieldareaName"
:
"区域"
,
"FieldbusinessUnitName"
:
"
事业部
"
,
"FieldbusinessUnitName"
:
"
业务线
"
,
"FieldindustryName"
:
"行业"
,
"FieldorgCode"
:
"机构代码"
,
"FieldorgName"
:
"机构名称"
,
...
...
@@ -256,7 +256,7 @@
"OperationAddInvalid"
:
"请先保存修改操作"
,
"OperationEditInvalid"
:
"请先保存新增操作"
,
"OrangizationStructureTabTitle"
:
"机构层级"
,
"OrganizationBusinessUnitNameRequired"
:
"请选择
事业部
"
,
"OrganizationBusinessUnitNameRequired"
:
"请选择
业务线
"
,
"OrganizationDetailsList"
:
"机构详细列表"
,
"OrganizationManageTitle"
:
"组织机构管理"
,
"OrganizationStructureActive"
:
"已启用"
,
...
...
@@ -371,7 +371,7 @@
"TaxableState"
:
"应税状态"
,
"TemplateName"
:
"报表名称"
,
"UpdateArea"
:
"修改区域"
,
"UpdateBusinessUnit"
:
"修改
事业部
"
,
"UpdateBusinessUnit"
:
"修改
业务线
"
,
"UpdateCustomer"
:
"修改客户列表"
,
"UpdateEnterpriseAccount"
:
"修改科目"
,
"UpdateEnterpriseAccountSet"
:
"修改账套"
,
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/cit.json
View file @
9ddc9cd0
...
...
@@ -240,7 +240,7 @@
"After"
:
"以后"
,
"AgriculturalProduct"
:
"农产品发票"
,
"AllArea"
:
"所有区域"
,
"AllBusinessUnit"
:
"所有
事业部
"
,
"AllBusinessUnit"
:
"所有
业务线
"
,
"AllMappingStatus"
:
"所有对应状态"
,
"AllOrganization"
:
"所有机构"
,
"AllTask"
:
"全部"
,
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/infrastructure.json
View file @
9ddc9cd0
...
...
@@ -84,7 +84,7 @@
"DefaultRole"
:
"角色:"
,
"PDefaultRole"
:
"默认角色"
,
"PIndustry"
:
"行业"
,
"Business"
:
"
事业部
"
,
"Business"
:
"
业务线
"
,
"Area"
:
"区域"
,
"ProjectList"
:
"项目列表"
,
"ProjectNameCol"
:
"项目名称"
,
...
...
@@ -148,7 +148,7 @@
"ComfirmUpdate"
:
"确认修改?"
,
"UpdateOrgExtraInfoTips"
:
"将修改机构-其他信息,是否确认修改?"
,
"CancelChangeEquityInfoTips"
:
"将撤销变更-股权信息,是否确认修改?"
,
"BusinessUnitTitleName"
:
"
事业部
"
,
"BusinessUnitTitleName"
:
"
业务线
"
,
"AreaTitleName"
:
"区域"
,
"IndustryTitleName"
:
"行业"
,
"UserTitleName"
:
"用户"
,
...
...
@@ -482,7 +482,7 @@
"LocalEducationAttach"
:
"地方教育费附加"
,
"WaterFund"
:
"水利基金"
,
"StampTax"
:
"印花税"
,
"AllBusinessUnit"
:
"所有
事业部
"
,
"AllBusinessUnit"
:
"所有
业务线
"
,
"AllArea"
:
"所有区域"
,
"AllOrganization"
:
"所有机构"
,
"AllTax"
:
"所有税种"
,
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/vat.json
View file @
9ddc9cd0
...
...
@@ -163,7 +163,7 @@
"After"
:
"以后"
,
"AgriculturalProduct"
:
"农产品发票"
,
"AllArea"
:
"所有区域"
,
"AllBusinessUnit"
:
"所有
事业部
"
,
"AllBusinessUnit"
:
"所有
业务线
"
,
"AllMappingStatus"
:
"所有对应状态"
,
"AllOrganization"
:
"所有机构"
,
"AllTax"
:
"所有税种"
,
...
...
@@ -2231,6 +2231,8 @@
"Operater"
:
"操作员"
,
"OperateTime"
:
"操作时间"
,
"HistoryVersion"
:
"历史版本"
,
"ReportUploadDetail"
:
"历史版本计算表"
,
"RepUploadDtlColSerialNo"
:
"序号"
,
"RepUploadDtlColCreateTime"
:
"保存时间"
,
...
...
atms-web/src/main/webapp/app/dataImport/data-extraction/extract-financial-data/extract-financial-data.html
View file @
9ddc9cd0
...
...
@@ -24,11 +24,17 @@
<div
dx-tag-box=
"selectTypeOptions"
></div>
</div>
<div
class=
"col-sm-2"
>
<button
type=
"button"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}
"
<button
type=
"button
"
class=
"btn btn-vat-primary"
translate=
"ImportBtn"
style=
"min-width: 50px;"
ng-click=
"callFinancialApi()"
></button>
<!-- <button type="button" atms-permission permission-control-type="ngIf"-->
<!-- permission-code="{{$root.vatPermission.dataImport.balanceSheet.importCode}}"-->
<!-- class="btn btn-vat-primary"-->
<!-- translate="ImportBtn" style="min-width: 50px;"-->
<!-- ng-click="callFinancialApi()"></button>-->
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"Refresh"
ng-click=
"refreshConfigGrid()"
style=
"min-width: 50px;"
></button>
</div>
...
...
atms-web/src/main/webapp/app/vat/report/vat-report-layout/vat-report-layout.html
View file @
9ddc9cd0
...
...
@@ -26,7 +26,7 @@
<div
class=
"group-section"
ng-click=
"uploadliShow=!uploadliShow;"
>
<i
class=
"fa toggle-group-icon"
ng-class=
"'fa-chevron-down'"
aria-hidden=
"true"
></i>
<label
class=
"tree-toggle nav-header"
translate=
""
>
历史版本
</label>
<label
class=
"tree-toggle nav-header"
translate=
""
>
{{'HistoryVersion' | translate }}
</label>
</div>
<div
class=
"divider"
></div>
...
...
@@ -34,7 +34,7 @@
<div
class=
"li tree"
>
<a
ng-class=
"'active'"
ui-sref-active=
"active"
ui-sref=
".reportUploadView()"
class=
"active"
>
历史版本计算表
</a>
class=
"active"
>
{{'ReportUploadDetail' | translate }}
</a>
</div>
</div>
</li>
...
...
atms-web/src/main/webapp/app/vat/vat-layout/vat-layout.ctrl.js
View file @
9ddc9cd0
...
...
@@ -592,11 +592,11 @@
url
:
'#/vat/generateReport'
});
subMenus
.
push
({
name
:
'generateReport'
,
state
:
'generateReport'
,
name
:
'generateReport
.reportView
'
,
state
:
'generateReport
.reportView
'
,
num
:
4
,
permission
:
constant
.
vatPermission
.
reportView
.
reportViewCode
,
url
:
'#/vat/generateReport'
url
:
'#/vat/generateReport
/reportView
'
});
}
...
...
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