Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
0f7dc1d0
Commit
0f7dc1d0
authored
Oct 16, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ziliaoxiazai
parent
5d5996fb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
CommonController.java
...mos/boot/module/hygf/biz/controller/CommonController.java
+7
-6
CommonServiceImpl.java
.../boot/module/hygf/biz/service/impl/CommonServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/CommonController.java
View file @
0f7dc1d0
...
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.hygf.biz.controller;
import
com.google.common.net.HttpHeaders
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.CommerceInfoDto
;
import
com.yeejoin.amos.boot.module.hygf.api.util.CommonResponseNewUtil
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.CommonServiceImpl
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.FinancingInfoServiceImpl
;
import
io.swagger.annotations.Api
;
...
...
@@ -45,18 +46,18 @@ public class CommonController {
@GetMapping
(
value
=
"/downInformation"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"资料下载"
,
notes
=
"资料下载"
)
public
void
downList
(
HttpServletResponse
response
,
@RequestParam
(
required
=
false
)
String
surveyInformationId
,
@RequestParam
(
required
=
false
)
String
peasantHouseholdId
,
public
ResponseModel
downList
(
HttpServletResponse
response
,
@RequestParam
(
required
=
false
)
String
surveyInformationId
,
@RequestParam
(
required
=
false
)
List
<
String
>
peasantHouseholdIds
,
@RequestParam
(
required
=
false
)
String
processInstanceId
)
throws
IOException
{
// 设置响应头
response
.
setContentType
(
"application/zip"
);
commonService
.
downZiliao
(
surveyInformationId
,
peasantHouseholdId
,
processInstanceId
,
response
);
commonService
.
downZiliao
(
surveyInformationId
,
peasantHouseholdId
s
,
processInstanceId
,
response
);
return
CommonResponseNewUtil
.
success
();
}
/**
* 设备信息下载
*
...
...
@@ -65,9 +66,9 @@ public class CommonController {
@GetMapping
(
value
=
"/getSchedule"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"资料下载进度获取"
,
notes
=
"资料下载进度获取"
)
public
Object
getSchedule
(
String
peasantHouseholdId
)
{
public
ResponseModel
<
Object
>
getSchedule
(
String
peasantHouseholdId
)
{
return
commonService
.
getSchedule
(
peasantHouseholdId
);
return
ResponseHelper
.
buildResponse
(
commonService
.
getSchedule
(
peasantHouseholdId
)
);
}
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/CommonServiceImpl.java
View file @
0f7dc1d0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment