|
@@ -22,7 +22,6 @@ class FollowUpRecordService extends Service
|
|
$model->data_id = $data['data_id'] ?? 0;
|
|
$model->data_id = $data['data_id'] ?? 0;
|
|
$model->data_title = $data['data_title'] ?? '';
|
|
$model->data_title = $data['data_title'] ?? '';
|
|
$model->type = $data['type'] ?? '';
|
|
$model->type = $data['type'] ?? '';
|
|
- $model->basic_type_id = $data['basic_type_id'] ;
|
|
|
|
$model->visit_time = $data['visit_time'];
|
|
$model->visit_time = $data['visit_time'];
|
|
$model->content = $data['content'];
|
|
$model->content = $data['content'];
|
|
$model->is_remind = $data['is_remind'] ?? 0;
|
|
$model->is_remind = $data['is_remind'] ?? 0;
|
|
@@ -68,7 +67,6 @@ class FollowUpRecordService extends Service
|
|
$model->data_id = $data['data_id'] ?? 0;
|
|
$model->data_id = $data['data_id'] ?? 0;
|
|
$model->data_title = $data['data_title'] ?? '';
|
|
$model->data_title = $data['data_title'] ?? '';
|
|
$model->type = $data['type'] ?? '';
|
|
$model->type = $data['type'] ?? '';
|
|
- $model->basic_type_id = $data['basic_type_id'] ;
|
|
|
|
$model->visit_time = $data['visit_time'];
|
|
$model->visit_time = $data['visit_time'];
|
|
$model->content = $data['content'];
|
|
$model->content = $data['content'];
|
|
$model->is_remind = $data['is_remind'] ?? 0;
|
|
$model->is_remind = $data['is_remind'] ?? 0;
|
|
@@ -127,7 +125,7 @@ class FollowUpRecordService extends Service
|
|
|
|
|
|
public function followUpRecordList($data,$user){
|
|
public function followUpRecordList($data,$user){
|
|
$model = FollowUpRecord::where('del_time',0)
|
|
$model = FollowUpRecord::where('del_time',0)
|
|
- ->select('data_id','data_title','basic_type_id','visit_time','id','content','is_remind','crt_time','crt_id','type','level')
|
|
|
|
|
|
+ ->select('data_id','data_title','visit_time','id','content','is_remind','crt_time','crt_id','type','level')
|
|
->orderBy('id','desc');
|
|
->orderBy('id','desc');
|
|
|
|
|
|
if(! empty($data['data_id'])) $model->where('data_id',$data['data_id']);
|
|
if(! empty($data['data_id'])) $model->where('data_id',$data['data_id']);
|