Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IncomeCalculator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
neel
IncomeCalculator
Commits
7d475aea
Commit
7d475aea
authored
Apr 28, 2020
by
neel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handling try catch and commenting changes
parent
ae788edd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
1 deletions
+15
-1
src/main/java/com/iRecruit/modules/auth/controller/FycMappingController.java
+3
-1
src/main/java/com/iRecruit/modules/auth/controller/L1slabsMappingController.java
+2
-0
src/main/java/com/iRecruit/modules/auth/controller/L2slabsMappingController.java
+4
-0
src/main/java/com/iRecruit/modules/auth/controller/MDBMappingController.java
+3
-0
src/main/java/com/iRecruit/modules/auth/controller/MpbMappingController.java
+3
-0
src/main/java/com/iRecruit/modules/auth/service/impl/LeaderCalcServiceImpl.java
+0
-0
No files found.
src/main/java/com/iRecruit/modules/auth/controller/FycMappingController.java
View file @
7d475aea
...
@@ -46,6 +46,8 @@ public class FycMappingController {
...
@@ -46,6 +46,8 @@ public class FycMappingController {
@PostMapping
(
"/fycmapping/get"
)
@PostMapping
(
"/fycmapping/get"
)
@ApiOperation
(
"Get all fyc mapping list"
)
@ApiOperation
(
"Get all fyc mapping list"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get fyc"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get fyc"
)
//Neel – 20-Apr-2020 – Tata - Fyc mapping – Added function for fetch all data of fyc from table
public
ResponseEntity
<?>
getAllFycMappings
(){
public
ResponseEntity
<?>
getAllFycMappings
(){
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"Fyc List"
,
fycMappingService
.
findAll
().
stream
().
map
(
FycMapping
->
new
fycDto
(
FycMapping
))),
HttpStatus
.
OK
);
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"Fyc List"
,
fycMappingService
.
findAll
().
stream
().
map
(
FycMapping
->
new
fycDto
(
FycMapping
))),
HttpStatus
.
OK
);
}
}
...
@@ -74,7 +76,7 @@ public class FycMappingController {
...
@@ -74,7 +76,7 @@ public class FycMappingController {
@PostMapping
(
"/fycmapping/update"
)
@PostMapping
(
"/fycmapping/update"
)
@ApiOperation
(
"update fycmapping"
)
@ApiOperation
(
"update fycmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create fycmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create fycmapping"
)
public
ResponseEntity
<?>
updateFycmapping
(
@RequestBody
fycDto
fycMapping
)
{
public
ResponseEntity
<?>
updateFycmapping
(
@RequestBody
fycDto
fycMapping
)
{
//Neel – 20-Apr-2020 – Tata - Fyc mapping – Added function for Store data of fyc from table
System
.
out
.
println
(
"in fyc contrroler"
);
System
.
out
.
println
(
"in fyc contrroler"
);
System
.
out
.
println
(
"in fycmapping"
);
System
.
out
.
println
(
"in fycmapping"
);
FycMapping
fycupdate
=
null
;
FycMapping
fycupdate
=
null
;
...
...
src/main/java/com/iRecruit/modules/auth/controller/L1slabsMappingController.java
View file @
7d475aea
...
@@ -45,12 +45,14 @@ public class L1slabsMappingController {
...
@@ -45,12 +45,14 @@ public class L1slabsMappingController {
@PostMapping
(
"/l1salbsmapping/get"
)
@PostMapping
(
"/l1salbsmapping/get"
)
@ApiOperation
(
"Get all l1slabs mapping list"
)
@ApiOperation
(
"Get all l1slabs mapping list"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get l1slabs"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get l1slabs"
)
//Neel – 20-Apr-2020 – Tata - l1 slabs mapping – Added function for fetch all data of l1 slabs from table
public
ResponseEntity
<?>
getAllL1slabsMappings
(
){
public
ResponseEntity
<?>
getAllL1slabsMappings
(
){
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"l1 slabs List"
,
l1slabsMappingService
.
findAll
().
stream
().
map
(
L1slabsMapping
->
new
L1slabsDto
(
L1slabsMapping
))),
HttpStatus
.
OK
);
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"l1 slabs List"
,
l1slabsMappingService
.
findAll
().
stream
().
map
(
L1slabsMapping
->
new
L1slabsDto
(
L1slabsMapping
))),
HttpStatus
.
OK
);
}
}
@PostMapping
(
"/l1salbsmapping/create"
)
@PostMapping
(
"/l1salbsmapping/create"
)
@ApiOperation
(
"Create l1salbsmapping"
)
@ApiOperation
(
"Create l1salbsmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create l1salbsmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create l1salbsmapping"
)
//Neel – 20-Apr-2020 – Tata - l1 slabs mapping – Added function for store all data of l1 slabs table
public
ResponseEntity
<?>
createL1slabsmapping
(
@RequestBody
L1slabsDto
l1slabsmapping
)
{
public
ResponseEntity
<?>
createL1slabsmapping
(
@RequestBody
L1slabsDto
l1slabsmapping
)
{
System
.
out
.
println
(
"in l1salbsmapping contrroler"
);
System
.
out
.
println
(
"in l1salbsmapping contrroler"
);
System
.
out
.
println
(
"in l1salbsmapping"
);
System
.
out
.
println
(
"in l1salbsmapping"
);
...
...
src/main/java/com/iRecruit/modules/auth/controller/L2slabsMappingController.java
View file @
7d475aea
...
@@ -45,6 +45,8 @@ public class L2slabsMappingController {
...
@@ -45,6 +45,8 @@ public class L2slabsMappingController {
@PostMapping
(
"/l2salbsmapping/get"
)
@PostMapping
(
"/l2salbsmapping/get"
)
@ApiOperation
(
"Get all l2slabs mapping list"
)
@ApiOperation
(
"Get all l2slabs mapping list"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get l2slabs"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get l2slabs"
)
//Neel – 20-Apr-2020 – Tata - l2 slabs mapping – Added function for fetch all data of l2 slabs from table
public
ResponseEntity
<?>
getAllL1slabsMappings
(
){
public
ResponseEntity
<?>
getAllL1slabsMappings
(
){
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"l2 slabs List"
,
l2slabsMappingService
.
findAll
().
stream
().
map
(
L2slabsMapping
->
new
L2slabsDto
(
L2slabsMapping
))),
HttpStatus
.
OK
);
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"l2 slabs List"
,
l2slabsMappingService
.
findAll
().
stream
().
map
(
L2slabsMapping
->
new
L2slabsDto
(
L2slabsMapping
))),
HttpStatus
.
OK
);
}
}
...
@@ -52,6 +54,8 @@ public class L2slabsMappingController {
...
@@ -52,6 +54,8 @@ public class L2slabsMappingController {
@PostMapping
(
"/l2salbsmapping/create"
)
@PostMapping
(
"/l2salbsmapping/create"
)
@ApiOperation
(
"Create l2salbsmapping"
)
@ApiOperation
(
"Create l2salbsmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create l2salbsmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create l2salbsmapping"
)
//Neel – 20-Apr-2020 – Tata - l2 slabs mapping – Added function for store all data of l1 slabs table
public
ResponseEntity
<?>
createL1slabsmapping
(
@RequestBody
L2slabsDto
l2slabsmapping
)
{
public
ResponseEntity
<?>
createL1slabsmapping
(
@RequestBody
L2slabsDto
l2slabsmapping
)
{
System
.
out
.
println
(
"in l2salbsmapping contrroler"
);
System
.
out
.
println
(
"in l2salbsmapping contrroler"
);
System
.
out
.
println
(
"in l2salbsmapping"
);
System
.
out
.
println
(
"in l2salbsmapping"
);
...
...
src/main/java/com/iRecruit/modules/auth/controller/MDBMappingController.java
View file @
7d475aea
...
@@ -51,6 +51,8 @@ public class MDBMappingController {
...
@@ -51,6 +51,8 @@ public class MDBMappingController {
@PostMapping
(
"/mdbmapping/get"
)
@PostMapping
(
"/mdbmapping/get"
)
@ApiOperation
(
"Get all mdb mapping list"
)
@ApiOperation
(
"Get all mdb mapping list"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get mdb"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get mdb"
)
//Neel – 20-Apr-2020 – Tata - mdb mapping – Added function for fetch all data of mdb mapping table
public
ResponseEntity
<?>
getAllMDBMappings
(
){
public
ResponseEntity
<?>
getAllMDBMappings
(
){
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"MDB List"
,
mdbMappingService
.
findAll
().
stream
().
map
(
MDBMapping
->
new
MDBDto
(
MDBMapping
))),
HttpStatus
.
OK
);
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"MDB List"
,
mdbMappingService
.
findAll
().
stream
().
map
(
MDBMapping
->
new
MDBDto
(
MDBMapping
))),
HttpStatus
.
OK
);
}
}
...
@@ -58,6 +60,7 @@ public class MDBMappingController {
...
@@ -58,6 +60,7 @@ public class MDBMappingController {
@PostMapping
(
"/mdbmapping/create"
)
@PostMapping
(
"/mdbmapping/create"
)
@ApiOperation
(
"Create mdbmapping"
)
@ApiOperation
(
"Create mdbmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create mdbmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create mdbmapping"
)
//Neel – 20-Apr-2020 – Tata - mdb mapping – Added function for storing all data of mdb mapping table
public
ResponseEntity
<?>
createmdbsmapping
(
@RequestBody
MDBDto
mdbmapping
)
{
public
ResponseEntity
<?>
createmdbsmapping
(
@RequestBody
MDBDto
mdbmapping
)
{
System
.
out
.
println
(
"in mdb contrroler"
);
System
.
out
.
println
(
"in mdb contrroler"
);
System
.
out
.
println
(
"in mdbmapping"
);
System
.
out
.
println
(
"in mdbmapping"
);
...
...
src/main/java/com/iRecruit/modules/auth/controller/MpbMappingController.java
View file @
7d475aea
...
@@ -45,12 +45,15 @@ public class MpbMappingController {
...
@@ -45,12 +45,15 @@ public class MpbMappingController {
@PostMapping
(
"/mpbmapping/get"
)
@PostMapping
(
"/mpbmapping/get"
)
@ApiOperation
(
"Get all mpb mapping list"
)
@ApiOperation
(
"Get all mpb mapping list"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get mpb"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Get mpb"
)
//Neel – 20-Apr-2020 – Tata - mpb mapping – Added function for storing all data of mpb mapping table
public
ResponseEntity
<?>
getAllMpbMappings
(
){
public
ResponseEntity
<?>
getAllMpbMappings
(
){
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"Mpb List"
,
mpbMappingService
.
findAll
().
stream
().
map
(
MpbMapping
->
new
mpbDto
(
MpbMapping
))),
HttpStatus
.
OK
);
return
new
ResponseEntity
(
new
ApiResponse
(
HttpStatus
.
OK
.
value
(),
true
,
"Mpb List"
,
mpbMappingService
.
findAll
().
stream
().
map
(
MpbMapping
->
new
mpbDto
(
MpbMapping
))),
HttpStatus
.
OK
);
}
}
@PostMapping
(
"/mpbmapping/create"
)
@PostMapping
(
"/mpbmapping/create"
)
@ApiOperation
(
"Create mpbmapping"
)
@ApiOperation
(
"Create mpbmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create mpbmapping"
)
@AuditLogs
(
isRequest
=
true
,
isResponse
=
true
,
service
=
"Create mpbmapping"
)
//Neel – 20-Apr-2020 – Tata - mdb mapping – Added function for storing all data of mdb mapping table
public
ResponseEntity
<?>
createMpbmapping
(
@RequestBody
mpbDto
mpbMapping
)
{
public
ResponseEntity
<?>
createMpbmapping
(
@RequestBody
mpbDto
mpbMapping
)
{
System
.
out
.
println
(
"in mpb contrroler"
);
System
.
out
.
println
(
"in mpb contrroler"
);
System
.
out
.
println
(
"in mpbmapping"
);
System
.
out
.
println
(
"in mpbmapping"
);
...
...
src/main/java/com/iRecruit/modules/auth/service/impl/LeaderCalcServiceImpl.java
View file @
7d475aea
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