Communication amend test.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package net.gepafin.tendermanagement.service.impl;
|
||||
|
||||
import net.gepafin.tendermanagement.dao.CommunicationAmendmentDao;
|
||||
import net.gepafin.tendermanagement.entities.CommunicationAmendmentEntity;
|
||||
import net.gepafin.tendermanagement.model.request.CommunicationRequestBean;
|
||||
import net.gepafin.tendermanagement.model.response.CommunicationResponseBean;
|
||||
import net.gepafin.tendermanagement.service.CommunicationAmendmentService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
@Service
|
||||
public class CommunicationAmendmentServiceImpl implements CommunicationAmendmentService {
|
||||
|
||||
@Autowired
|
||||
CommunicationAmendmentDao communicationAmendmentDao;
|
||||
|
||||
@Override
|
||||
public CommunicationResponseBean addCommentToAmendmentRequest(CommunicationRequestBean communicationRequestBean) {
|
||||
return communicationAmendmentDao.addCommentToAmendmentRequest(communicationRequestBean);
|
||||
}
|
||||
@Override
|
||||
public String deleteCommunicationAmendmentComment(Long amendmentId, Long commentId) {
|
||||
|
||||
return communicationAmendmentDao.deleteCommunicationAmendmentComment(amendmentId, commentId);
|
||||
}
|
||||
@Override
|
||||
public CommunicationResponseBean updateCommunicationAmendment(CommunicationRequestBean communicationRequestBean) {
|
||||
|
||||
return communicationAmendmentDao.updateCommunicationAmendment(communicationRequestBean);
|
||||
}
|
||||
@Override
|
||||
public CommunicationResponseBean getAmendmentComments(Long id, Long commentId) {
|
||||
|
||||
return communicationAmendmentDao.getAmendmentComments(id, commentId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user