多语言支持
This commit is contained in:
parent
0c068a81f0
commit
78c94a84d6
|
|
@ -35,16 +35,16 @@ public class EmployeeTableVO {
|
|||
//@OrganizationTableColumn(column = "id", display = false)
|
||||
private Long id;
|
||||
|
||||
@OrganizationTableColumn(text = "姓名", width = "25%", column = "lastname")
|
||||
@OrganizationTableColumn(labelId = 547329, text = "姓名", width = "25%", column = "lastname")
|
||||
private String lastname;
|
||||
|
||||
@OrganizationTableColumn(text = "性别", width = "25%", column = "sex",transmethod = "com.engine.organization.transmethod.JobTransMethod.getSexName")
|
||||
@OrganizationTableColumn(labelId = 547330, text = "性别", width = "25%", column = "sex",transmethod = "com.engine.organization.transmethod.JobTransMethod.getSexName")
|
||||
private String sex;
|
||||
|
||||
@OrganizationTableColumn(text = "手机", width = "25%", column = "mobile")
|
||||
@OrganizationTableColumn(labelId = 547334, text = "手机", width = "25%", column = "mobile")
|
||||
private String mobile;
|
||||
|
||||
@OrganizationTableColumn(text = "入职日期", width = "25%", column = "companystartdate")
|
||||
@OrganizationTableColumn(labelId = 547669, text = "入职日期", width = "25%", column = "companystartdate")
|
||||
private String companystartdate;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import net.coobird.thumbnailator.Thumbnails;
|
|||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.poi.util.IOUtils;
|
||||
import weaver.file.ImageFileManager;
|
||||
import weaver.general.BaseBean;
|
||||
import weaver.general.GCONST;
|
||||
import weaver.general.Util;
|
||||
|
||||
|
|
@ -78,8 +79,10 @@ public class PersonnelResumePO {
|
|||
imageStr = "data:image/" + manager.getImageFileType() + ";base64," + Base64.getEncoder().encodeToString(IOUtils.toByteArray(fileInputStream));
|
||||
// 删除文件
|
||||
f.delete();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (Exception e) {
|
||||
new BaseBean().writeLog(e);
|
||||
//throw new RuntimeException(e);
|
||||
|
||||
}
|
||||
return imageStr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -804,7 +804,7 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
|
|||
if (null != resourcePO.getDepartmentid()) {
|
||||
sql += " and t.ec_department = '" + resourcePO.getDepartmentid() + "'";
|
||||
}
|
||||
if (null != resourcePO.getDepartmentid()) {
|
||||
if (null == resourcePO.getDepartmentid()) {
|
||||
sql += " and t.ec_department is null";
|
||||
}
|
||||
if (null != resourcePO.getJobtitle()) {
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ public class StaffServiceImpl extends Service implements StaffService {
|
|||
|
||||
}
|
||||
|
||||
addGroups.add(new SearchConditionGroup("基本信息", true, selectItems));
|
||||
addGroups.add(new SearchConditionGroup(SystemEnv.getHtmlLabelName(547175,user.getLanguage()), true, selectItems));
|
||||
apiDatas.put("condition", addGroups);
|
||||
return apiDatas;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue