Commit 8c92116e authored by 张晓林's avatar 张晓林

证照列表修改

parent 4bb9368f
......@@ -59,7 +59,7 @@ class BranchLicenceController extends BaseController{
if(isset($param['LICENCEEXPIRYDATE']) && !empty($param['LICENCEEXPIRYDATE']) && $param['LICENCEEXPIRYDATE'] == 1){
$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']) && $param['LICENCEEXPIRYDATE'] == 1){
if(isset($param['UPDATETIME']) && !empty($param['UPDATETIME'])){
$query->andWhere(['=','sbl.UPDATE_TIME',$param['UPDATETIME']]);
}
$list = $query->asArray()->all();
......
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