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
541df6fe
Commit
541df6fe
authored
Mar 18, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
35df5085
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
UAccountBalance.php
application/model/UAccountBalance.php
+1
-1
UAccountCheck.php
application/model/UAccountCheck.php
+1
-1
No files found.
application/model/UAccountBalance.php
View file @
541df6fe
...
@@ -66,7 +66,7 @@ class UAccountBalance extends Model
...
@@ -66,7 +66,7 @@ class UAccountBalance extends Model
{
{
$where_arr
=
[];
$where_arr
=
[];
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
])){
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
])){
$where_arr
[
'create_time'
]
=
array
(
'between'
,
array
(
$params
[
'create_time_start'
],
$params
[
'create_time_end'
]));
$where_arr
[
'create_time'
]
=
array
(
'between'
,
array
(
$params
[
'create_time_start'
],
$params
[
'create_time_end'
]
.
" 23:59:59"
));
}
}
if
(
!
empty
(
$params
[
'user_phone'
])
){
if
(
!
empty
(
$params
[
'user_phone'
])
){
$where_arr
[
'user_phone'
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'user_phone'
])
.
"%"
);
$where_arr
[
'user_phone'
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'user_phone'
])
.
"%"
);
...
...
application/model/UAccountCheck.php
View file @
541df6fe
...
@@ -31,7 +31,7 @@ class UAccountCheck extends Model
...
@@ -31,7 +31,7 @@ class UAccountCheck extends Model
{
{
$where_arr
=
[];
$where_arr
=
[];
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
]))
{
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
]))
{
$where_arr
[
'create_time'
]
=
array
(
'between'
,
array
(
$params
[
'create_time_start'
],
$params
[
'create_time_end'
]));
$where_arr
[
'create_time'
]
=
array
(
'between'
,
array
(
$params
[
'create_time_start'
],
$params
[
'create_time_end'
]
.
" 23:59:59"
));
}
}
if
(
!
empty
(
$params
[
'user_phone'
]))
{
if
(
!
empty
(
$params
[
'user_phone'
]))
{
$where_arr
[
'user_phone'
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'user_phone'
])
.
"%"
);
$where_arr
[
'user_phone'
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'user_phone'
])
.
"%"
);
...
...
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