Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ejercicio2-framework-back
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
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
Josue
ejercicio2-framework-back
Commits
7e6d9ae6
Commit
7e6d9ae6
authored
Sep 15, 2020
by
Sebastian Chicoma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correccion
parent
ba5a65ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
AgentService.java
src/main/java/com/bytesw/bytebot/service/AgentService.java
+4
-2
No files found.
src/main/java/com/bytesw/bytebot/service/AgentService.java
View file @
7e6d9ae6
...
...
@@ -179,7 +179,6 @@ public class AgentService extends CustomPaginationService<Agent> {
if
(
frequentQuestionBD
==
null
)
{
frequentQuestionBD
=
new
FrequentQuestion
();
frequentQuestionBD
.
setStatus
(
FrequentQuestionStatusEnum
.
PENDING_SYNCHRONIZED
);
frequentQuestionBD
.
setUploadDate
(
LocalDateTime
.
now
());
frequentQuestionBD
.
setUuid
(
frequentQuestionBean
.
getUuid
());
changeToPendingSynchronized
=
true
;
...
...
@@ -354,9 +353,12 @@ public class AgentService extends CustomPaginationService<Agent> {
frequentQuestionBean
.
setDescription
(
frequentQuestion
.
getDescription
());
frequentQuestionBean
.
setUser
(
frequentQuestion
.
getUser
());
frequentQuestionBean
.
setFilename
(
frequentQuestion
.
getFilename
());
frequentQuestionBean
.
setUploadDate
(
frequentQuestion
.
getUploadDate
().
format
(
formatter
));
frequentQuestionBean
.
setStatus
(
frequentQuestion
.
getStatus
().
getName
());
if
(
frequentQuestion
.
getUploadDate
()
!=
null
)
{
frequentQuestionBean
.
setUploadDate
(
frequentQuestion
.
getUploadDate
().
format
(
formatter
));
}
bean
.
getFrequentQuestions
().
add
(
frequentQuestionBean
);
}
...
...
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