|
|
|
@ -154,9 +154,10 @@ public class HrmResourceServiceImpl extends Service implements HrmResourceServic
|
|
|
|
|
if (StringUtils.isNotBlank(columns)) {
|
|
|
|
|
String[] tmp = columns.split(",");
|
|
|
|
|
for (int i = 0; i < tmp.length; i++) {
|
|
|
|
|
String scopeId = tmp[i].split("_")[0];
|
|
|
|
|
String fieldName = tmp[i].substring(tmp[i].lastIndexOf("_") + 1);
|
|
|
|
|
WeaTableColumn weaTableColumn = new WeaTableColumn();
|
|
|
|
|
weaTableColumn.setText(getHrmResourceMapper().queryLabelName(fieldName));
|
|
|
|
|
weaTableColumn.setText(getHrmResourceMapper().queryLabelName(fieldName, scopeId));
|
|
|
|
|
weaTableColumn.setColumn(fieldName);
|
|
|
|
|
weaTableColumn.setDisplay(WeaBoolAttr.TRUE);
|
|
|
|
|
weaTableColumn.setTransmethod("com.engine.organization.transmethod.HrmResourceTransMethod.getFieldTrueValue");
|
|
|
|
|