Commit c74cd149 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent e062227c
...@@ -41,7 +41,7 @@ class InvoiceRecordRepositoryEloquent extends BaseRepository implements InvoiceR ...@@ -41,7 +41,7 @@ class InvoiceRecordRepositoryEloquent extends BaseRepository implements InvoiceR
$query = $query->whereIn($whereKey,$whereValue); $query = $query->whereIn($whereKey,$whereValue);
}else{ }else{
if(strtotime($whereValue) && strtotime($whereValue) > 0){ if(strtotime($whereValue) && strtotime($whereValue) > 0){
$query = $query->where($whereKey,'>=',$whereValue); $query = $query->whereDate($whereKey,'>=',$whereValue);
}else{ }else{
$query = $query->where($whereKey,$whereValue); $query = $query->where($whereKey,$whereValue);
} }
......
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