提交 92000302 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 45fd9d1d
......@@ -26,6 +26,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
......@@ -218,9 +219,24 @@ public class SubjectController {
String opinion = map.get("Opinion")+"";
String o = DelTagsUtils.getTextFromHtml(opinion);
map.put("Opinion",o);
String features = map.get("features")+"";
String features = map.get("Features")+"";
String f = DelTagsUtils.getTextFromHtml(features);
map.put("features",f);
String e = map.get("Education") + "";
// 0: "学士" 1: "硕士" 2: "博士" 3: "博士后" 4: "其他"
if (StringUtils.isNotEmpty(e)){
if ("0".equals(e)){
e = "学士";
}else if ("1".equals(e)){
e = "硕士";
}else if ("2".equals(e)){
e = "博士";
}else if ("3".equals(e)){
e = "博士后";
}else {
e = "其他";
}
}
excelWriter.fill(map, writeSheet);
excelWriter.finish();
outputStream.flush();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论