|
@@ -734,7 +734,7 @@ class ApiController extends BaseController
|
|
return self::errorResponse(ApiEnum::STATUS_CODE_EMPTY);
|
|
return self::errorResponse(ApiEnum::STATUS_CODE_EMPTY);
|
|
}
|
|
}
|
|
|
|
|
|
- $list = DB::connection('mysql_fwe10')->table('uf_zhxx_qlcxjjl')->where('lrsj',$date)->where('xjdw',$depart)->where('lrr',$lrr)->orderBy('create_time')->get();
|
|
|
|
|
|
+ $list = DB::connection('mysql_fwe10')->table('uf_zhxx_qlcxjjl')->where('lrsj','like','%'.$date.'%')->where('xjdw',$depart)->where('lrr',$lrr)->orderBy('create_time')->get();
|
|
|
|
|
|
if(count($list) > 0){
|
|
if(count($list) > 0){
|
|
for($i=0;$i<count($list);$i++){
|
|
for($i=0;$i<count($list);$i++){
|