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
77d4b960
Commit
77d4b960
authored
Mar 07, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单搜索
parent
7cdd30a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
3 deletions
+38
-3
ConfigConst.php
application/api_broker/consts/ConfigConst.php
+32
-0
OrderLogService.php
application/api_broker/service/OrderLogService.php
+6
-3
No files found.
application/api_broker/consts/ConfigConst.php
0 → 100644
View file @
77d4b960
<?php
namespace
app\api_broker\consts
;
/**
* Created by PhpStorm.
* User : zw
* Date : 2018/3/17
* Time : 9:50
* Intro: 公共常量
*/
class
ConfigConst
{
const
USER_TYPE_A
=
"A类(成交意愿较强)"
;
const
USER_TYPE_B
=
"B类(成交意愿中等)"
;
const
USER_TYPE_C
=
"C类(成交意愿较弱)"
;
const
INDUSTRY_TYPE_FIRST
=
"轻餐饮"
;
const
INDUSTRY_TYPE_SECOND
=
"重餐饮"
;
const
INDUSTRY_TYPE_THIRD
=
"百货零售"
;
const
INDUSTRY_TYPE_FOURTH
=
"服装"
;
const
INDUSTRY_TYPE_FIFTH
=
"亲子教育"
;
const
INDUSTRY_TYPE_SIXTH
=
"休闲娱乐"
;
const
AREA_REQUIREMENT_FIRST
=
"30平米内"
;
const
AREA_REQUIREMENT_SECOND
=
"30-60平米"
;
const
AREA_REQUIREMENT_THIRD
=
"60-100平米"
;
const
AREA_REQUIREMENT_FOURTH
=
"100平米以上"
;
const
PRICE_REQUIREMENT_FIRST
=
"月租金10000元以内"
;
const
PRICE_REQUIREMENT_SECOND
=
"月租金10000-30000元"
;
const
PRICE_REQUIREMENT_THIRD
=
"月租金30000元以上"
;
}
\ No newline at end of file
application/api_broker/service/OrderLogService.php
View file @
77d4b960
...
...
@@ -212,6 +212,8 @@ class OrderLogService
$followUpLogData
=
$followUpLogModel
->
selectFollowUpListByReportId
(
$field_follow_up
,
[
"report_id"
=>
$report_id
]);
if
(
count
(
$followUpLogData
)
>
0
)
{
foreach
(
$followUpLogData
as
$k
=>
$v
){
$v
[
"step_name"
]
=
"follow_up_log"
;
$result
[
$sort
++
]
=
$v
;
}
...
...
@@ -252,6 +254,7 @@ class OrderLogService
return
$this
->
sortByTime
(
$result
);
}
/**
* 排序时间
* @param $result
...
...
@@ -298,10 +301,10 @@ class OrderLogService
default
:
return
[
"code"
=>
"101"
,
"msg"
=>
"搜索类型错误"
];
}
if
(
isset
(
$params
[
"agent_id"
])){
$condition
[
"b.report_agent_id"
]
=
array
(
"eq"
,
$params
[
"agent_id"
]);
}
if
(
isset
(
$params
[
"agent_id"
]))
{
$condition
[
"b.report_agent_id"
]
=
array
(
"eq"
,
$params
[
"agent_id"
]
);
}
$orderModel
=
new
OrderModel
();
$result
=
$orderModel
->
searchOrder
(
$field
,
$condition
);
...
...
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