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
eb6c0ce2
Commit
eb6c0ce2
authored
Mar 28, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.机构权限bug;2.BS、PL预览bug
parent
35a53741
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
15 deletions
+19
-15
OrganizationController.java
...a/pwc/taxtech/atms/controller/OrganizationController.java
+1
-1
DataPreviewSerivceImpl.java
...pwc/taxtech/atms/service/impl/DataPreviewSerivceImpl.java
+6
-5
BalanceSheetPrcMapper.java
.../java/pwc/taxtech/atms/vat/dao/BalanceSheetPrcMapper.java
+2
-1
ProfitLossStatementPrcMapper.java
...wc/taxtech/atms/vat/dao/ProfitLossStatementPrcMapper.java
+2
-1
vat-report-view.ctrl.js
...p/common/controls/vat-report-view/vat-report-view.ctrl.js
+8
-7
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/OrganizationController.java
View file @
eb6c0ce2
...
...
@@ -95,7 +95,7 @@ public class OrganizationController {
public
@ResponseBody
List
<
OrgSelectDto
>
getOrgSimpleList
()
{
logger
.
info
(
"GET /api/v1/org/getOrgListByUserId"
);
return
organizationService
.
get
OrgSimple
List
();
return
organizationService
.
get
MyOrg
List
();
}
// @ApiOperation(value = "纳税人识别号唯一性验证")
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataPreviewSerivceImpl.java
View file @
eb6c0ce2
...
...
@@ -27,6 +27,7 @@ import javax.servlet.http.HttpServletResponse;
import
java.io.OutputStream
;
import
java.math.BigDecimal
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
* @Auther: Gary J Li
...
...
@@ -98,7 +99,7 @@ public class DataPreviewSerivceImpl extends BaseService {
ProfitLossStatementCondition
condition
=
beanUtil
.
copyProperties
(
param
,
new
ProfitLossStatementCondition
());
Page
page
=
PageHelper
.
startPage
(
condition
.
getPageInfo
().
getPageIndex
(),
condition
.
getPageInfo
().
getPageSize
());
List
<
ProfitLossStatement
>
profitLossStatements
=
profitLossStatementPrcMapper
.
selectByCondition
(
condition
);
List
<
ProfitLossStatement
Prc
>
profitLossStatements
=
profitLossStatementPrcMapper
.
selectByCondition
(
condition
);
List
<
ProfitLossStatementDto
>
profitLossDtos
=
Lists
.
newArrayList
();
profitLossStatements
.
forEach
(
pl
->
{
...
...
@@ -196,10 +197,10 @@ public class DataPreviewSerivceImpl extends BaseService {
BalanceSheetCondition
condition
=
beanUtil
.
copyProperties
(
param
,
new
BalanceSheetCondition
());
Page
page
=
PageHelper
.
startPage
(
condition
.
getPageInfo
().
getPageIndex
(),
condition
.
getPageInfo
().
getPageSize
());
List
<
BalanceSheet
>
balanceSheets
=
balanceSheetPrcMapper
.
selectByCondition
(
condition
);
List
<
BalanceSheet
Prc
>
bsPrcList
=
balanceSheetPrcMapper
.
selectByCondition
(
condition
);
List
<
BalanceSheetDto
>
balanceSheetDtos
=
Lists
.
newArrayList
();
b
alanceSheets
.
forEach
(
bs
->
{
b
sPrcList
.
forEach
(
bs
->
{
BalanceSheetDto
balanceSheetDto
=
new
BalanceSheetDto
();
beanUtil
.
copyProperties
(
bs
,
balanceSheetDto
);
balanceSheetDtos
.
add
(
balanceSheetDto
);
...
...
@@ -343,7 +344,7 @@ public class DataPreviewSerivceImpl extends BaseService {
ProfitLossStatementCondition
condition
=
new
ProfitLossStatementCondition
();
beanUtil
.
copyProperties
(
param
,
condition
);
List
<
ProfitLossStatement
>
profitLossStatements
=
profitLossStatementPrcMapper
.
selectByCondition
(
condition
);
List
<
ProfitLossStatement
Prc
>
profitLossStatements
=
profitLossStatementPrcMapper
.
selectByCondition
(
condition
);
Map
<
String
,
String
>
header
=
generalPLHeader
();
List
<
ProfitLossStatementExportDto
>
cellList
=
new
ArrayList
<>();
profitLossStatements
.
forEach
(
pl
->
{
...
...
@@ -384,7 +385,7 @@ public class DataPreviewSerivceImpl extends BaseService {
try
{
BalanceSheetCondition
condition
=
new
BalanceSheetCondition
();
beanUtil
.
copyProperties
(
param
,
condition
);
List
<
BalanceSheet
>
balanceSheets
=
balanceSheetPrcMapper
.
selectByCondition
(
condition
);
List
<
BalanceSheet
Prc
>
balanceSheets
=
balanceSheetPrcMapper
.
selectByCondition
(
condition
);
Map
<
String
,
String
>
header
=
generalBSHeader
();
List
<
BalanceSheetExportDto
>
cellList
=
new
ArrayList
<>();
balanceSheets
.
forEach
(
bs
->
{
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/BalanceSheetPrcMapper.java
View file @
eb6c0ce2
...
...
@@ -108,7 +108,7 @@ public interface BalanceSheetPrcMapper extends MyVatMapper {
*/
int
updateByPrimaryKey
(
BalanceSheetPrc
record
);
List
<
BalanceSheet
>
selectByCondition
(
@Param
(
"bsCondition"
)
BalanceSheetCondition
condition
);
List
<
BalanceSheet
Prc
>
selectByCondition
(
@Param
(
"bsCondition"
)
BalanceSheetCondition
condition
);
int
insertBatch
(
List
<
BalanceSheet
>
bls
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/ProfitLossStatementPrcMapper.java
View file @
eb6c0ce2
...
...
@@ -108,7 +108,7 @@ public interface ProfitLossStatementPrcMapper extends MyVatMapper {
*/
int
updateByPrimaryKey
(
ProfitLossStatementPrc
record
);
List
<
ProfitLossStatement
>
selectByCondition
(
@Param
(
"plCondition"
)
ProfitLossStatementCondition
condition
);
List
<
ProfitLossStatement
Prc
>
selectByCondition
(
@Param
(
"plCondition"
)
ProfitLossStatementCondition
condition
);
int
insertBatch
(
List
<
ProfitLossStatement
>
pls
);
}
\ No newline at end of file
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
eb6c0ce2
...
...
@@ -2973,13 +2973,14 @@
// }
// });
if
(
$scope
.
templateCode
===
'BS001'
||
$scope
.
templateCode
===
'PL001'
)
{
//show cell detail panel
$scope
.
isBSPL
=
true
;
$scope
.
moduleid
=
enums
.
vatModuleEnum
.
Report_BSPL
;
}
else
{
$scope
.
isBSPL
=
false
;
}
// if ($scope.templateCode === 'BS001' || $scope.templateCode === 'PL001') {
// //show cell detail panel
// $scope.isBSPL = true;
// $scope.moduleid = enums.vatModuleEnum.Report_BSPL;
// } else {
// $scope.isBSPL = false;
// }
$scope
.
isBSPL
=
false
;
//load cell data
loadCellData
(
getActualPeriod
());
...
...
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