Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat search questioning #91

Merged
merged 17 commits into from
Nov 26, 2024
Merged

Feat search questioning #91

merged 17 commits into from
Nov 26, 2024

Conversation

BettyB979
Copy link
Contributor

No description provided.

@BettyB979 BettyB979 marked this pull request as ready for review November 18, 2024 12:32

SurveyUnit surveyUnit = surveyUnitService.findbyId(id);
SurveyUnitComment surveyUnitComment = convertToEntity(surveyUnitCommentDto);
SurveyUnitComment surveyUnitComment = surveyUnitCommentService.convertToEntity(surveyUnitCommentDto);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe the service which converts to entity ? controller only needs to control input data


Set<Questioning> findBySurveyUnitIdSu(String idSu);

Page<Questioning> findAll(Pageable pageable);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a findAll method if partial data is returned ?


@Override
public void afterPropertiesSet() {
eventOrderCache = eventOrderService.findAll().stream()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could cause problems if event orders are updated in db


QuestioningComment saveQuestioningComment(QuestioningComment questioningComment);

QuestioningComment convertToEntity(QuestioningCommentInputDto questioningCommentDto);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convertToEntity private ?


QuestioningCommunicationDto convertToDto(QuestioningCommunication questioningCommunication) ;

QuestioningCommunication convertToEntity(QuestioningCommunicationDto questioningCommunicationDto) throws ParseException;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here ?

@BettyB979 BettyB979 merged commit f119858 into develop Nov 26, 2024
7 checks passed
@BettyB979 BettyB979 deleted the feat_search_questioning branch November 26, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants