Commit 3649c053 authored by 竹天卫's avatar 竹天卫

扫码获取样品信息5

parent 8e63a73a
...@@ -170,9 +170,8 @@ public class SampleController { ...@@ -170,9 +170,8 @@ public class SampleController {
SampleVo sampleVo = sampleService.getDetail(Integer.valueOf(sampleId)).getData(); SampleVo sampleVo = sampleService.getDetail(Integer.valueOf(sampleId)).getData();
String content = ""; String content = "";
if(sampleVo != null){ if(sampleVo != null){
String sampleName = "<strong>样品名称:"+( sampleVo.getName()!= null?sampleVo.getName():"") +"</strong> \n "; //todo 样品名称设置加粗
// Font f1= new Font("宋体",Font.BOLD,20); String sampleName = "样品名称:"+( sampleVo.getName()!= null?sampleVo.getName():"") +" \n ";
content = sampleName+ content = sampleName+
"本所编号:"+( sampleVo.getCementCode()!= null?sampleVo.getCementCode():"") +" \n "+ "本所编号:"+( sampleVo.getCementCode()!= null?sampleVo.getCementCode():"") +" \n "+
"项目编号:"+( sampleVo.getProjectCode()!= null?sampleVo.getProjectCode():"") +" \n "+ "项目编号:"+( sampleVo.getProjectCode()!= null?sampleVo.getProjectCode():"") +" \n "+
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment