Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
manager
Commits
c3405769
Commit
c3405769
authored
Sep 29, 2021
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消产品主体限制
parent
52af2507
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
ContractController.java
src/main/java/common/controller/ContractController.java
+6
-5
No files found.
src/main/java/common/controller/ContractController.java
View file @
c3405769
...
@@ -291,7 +291,8 @@ public class ContractController {
...
@@ -291,7 +291,8 @@ public class ContractController {
if
(
"all"
.
equals
(
dropall
))
{
if
(
"all"
.
equals
(
dropall
))
{
platform
=
dropall
;
platform
=
dropall
;
}
}
//要求所有产品 主体一致
platform
=
"all"
;
return
ResultModel
.
OK
(
service
.
findBody
(
platform
,
loginAccount
));
return
ResultModel
.
OK
(
service
.
findBody
(
platform
,
loginAccount
));
}
}
...
@@ -516,7 +517,7 @@ public class ContractController {
...
@@ -516,7 +517,7 @@ public class ContractController {
if
(
platform
.
equals
(
"dmp"
))
{
if
(
platform
.
equals
(
"dmp"
))
{
//展示dmp上传的收入相关数据
//展示dmp上传的收入相关数据
return
ResultModel
.
OK
(
dmpIncomeService
.
listByDs
(
startDate
,
endDate
));
return
ResultModel
.
OK
(
dmpIncomeService
.
listByDs
(
startDate
,
endDate
));
}
else
if
(
platform
.
equals
(
"pd"
))
{
}
else
if
(
platform
.
equals
(
"pd"
))
{
return
ResultModel
.
OK
(
dmpIncomeService
.
pdListByDs
(
startDate
,
endDate
));
return
ResultModel
.
OK
(
dmpIncomeService
.
pdListByDs
(
startDate
,
endDate
));
}
}
...
@@ -536,10 +537,10 @@ public class ContractController {
...
@@ -536,10 +537,10 @@ public class ContractController {
if
(
platform
.
equals
(
"dmp"
))
{
if
(
platform
.
equals
(
"dmp"
))
{
//dmp 分摊报表导出
//dmp 分摊报表导出
HSSFWorkbook
workbook
=
dmpIncomeService
.
exportIncomeList
(
startDate
,
endDate
,
bodyCode
,
serchName
);
HSSFWorkbook
workbook
=
dmpIncomeService
.
exportIncomeList
(
startDate
,
endDate
,
bodyCode
,
serchName
);
this
.
exportWrite
(
fileName
,
workbook
,
"分摊收入报表"
,
response
);
this
.
exportWrite
(
fileName
,
workbook
,
"分摊收入报表"
,
response
);
}
else
if
(
"pd"
.
equals
(
platform
))
{
}
else
if
(
"pd"
.
equals
(
platform
))
{
HSSFWorkbook
workbook
=
dmpIncomeService
.
exportPdIncomeList
(
startDate
,
endDate
,
bodyCode
,
serchName
);
HSSFWorkbook
workbook
=
dmpIncomeService
.
exportPdIncomeList
(
startDate
,
endDate
,
bodyCode
,
serchName
);
this
.
exportWrite
(
fileName
,
workbook
,
"分摊收入报表"
,
response
);
this
.
exportWrite
(
fileName
,
workbook
,
"分摊收入报表"
,
response
);
}
}
...
...
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