|
|
@@ -28,6 +28,9 @@ class Issue extends BaseController
|
|
|
$date = request()->input('date', null);
|
|
|
if (!$date) $date = date("Y-m-d");
|
|
|
$list = CaoHistory::where('date', $date)->get();
|
|
|
+ if(count($list)>0)$list = $list[0];
|
|
|
+
|
|
|
+
|
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error($e->validator->errors()->first());
|
|
|
} catch (Exception $e) {
|