花名册台账字段展示BUG修复

pull/215/head
dxfeng 2 years ago
parent a288ebd311
commit b3982dff2e

@ -23,11 +23,9 @@ public class HrmResourceTransMethod {
User user = new User(); User user = new User();
user.setUid(1); user.setUid(1);
try { try {
if (hfm.isBaseField(fieldName)) { if (hfm.isBaseField(fieldName) && "jobactivity".equals(fieldName)) {
if ("jobactivity".equals(fieldName)) {
hrmFieldConf.put("type", 282); hrmFieldConf.put("type", 282);
} }
}
return hfm.getFieldvalue(null, user, null, hrmFieldConf.getString("dmlurl"), hrmFieldConf.getInt("id"), hrmFieldConf.getInt("fieldhtmltype"), hrmFieldConf.getInt("type"), id, 0, fieldName); return hfm.getFieldvalue(null, user, null, hrmFieldConf.getString("dmlurl"), hrmFieldConf.getInt("id"), hrmFieldConf.getInt("fieldhtmltype"), hrmFieldConf.getInt("type"), id, 0, fieldName);
} catch (Exception e) { } catch (Exception e) {
return ""; return "";

Loading…
Cancel
Save