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
7bbb4fcd
Commit
7bbb4fcd
authored
Apr 25, 2018
by
hujun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
5f82a2e9
9bb9285b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
GHouses.php
application/model/GHouses.php
+4
-1
UpdateShopStatusTask.php
application/task/controller/UpdateShopStatusTask.php
+1
-1
No files found.
application/model/GHouses.php
View file @
7bbb4fcd
...
...
@@ -707,12 +707,15 @@ class GHouses extends BaseModel
if
(
isset
(
$params
[
"status"
]))
{
$where_
[
"status"
]
=
$params
[
"status"
];
}
if
(
isset
(
$params
[
"residue_num"
]))
{
$where_
[
"residue_num"
]
=
$params
[
"residue_num"
];
}
$result
=
Db
::
table
(
$this
->
table
)
->
field
(
$field
)
->
where
(
$where_
)
->
select
();
//
echo Db::table($this->table)->getLastSql();
//
echo Db::table($this->table)->getLastSql();
return
$result
;
}
/**
...
...
application/task/controller/UpdateShopStatusTask.php
View file @
7bbb4fcd
...
...
@@ -51,7 +51,7 @@ class UpdateShopStatusTask
$params
=
[];
$time_
=
date
(
'Y-m-d'
,
strtotime
(
"-
$day
day"
));
$params
[
"status"
]
=
1
;
$params
[
"create_time"
]
=
array
(
'lt'
,
$time_
);
$params
[
"create_time"
]
=
array
(
'lt'
,
$time_
.
" 23:59:59"
);
$params
[
"is_execute"
]
=
0
;
$result
=
$this
->
shopModel
->
getShopListByTime
(
$field
,
$params
);
...
...
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