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

This commit is contained in:
dxfeng 2023-08-30 11:29:59 +08:00
parent a288ebd311
commit b3982dff2e
1 changed files with 2 additions and 4 deletions

View File

@ -23,10 +23,8 @@ public class HrmResourceTransMethod {
User user = new User();
user.setUid(1);
try {
if (hfm.isBaseField(fieldName)) {
if ("jobactivity".equals(fieldName)) {
hrmFieldConf.put("type", 282);
}
if (hfm.isBaseField(fieldName) && "jobactivity".equals(fieldName)) {
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);
} catch (Exception e) {