Commit bfdcc883 authored by 张晓林's avatar 张晓林

证照列表修改

parent 8c92116e
......@@ -60,7 +60,7 @@ class BranchLicenceController extends BaseController{
$query->andWhere(['and',"datediff(date_format(sbl.LICENCE_EXPIRY_DATE, '%Y-%m-%d' ),date_format( now(), '%Y-%m-%d' )) > 0","datediff(date_format(sbl.LICENCE_EXPIRY_DATE, '%Y-%m-%d' ),date_format( now(), '%Y-%m-%d' )) <= 30"]);
}
if(isset($param['UPDATETIME']) && !empty($param['UPDATETIME'])){
$query->andWhere(['=','sbl.UPDATE_TIME',$param['UPDATETIME']]);
$query->andWhere(['=','date_format(sbl.UPDATE_TIME,"%Y-%m-%d")',$param['UPDATETIME']]);
}
$list = $query->asArray()->all();
foreach($list as $listKey=>$listValue){
......
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