Commit 3e359ddb authored by Md Suleman's avatar Md Suleman

Sub status sevice changes

parent a7e97f5b
......@@ -119,7 +119,7 @@ public class EmployeeService implements IEmployeeService {
//update substatus
if(employeeReq.getEmpSubStatus()!=null) {
HashMap<String, Object> substatus = (LinkedHashMap) employeeReq.getEmpSubStatus();
if (substatus.keySet().contains("subStatus")) {
if (substatus.keySet().contains("subStatus") && substatus.get("subStatus") != null) {
EmployeeSubStatus latestSubStatus = new EmployeeSubStatus();
latestSubStatus.setEmployeeID(substatus.get("employeeID").toString());
latestSubStatus.setSubStatus(substatus.get("subStatus").toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment