Commit e062227c authored by hangjun83's avatar hangjun83

财务开票模块更新

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