Add few APIs related to call and Update Responses for Call Controller

This commit is contained in:
harish
2024-08-27 16:55:50 +05:30
parent 157168a59e
commit 21fc9a4b91
17 changed files with 136 additions and 36 deletions

View File

@@ -8,6 +8,7 @@ import net.gepafin.tendermanagement.entities.RoleEntity;
import net.gepafin.tendermanagement.model.request.CreateCallRequestStep1;
import net.gepafin.tendermanagement.model.request.CreateCallRequestStep2;
import net.gepafin.tendermanagement.model.request.UpdateCallRequestStep1;
import net.gepafin.tendermanagement.model.response.CallDetailsResponseBean;
import net.gepafin.tendermanagement.model.response.CreateCallResponseBean;
import net.gepafin.tendermanagement.model.response.RoleResponseBean;
import net.gepafin.tendermanagement.service.CallService;
@@ -47,10 +48,10 @@ public class CallServiceImpl implements CallService {
return callDao.updateCallStep1(callId, updateCallRequest, Long.parseLong(userInfo.get("userId").toString()));
}
@Override
public CallEntity getCallById(Long callId) {
public CreateCallResponseBean getCallById(Long callId) {
return callDao.getCallById(callId);
}
public List<CreateCallResponseBean> getAllCalls() {
public List<CallDetailsResponseBean> getAllCalls() {
return callDao.getAllCalls();
}