Add Checkin

This commit is contained in:
aditya.siregar
2024-08-13 23:09:05 +07:00
parent 4c8999a3cf
commit e544ef8f71
18 changed files with 362 additions and 101 deletions
+1
View File
@@ -93,6 +93,7 @@ func (r *SiteRepository) GetAll(ctx context.Context, req entity.SiteSearch) (ent
query := r.db
query = query.Where("deleted_at IS NULL")
query = query.Where("status is ?", "Active")
if req.Search != "" {
query = query.Where("name ILIKE ?", "%"+req.Search+"%")