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
20312cfe
Commit
20312cfe
authored
Nov 09, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进场图片
parent
169adf0b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
MarchIn.php
application/index/controller/MarchIn.php
+3
-2
No files found.
application/index/controller/MarchIn.php
View file @
20312cfe
...
@@ -43,7 +43,7 @@ class MarchIn extends Basic
...
@@ -43,7 +43,7 @@ class MarchIn extends Basic
}
}
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$where
=
[];
//搜索条件 start
//搜索条件 start
//1.进场时间
//1.进场时间
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
]))
{
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
]))
{
...
@@ -89,7 +89,8 @@ class MarchIn extends Basic
...
@@ -89,7 +89,8 @@ class MarchIn extends Basic
}
}
//搜索条件 end
//搜索条件 end
$fields_evaluate
=
'a.report_id,a.order_id,d.user_name,d.user_phone,a.create_time,d.report_agent_name,d.report_agent_phone,e.store_name,c.house_title'
;
$fields_evaluate
=
'a.report_id,a.order_id,d.user_name,d.user_phone,a.create_time,d.report_agent_name,'
;
$fields_evaluate
.=
'd.report_agent_phone,e.store_name,a.march_in_img,f.longitude,f.latitude'
;
$data
[
'list'
]
=
$this
->
oMarchInModel
->
findmarchInList
(
$pageNo
,
$pageSize
,
'a.id desc'
,
$fields_evaluate
,
$where
);
$data
[
'list'
]
=
$this
->
oMarchInModel
->
findmarchInList
(
$pageNo
,
$pageSize
,
'a.id desc'
,
$fields_evaluate
,
$where
);
$data
[
'total'
]
=
$this
->
oMarchInModel
->
findmarchInListCount
(
$fields_evaluate
,
$where
);
$data
[
'total'
]
=
$this
->
oMarchInModel
->
findmarchInListCount
(
$fields_evaluate
,
$where
);
...
...
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