Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
29215cda
Commit
29215cda
authored
Sep 04, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
46633bff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
Amercement.php
application/index/controller/Amercement.php
+1
-6
AmercementService.php
application/index/service/AmercementService.php
+1
-3
No files found.
application/index/controller/Amercement.php
View file @
29215cda
...
...
@@ -86,17 +86,12 @@ class Amercement extends Basic
*/
public
function
getAmercementListExcel
(){
$params
=
$this
->
params
;
$page_no
=
empty
(
$params
[
"page_no"
])
?
1
:
$params
[
"page_no"
];
$page_size
=
empty
(
$params
[
"page_size"
])
?
15
:
$params
[
"page_size"
];
$result
=
$this
->
s_amercement
->
getAmercementListExcel
(
$params
,
$page_no
,
$page_size
);
//int(1)
$result
=
$this
->
s_amercement
->
getAmercementListExcel
(
$params
);
//int(1)
if
(
$result
)
{
return
$this
->
response
(
"200"
,
"成功"
,
$result
);
}
else
{
return
$this
->
response
(
"101"
,
"失败"
);
}
}
/**
...
...
application/index/service/AmercementService.php
View file @
29215cda
...
...
@@ -421,11 +421,9 @@ class AmercementService
/**
* 后台罚款账单表 导出excel
* @param $params
* @param $page_no
* @param $page_size
* @return string
*/
public
function
getAmercementListExcel
(
$params
,
$page_no
,
$page_size
)
public
function
getAmercementListExcel
(
$params
)
{
$conditions
=
$this
->
buildConditions
(
$params
);
$field
=
"id,status,type,money,submit_agent_id,agent_id,remarks,create_time,forfeit_penalty"
;
...
...
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