Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-form
Commits
cd453d69
Commit
cd453d69
authored
2 years ago
by
shishir suman
Browse files
Options
Download
Patches
Plain Diff
changes for csv download
parent
ef15e4d2
master
cvs_download
delete-form
1 merge request
!9
Cvs download
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/main/java/com/tarento/formservice/controllers/FormsController.java
+1
-2
.../com/tarento/formservice/controllers/FormsController.java
src/main/java/com/tarento/formservice/service/FormsService.java
+1
-1
...in/java/com/tarento/formservice/service/FormsService.java
src/main/java/com/tarento/formservice/service/impl/FormsServiceImpl.java
+1212
-1085
...om/tarento/formservice/service/impl/FormsServiceImpl.java
with
1214 additions
and
1088 deletions
+1214
-1088
src/main/java/com/tarento/formservice/controllers/FormsController.java
+
1
−
2
View file @
cd453d69
...
...
@@ -164,12 +164,11 @@ public class FormsController {
public
String
getInstituteData
(
@RequestHeader
(
value
=
Constants
.
Parameters
.
X_USER_INFO
,
required
=
false
)
String
xUserInfo
,
@RequestBody
InstituteDownloadRequestDto
instituteDownloadRequestDto
)
throws
JsonProcessingException
{
List
<
Map
<
String
,
Object
>>
responseData
=
new
ArrayList
<>();
UserInfo
userInfo
=
null
;
if
(
StringUtils
.
isNotBlank
(
xUserInfo
))
{
userInfo
=
new
Gson
().
fromJson
(
xUserInfo
,
UserInfo
.
class
);
}
responseData
=
formsService
.
getInstitutesData
(
userInfo
,
instituteDownloadRequestDto
);
String
responseData
=
formsService
.
getInstitutesData
(
userInfo
,
instituteDownloadRequestDto
);
if
(
responseData
!=
null
)
{
return
ResponseGenerator
.
successResponse
(
responseData
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/tarento/formservice/service/FormsService.java
+
1
−
1
View file @
cd453d69
...
...
@@ -35,7 +35,7 @@ public interface FormsService {
List
<
Map
<
String
,
Object
>>
getAllPlainForms
();
List
<
Map
<
String
,
Object
>>
getInstitutesData
(
UserInfo
userInfo
,
InstituteDownloadRequestDto
instituteDownloadRequestDto
);
String
getInstitutesData
(
UserInfo
userInfo
,
InstituteDownloadRequestDto
instituteDownloadRequestDto
);
KeyValueList
getApplicationsStatusCount
(
UserInfo
userInfo
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/tarento/formservice/service/impl/FormsServiceImpl.java
+
1212
−
1085
View file @
cd453d69
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets