|
|
@ -326,6 +326,11 @@ public class DcShiftsServiceImpl implements IDcShiftsService |
|
|
|
throw new ServiceException(msg); |
|
|
|
} |
|
|
|
Long stationId =(Long) stationIdMap.get("id"); |
|
|
|
List<HashMap<String, Object>> mapList = dcShiftsMapper.selectEmp(stationId, name);//查询人员配置中是否有此人员配置的对应机构信息
|
|
|
|
if (mapList==null||mapList.size()==0){ |
|
|
|
msg = "没有查询到" + name + "对应的"+organizationName+"驻点信息,请查看输入是否正确以及人员信息中是否配置正确"; |
|
|
|
throw new ServiceException(msg); |
|
|
|
} |
|
|
|
dcShifts.setStation(stationId);//驻点id
|
|
|
|
Long id = (Long) map.get("id"); |
|
|
|
dcShifts.setEmployeesId(id); |
|
|
|