Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BackEnd-V2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joel Andres Molina Velez
BackEnd-V2
Commits
48c4785f
Commit
48c4785f
authored
Aug 22, 2023
by
Joel Andres Molina Velez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Se modifica el UzyTavEvalProyMapper
parent
7a8cfecb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
UzyTavEvalProyMapper.java
...lidadWS/Mapper/Components_Class/UzyTavEvalProyMapper.java
+9
-4
No files found.
src/main/java/ec/edu/espe/movilidad/MovilidadWS/Mapper/Components_Class/UzyTavEvalProyMapper.java
View file @
48c4785f
...
...
@@ -32,10 +32,15 @@ public class UzyTavEvalProyMapper {
ModelUzyTavEvalProy
entity
=
modelMapper
.
map
(
dto
,
ModelUzyTavEvalProy
.
class
);
Long
cabevalpID
=
dto
.
getUzytavcabevalp_id
();
Long
valorparID
=
dto
.
getUzytavaloruzytparametros_id
();
ModelUzyTavCabeValp
cabeval
=
entityManager
.
find
(
ModelUzyTavCabeValp
.
class
,
cabevalpID
);
ModelUzyTaValorPar
valorPar
=
entityManager
.
find
(
ModelUzyTaValorPar
.
class
,
valorparID
);
entity
.
setUzytavcabevalp
(
cabeval
);
entity
.
setUzytavalorpar
(
valorPar
);
if
(
cabevalpID
!=
null
){
ModelUzyTavCabeValp
cabeval
=
entityManager
.
find
(
ModelUzyTavCabeValp
.
class
,
cabevalpID
);
entity
.
setUzytavcabevalp
(
cabeval
);
}
if
(
valorparID
!=
null
){
ModelUzyTaValorPar
valorPar
=
entityManager
.
find
(
ModelUzyTaValorPar
.
class
,
valorparID
);
entity
.
setUzytavalorpar
(
valorPar
);
}
return
entity
;
}
...
...
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