|
|
@@ -101,7 +101,9 @@ public class YongHService {
|
|
|
Map<String,Object> xmlData = new HashMap<>();
|
|
|
Map<String,Object> info = new HashMap<>();
|
|
|
Map<String,Object> user = new HashMap<>();
|
|
|
- String name = PinyinUtils.getCustomPinyin(employee.getEm_name());
|
|
|
+ String pinin = PinyinUtils.getCustomPinyin(employee.getEm_name());
|
|
|
+ String name= baseDao.getJdbcTemplate()
|
|
|
+ .queryForObject("select GET_4A_ID('"+employee.getEm_code()+"','"+pinin+"','YONGHONG') from dual", String.class);
|
|
|
if(StringUtil.hasText(employee.getEm_yonghongid())){
|
|
|
name=employee.getEm_yonghongid();
|
|
|
}
|