Merge pull request '根据职等职级字段,补充人员信息' (#102) from feature/dxf into develop

Reviewed-on: http://221.226.25.34:3000/liang.cheng/weaver-hrm-organization/pulls/102
This commit is contained in:
dxfeng 2022-12-16 14:25:26 +08:00
commit 70f0cfcc9c
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ public class JclOrgServiceImpl extends Service implements JclOrgService {
if (rs.next()) {
zdzjFieldValue = rs.getString(zdzjFieldName);
}
// 职等职级为空时不处理
if (StringUtils.isBlank(zdzjFieldValue)) {
return;
}
sql = "select xlid, zjid, zdid from v_jcl_zdzjs where fid='" + zdzjFieldValue.substring(zdzjFieldValue.indexOf("_") + 1) + "'";
rs.execute(sql);
if (rs.next()) {