|
@@ -10,7 +10,6 @@ import io.swagger.annotations.*;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
|
|
@@ -53,10 +52,10 @@ public class CostDepartmentProfitController {
|
|
|
*/
|
|
|
@ApiOperation("科室损益计算输出")
|
|
|
@PostMapping("/getDepartProfitReport")
|
|
|
- public Result getDepartProfitReport(@RequestParam String date,@RequestParam Integer reportType, HttpServletResponse response) {
|
|
|
+ public Result getDepartProfitReport(@RequestParam String date,@RequestParam Integer reportType) {
|
|
|
try {
|
|
|
Long hospId = UserContext.getHospId();
|
|
|
- costDepartmentProfitService.getDepartProfitReport(date,hospId,response,reportType);
|
|
|
+ costDepartmentProfitService.getDepartProfitReport(date,hospId,reportType);
|
|
|
} catch (Exception e) {
|
|
|
throw new CostException(500,"生成错误");
|
|
|
}
|