|
|
|
@ -239,4 +239,24 @@ public class YnExamineeServiceImpl implements IYnExamineeService
|
|
|
|
|
return ynExamineeMapper.deleteYnExaminee(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<YnExaminee> selectYnExamineeListlo(YnExaminee ynExaminee) { |
|
|
|
|
List<YnExaminee> ynExaminees = ynExamineeMapper.selectYnExamineeList(ynExaminee); |
|
|
|
|
for (YnExaminee examinee : ynExaminees) { |
|
|
|
|
//单位信息
|
|
|
|
|
String unit = examinee.getUnit(); |
|
|
|
|
//岗位信息
|
|
|
|
|
String stationName = examinee.getStationName(); |
|
|
|
|
if (examinee.getUnit().indexOf("-") != -1){ |
|
|
|
|
String substring = unit.substring(0, unit.indexOf("-")); |
|
|
|
|
stationName =unit.substring(substring.length()+1,unit.length()); |
|
|
|
|
unit= substring; |
|
|
|
|
} |
|
|
|
|
examinee.setUnit(unit); |
|
|
|
|
examinee.setStationName(stationName); |
|
|
|
|
} |
|
|
|
|
return ynExaminees; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|