Add few APIs related to call and Update Responses for Call Controller
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user