切换导航条
此项目
正在载入...
登录
root
/
chengxiang
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
bf0749426ee3658bc8973222d0c0a2bf06148f55
1 个父辈
2d1ce88c
1 个管道 的构建
通过
耗费 1 秒
托管成功短信提示
变更
2
构建
1
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
app/index/controller/MeGuaranteeController.php
app/index/model/OrderInfoModel.php
app/index/controller/MeGuaranteeController.php
查看文件 @
bf07494
...
...
@@ -124,7 +124,7 @@ class MeGuaranteeController extends WeChatBaseController
}
else
if
(
$param
[
'status'
]
==
2
){
$where
[
'o.status'
]
=
[
'eq'
,
3
];
$where
[
'c.insurer'
]
=
[
'eq'
,
$param
[
'insurer'
]];
$where
[
'o.order_about_time'
]
=
array
(
array
(
'<'
,
$time
),
array
(
'>'
,
$time
-
30
*
24
*
60
*
60
));
//array(array('gt',1),array('lt',10))
$where
[
'o.order_about_time'
]
=
array
(
array
(
'<'
,
$time
),
array
(
'>'
,
$time
+
30
*
24
*
60
*
60
));
//array(array('gt',1),array('lt',10))
// $where['o.order_about_time'] = ['>',$time];
$whereor
=
"o.status = 1 and c.insurer = "
.
"'"
.
$insurer
.
"'"
.
" and o.order_about_time <
$time
and o.order_about_time > "
.
(
$time
-
30
*
24
*
60
*
60
);
}
else
if
(
$param
[
'status'
]
==
3
){
...
...
app/index/model/OrderInfoModel.php
查看文件 @
bf07494
...
...
@@ -51,7 +51,7 @@ class OrderInfoModel extends Model
$time
=
time
();
$where1
[
'o.delete_time'
]
=
[
'eq'
,
0
];
$where1
[
'c.expire_time'
]
=
[
'>'
,
time
()];
//判断保单是否还在缴费期限内
//
$where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态
$where1
[
'o.order_expire_time'
]
=
[
'>'
,
time
()];
//筛选出托管中状态
//$where1['o.status'] = ['eq',3];//筛选出托管中状态
$field
=
"c.*,o.order_expire_time,o.status"
;
$data
=
$this
...
...
请
注册
或
登录
后发表评论