Skip to content

Commit

Permalink
ats4.root.CSV
Browse files Browse the repository at this point in the history
  • Loading branch information
JG1VPP committed Jul 14, 2024
1 parent 5bb552d commit ffab790
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 29 deletions.
5 changes: 2 additions & 3 deletions app/controllers/controllers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package controllers
import java.util.UUID
import javax.inject.{Inject, Singleton}

import ats4.root._
import ats4.root.{ATS, CSV}

import scala.concurrent.{Future, ExecutionContext => EC}
import scala.concurrent.duration._
Expand All @@ -23,7 +23,6 @@ import injects.Injections
import models._
import tasks._
import views.html.pages
import views.txt.{pages => text}

import akka.actor.{ActorSystem, Props}
import akka.stream.{Materializer => Mat}
Expand Down Expand Up @@ -154,7 +153,7 @@ class Admin @Inject()(implicit in: Injections) extends IC {
*
* @return 集計結果のページ
*/
def excel = Action(Ok(text.excel().body.trim))
def excel = Action(Ok(new CSV(in.ats, in.rule).dump()))

/**
* 指定された呼出符号の参加局の専用の書類提出のページのビューを返します。
Expand Down
25 changes: 0 additions & 25 deletions app/views/pages/excel.scala.txt

This file was deleted.

2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ libraryDependencies ++= Seq(
filters,
guice,
jdbc,
"qxsl" % "qxsl" % "0.1.291",
"qxsl" % "qxsl" % "0.1.292",
"org.jruby" % "jruby-core" % "9.+",
"com.h2database" % "h2" % "1.4.+",
"com.typesafe.play" %% "play-mailer" % "7.0.+",
Expand Down

0 comments on commit ffab790

Please sign in to comment.