Commit 06b2cb84 authored by clone's avatar clone

bug

parent 545b0496
......@@ -833,6 +833,9 @@ class GHouses extends BaseModel
if (isset($params["update_time"])) {
$where_["update_time"] = $params["update_time"];
}
if (isset($params["create_time"])) {
$where_["create_time"] = $params["create_time"];
}
if (isset($params["is_exclusive_type"])) {
$where_["is_exclusive_type"] = $params["is_exclusive_type"];
......
......@@ -52,7 +52,7 @@ class UpdateShopStatusTask
$params = [];
$time_ = date('Y-m-d', strtotime("-$day day"));
$params["status"] = 1;
$params["update_time"] = array( 'lt', $time_ . " 23:59:59" );
$params["create_time"] = array( 'lt', $time_ . " 23:59:59" );
$params["is_exclusive_type"] = 0;
//所有修改时间大于10天的商铺
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment