|
@@ -354,7 +354,7 @@ class CmsContentTemplateSetRepository {
|
|
|
|
|
|
public function getTemplate($cityId)
|
|
public function getTemplate($cityId)
|
|
{
|
|
{
|
|
- return $this->cmsContentTemplate->select('id','title','apply_type')->where(['city_id'=>$cityId])->orderBy('apply_type','asc')->get();
|
|
|
|
|
|
+ return $this->cmsContentTemplate->select('id','title','apply_type')->where(['city_id'=>$cityId])->where('deleted_at', null)->orderBy('apply_type','asc')->get();
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|