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
aebe49ca
Commit
aebe49ca
authored
Mar 28, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
where_
parent
5337f19f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
OBargainModel.php
application/model/OBargainModel.php
+5
-5
No files found.
application/model/OBargainModel.php
View file @
aebe49ca
...
...
@@ -263,19 +263,19 @@ class OBargainModel extends Model
switch
((
int
)
$params
[
"type"
]){
//1商铺id 2商铺地址 3成交报告id 4带看id 5客户id
case
1
:
$where
[
"d.id"
]
=
$params
[
"keyword"
];
$where
_
[
"d.id"
]
=
$params
[
"keyword"
];
break
;
case
2
:
$where
[
"d.internal_address"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'keyword'
])
.
"%"
);
$where
_
[
"d.internal_address"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'keyword'
])
.
"%"
);
break
;
case
3
:
$where
[
"a.id"
]
=
$params
[
"keyword"
];
$where
_
[
"a.id"
]
=
$params
[
"keyword"
];
break
;
case
4
:
$where
[
"c.id"
]
=
$params
[
"keyword"
];
$where
_
[
"c.id"
]
=
$params
[
"keyword"
];
break
;
case
5
:
$where
[
"b.user_id"
]
=
$params
[
"keyword"
];
$where
_
[
"b.user_id"
]
=
$params
[
"keyword"
];
break
;
}
...
...
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